kmip

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for kmip API

func (*Client) DeleteAPI24KMIP

func (a *Client) DeleteAPI24KMIP(params *DeleteAPI24KMIPParams) (*DeleteApi24KMIPOK, error)

DeleteAPI24KMIP deletes KMIP server object

Deletes KMIP server objects.

func (*Client) GetAPI24KMIP

func (a *Client) GetAPI24KMIP(params *GetAPI24KMIPParams) (*GetApi24KMIPOK, error)

GetAPI24KMIP lists KMIP server objects

Displays the list of KMIP server objects.

func (*Client) GetAPI24KMIPTest

func (a *Client) GetAPI24KMIPTest(params *GetAPI24KMIPTestParams) (*GetApi24KMIPTestOK, error)

GetAPI24KMIPTest lists KMIP connection tests

Displays communication data between a FlashArray and KMIP server.

func (*Client) PatchAPI24KMIP

func (a *Client) PatchAPI24KMIP(params *PatchAPI24KMIPParams) (*PatchApi24KMIPOK, error)

PatchAPI24KMIP modifies KMIP attributes

Modifies one or more attributes of KMIP server objects.

func (*Client) PostAPI24KMIP

func (a *Client) PostAPI24KMIP(params *PostAPI24KMIPParams) (*PostApi24KMIPOK, error)

PostAPI24KMIP creates KMIP server object

Creates KMIP server objects.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteAPI24KMIP(params *DeleteAPI24KMIPParams) (*DeleteApi24KMIPOK, error)

	GetAPI24KMIP(params *GetAPI24KMIPParams) (*GetApi24KMIPOK, error)

	GetAPI24KMIPTest(params *GetAPI24KMIPTestParams) (*GetApi24KMIPTestOK, error)

	PatchAPI24KMIP(params *PatchAPI24KMIPParams) (*PatchApi24KMIPOK, error)

	PostAPI24KMIP(params *PostAPI24KMIPParams) (*PostApi24KMIPOK, 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 kmip API client.

type DeleteAPI24KMIPParams

type DeleteAPI24KMIPParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*Names
	  Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.

	*/
	Names []string

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

DeleteAPI24KMIPParams contains all the parameters to send to the API endpoint for the delete API 24 KMIP operation typically these are written to a http.Request

func NewDeleteAPI24KMIPParams

func NewDeleteAPI24KMIPParams() *DeleteAPI24KMIPParams

NewDeleteAPI24KMIPParams creates a new DeleteAPI24KMIPParams object with the default values initialized.

func NewDeleteAPI24KMIPParamsWithContext

func NewDeleteAPI24KMIPParamsWithContext(ctx context.Context) *DeleteAPI24KMIPParams

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

func NewDeleteAPI24KMIPParamsWithHTTPClient

func NewDeleteAPI24KMIPParamsWithHTTPClient(client *http.Client) *DeleteAPI24KMIPParams

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

func NewDeleteAPI24KMIPParamsWithTimeout

func NewDeleteAPI24KMIPParamsWithTimeout(timeout time.Duration) *DeleteAPI24KMIPParams

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

func (*DeleteAPI24KMIPParams) SetAuthorization

func (o *DeleteAPI24KMIPParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the delete API 24 KMIP params

func (*DeleteAPI24KMIPParams) SetContext

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

SetContext adds the context to the delete API 24 KMIP params

func (*DeleteAPI24KMIPParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API 24 KMIP params

func (*DeleteAPI24KMIPParams) SetNames

func (o *DeleteAPI24KMIPParams) SetNames(names []string)

SetNames adds the names to the delete API 24 KMIP params

func (*DeleteAPI24KMIPParams) SetTimeout

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

SetTimeout adds the timeout to the delete API 24 KMIP params

func (*DeleteAPI24KMIPParams) SetXRequestID

func (o *DeleteAPI24KMIPParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the delete API 24 KMIP params

func (*DeleteAPI24KMIPParams) WithAuthorization

func (o *DeleteAPI24KMIPParams) WithAuthorization(authorization *string) *DeleteAPI24KMIPParams

WithAuthorization adds the authorization to the delete API 24 KMIP params

func (*DeleteAPI24KMIPParams) WithContext

WithContext adds the context to the delete API 24 KMIP params

func (*DeleteAPI24KMIPParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete API 24 KMIP params

func (*DeleteAPI24KMIPParams) WithNames

func (o *DeleteAPI24KMIPParams) WithNames(names []string) *DeleteAPI24KMIPParams

WithNames adds the names to the delete API 24 KMIP params

func (*DeleteAPI24KMIPParams) WithTimeout

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

WithTimeout adds the timeout to the delete API 24 KMIP params

func (*DeleteAPI24KMIPParams) WithXRequestID

func (o *DeleteAPI24KMIPParams) WithXRequestID(xRequestID *string) *DeleteAPI24KMIPParams

WithXRequestID adds the xRequestID to the delete API 24 KMIP params

func (*DeleteAPI24KMIPParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteAPI24KMIPReader

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

DeleteAPI24KMIPReader is a Reader for the DeleteAPI24KMIP structure.

func (*DeleteAPI24KMIPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteApi24KMIPBadRequest

type DeleteApi24KMIPBadRequest struct {
	Payload *models.Error
}

DeleteApi24KMIPBadRequest handles this case with default header values.

BadRequest

func NewDeleteApi24KMIPBadRequest

func NewDeleteApi24KMIPBadRequest() *DeleteApi24KMIPBadRequest

NewDeleteApi24KMIPBadRequest creates a DeleteApi24KMIPBadRequest with default headers values

func (*DeleteApi24KMIPBadRequest) Error

func (o *DeleteApi24KMIPBadRequest) Error() string

func (*DeleteApi24KMIPBadRequest) GetPayload

func (o *DeleteApi24KMIPBadRequest) GetPayload() *models.Error

type DeleteApi24KMIPOK

type DeleteApi24KMIPOK struct {
}

DeleteApi24KMIPOK handles this case with default header values.

OK

func NewDeleteApi24KMIPOK

func NewDeleteApi24KMIPOK() *DeleteApi24KMIPOK

NewDeleteApi24KMIPOK creates a DeleteApi24KMIPOK with default headers values

func (*DeleteApi24KMIPOK) Error

func (o *DeleteApi24KMIPOK) Error() string

type GetAPI24KMIPParams

type GetAPI24KMIPParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*ContinuationToken
	  A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set `continuation_token` to the system-generated token taken from the `x-next-token` header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the `limit` and `continuation_token` query parameters.

	*/
	ContinuationToken *string
	/*Filter
	  Narrows down the results to only the response objects that satisfy the filter criteria.

	*/
	Filter *string
	/*Limit
	  Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set `limit=0`. The total number of resources is returned as a `total_item_count` value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

	*/
	Limit *int32
	/*Names
	  Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.

	*/
	Names []string
	/*Offset
	  The starting position based on the results of the query in relation to the full set of response objects returned.

	*/
	Offset *int32
	/*Sort
	  Returns the response objects in the order specified. Set `sort` to the name in the response by which to sort. Sorting can be performed on any of the names in the response, and the objects can be sorted in ascending or descending order. By default, the response objects are sorted in ascending order. To sort in descending order, append the minus sign (`-`) to the name. A single request can be sorted on multiple objects. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple names, list the names as comma-separated values.

	*/
	Sort []string
	/*TotalItemCount
	  If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`.

	*/
	TotalItemCount *bool

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

GetAPI24KMIPParams contains all the parameters to send to the API endpoint for the get API 24 KMIP operation typically these are written to a http.Request

func NewGetAPI24KMIPParams

func NewGetAPI24KMIPParams() *GetAPI24KMIPParams

NewGetAPI24KMIPParams creates a new GetAPI24KMIPParams object with the default values initialized.

func NewGetAPI24KMIPParamsWithContext

func NewGetAPI24KMIPParamsWithContext(ctx context.Context) *GetAPI24KMIPParams

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

func NewGetAPI24KMIPParamsWithHTTPClient

func NewGetAPI24KMIPParamsWithHTTPClient(client *http.Client) *GetAPI24KMIPParams

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

func NewGetAPI24KMIPParamsWithTimeout

func NewGetAPI24KMIPParamsWithTimeout(timeout time.Duration) *GetAPI24KMIPParams

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

func (*GetAPI24KMIPParams) SetAuthorization

func (o *GetAPI24KMIPParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the get API 24 KMIP params

func (*GetAPI24KMIPParams) SetContext

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

SetContext adds the context to the get API 24 KMIP params

func (*GetAPI24KMIPParams) SetContinuationToken

func (o *GetAPI24KMIPParams) SetContinuationToken(continuationToken *string)

SetContinuationToken adds the continuationToken to the get API 24 KMIP params

func (*GetAPI24KMIPParams) SetFilter

func (o *GetAPI24KMIPParams) SetFilter(filter *string)

SetFilter adds the filter to the get API 24 KMIP params

func (*GetAPI24KMIPParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API 24 KMIP params

func (*GetAPI24KMIPParams) SetLimit

func (o *GetAPI24KMIPParams) SetLimit(limit *int32)

SetLimit adds the limit to the get API 24 KMIP params

func (*GetAPI24KMIPParams) SetNames

func (o *GetAPI24KMIPParams) SetNames(names []string)

SetNames adds the names to the get API 24 KMIP params

func (*GetAPI24KMIPParams) SetOffset

func (o *GetAPI24KMIPParams) SetOffset(offset *int32)

SetOffset adds the offset to the get API 24 KMIP params

func (*GetAPI24KMIPParams) SetSort

func (o *GetAPI24KMIPParams) SetSort(sort []string)

SetSort adds the sort to the get API 24 KMIP params

func (*GetAPI24KMIPParams) SetTimeout

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

SetTimeout adds the timeout to the get API 24 KMIP params

func (*GetAPI24KMIPParams) SetTotalItemCount

func (o *GetAPI24KMIPParams) SetTotalItemCount(totalItemCount *bool)

SetTotalItemCount adds the totalItemCount to the get API 24 KMIP params

func (*GetAPI24KMIPParams) SetXRequestID

func (o *GetAPI24KMIPParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get API 24 KMIP params

func (*GetAPI24KMIPParams) WithAuthorization

func (o *GetAPI24KMIPParams) WithAuthorization(authorization *string) *GetAPI24KMIPParams

WithAuthorization adds the authorization to the get API 24 KMIP params

func (*GetAPI24KMIPParams) WithContext

WithContext adds the context to the get API 24 KMIP params

func (*GetAPI24KMIPParams) WithContinuationToken

func (o *GetAPI24KMIPParams) WithContinuationToken(continuationToken *string) *GetAPI24KMIPParams

WithContinuationToken adds the continuationToken to the get API 24 KMIP params

func (*GetAPI24KMIPParams) WithFilter

func (o *GetAPI24KMIPParams) WithFilter(filter *string) *GetAPI24KMIPParams

WithFilter adds the filter to the get API 24 KMIP params

func (*GetAPI24KMIPParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get API 24 KMIP params

func (*GetAPI24KMIPParams) WithLimit

func (o *GetAPI24KMIPParams) WithLimit(limit *int32) *GetAPI24KMIPParams

WithLimit adds the limit to the get API 24 KMIP params

func (*GetAPI24KMIPParams) WithNames

func (o *GetAPI24KMIPParams) WithNames(names []string) *GetAPI24KMIPParams

WithNames adds the names to the get API 24 KMIP params

func (*GetAPI24KMIPParams) WithOffset

func (o *GetAPI24KMIPParams) WithOffset(offset *int32) *GetAPI24KMIPParams

WithOffset adds the offset to the get API 24 KMIP params

func (*GetAPI24KMIPParams) WithSort

func (o *GetAPI24KMIPParams) WithSort(sort []string) *GetAPI24KMIPParams

WithSort adds the sort to the get API 24 KMIP params

func (*GetAPI24KMIPParams) WithTimeout

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

WithTimeout adds the timeout to the get API 24 KMIP params

func (*GetAPI24KMIPParams) WithTotalItemCount

func (o *GetAPI24KMIPParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24KMIPParams

WithTotalItemCount adds the totalItemCount to the get API 24 KMIP params

func (*GetAPI24KMIPParams) WithXRequestID

func (o *GetAPI24KMIPParams) WithXRequestID(xRequestID *string) *GetAPI24KMIPParams

WithXRequestID adds the xRequestID to the get API 24 KMIP params

func (*GetAPI24KMIPParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAPI24KMIPReader

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

GetAPI24KMIPReader is a Reader for the GetAPI24KMIP structure.

func (*GetAPI24KMIPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPI24KMIPTestParams

type GetAPI24KMIPTestParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*Names
	  Performs the operation on the unique name specified. For example, `name01`. Enter multiple names in comma-separated format.

	*/
	Names []string

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

GetAPI24KMIPTestParams contains all the parameters to send to the API endpoint for the get API 24 KMIP test operation typically these are written to a http.Request

func NewGetAPI24KMIPTestParams

func NewGetAPI24KMIPTestParams() *GetAPI24KMIPTestParams

NewGetAPI24KMIPTestParams creates a new GetAPI24KMIPTestParams object with the default values initialized.

func NewGetAPI24KMIPTestParamsWithContext

func NewGetAPI24KMIPTestParamsWithContext(ctx context.Context) *GetAPI24KMIPTestParams

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

func NewGetAPI24KMIPTestParamsWithHTTPClient

func NewGetAPI24KMIPTestParamsWithHTTPClient(client *http.Client) *GetAPI24KMIPTestParams

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

func NewGetAPI24KMIPTestParamsWithTimeout

func NewGetAPI24KMIPTestParamsWithTimeout(timeout time.Duration) *GetAPI24KMIPTestParams

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

func (*GetAPI24KMIPTestParams) SetAuthorization

func (o *GetAPI24KMIPTestParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the get API 24 KMIP test params

func (*GetAPI24KMIPTestParams) SetContext

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

SetContext adds the context to the get API 24 KMIP test params

func (*GetAPI24KMIPTestParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API 24 KMIP test params

func (*GetAPI24KMIPTestParams) SetNames

func (o *GetAPI24KMIPTestParams) SetNames(names []string)

SetNames adds the names to the get API 24 KMIP test params

func (*GetAPI24KMIPTestParams) SetTimeout

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

SetTimeout adds the timeout to the get API 24 KMIP test params

func (*GetAPI24KMIPTestParams) SetXRequestID

func (o *GetAPI24KMIPTestParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get API 24 KMIP test params

func (*GetAPI24KMIPTestParams) WithAuthorization

func (o *GetAPI24KMIPTestParams) WithAuthorization(authorization *string) *GetAPI24KMIPTestParams

WithAuthorization adds the authorization to the get API 24 KMIP test params

func (*GetAPI24KMIPTestParams) WithContext

WithContext adds the context to the get API 24 KMIP test params

func (*GetAPI24KMIPTestParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get API 24 KMIP test params

func (*GetAPI24KMIPTestParams) WithNames

func (o *GetAPI24KMIPTestParams) WithNames(names []string) *GetAPI24KMIPTestParams

WithNames adds the names to the get API 24 KMIP test params

func (*GetAPI24KMIPTestParams) WithTimeout

WithTimeout adds the timeout to the get API 24 KMIP test params

func (*GetAPI24KMIPTestParams) WithXRequestID

func (o *GetAPI24KMIPTestParams) WithXRequestID(xRequestID *string) *GetAPI24KMIPTestParams

WithXRequestID adds the xRequestID to the get API 24 KMIP test params

func (*GetAPI24KMIPTestParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPI24KMIPTestReader

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

GetAPI24KMIPTestReader is a Reader for the GetAPI24KMIPTest structure.

func (*GetAPI24KMIPTestReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetApi24KMIPBadRequest

type GetApi24KMIPBadRequest struct {
	Payload *models.Error
}

GetApi24KMIPBadRequest handles this case with default header values.

BadRequest

func NewGetApi24KMIPBadRequest

func NewGetApi24KMIPBadRequest() *GetApi24KMIPBadRequest

NewGetApi24KMIPBadRequest creates a GetApi24KMIPBadRequest with default headers values

func (*GetApi24KMIPBadRequest) Error

func (o *GetApi24KMIPBadRequest) Error() string

func (*GetApi24KMIPBadRequest) GetPayload

func (o *GetApi24KMIPBadRequest) GetPayload() *models.Error

type GetApi24KMIPOK

type GetApi24KMIPOK struct {
	Payload *models.KMIPGetResponse
}

GetApi24KMIPOK handles this case with default header values.

OK

func NewGetApi24KMIPOK

func NewGetApi24KMIPOK() *GetApi24KMIPOK

NewGetApi24KMIPOK creates a GetApi24KMIPOK with default headers values

func (*GetApi24KMIPOK) Error

func (o *GetApi24KMIPOK) Error() string

func (*GetApi24KMIPOK) GetPayload

func (o *GetApi24KMIPOK) GetPayload() *models.KMIPGetResponse

type GetApi24KMIPTestBadRequest

type GetApi24KMIPTestBadRequest struct {
	Payload *models.Error
}

GetApi24KMIPTestBadRequest handles this case with default header values.

BadRequest

func NewGetApi24KMIPTestBadRequest

func NewGetApi24KMIPTestBadRequest() *GetApi24KMIPTestBadRequest

NewGetApi24KMIPTestBadRequest creates a GetApi24KMIPTestBadRequest with default headers values

func (*GetApi24KMIPTestBadRequest) Error

func (*GetApi24KMIPTestBadRequest) GetPayload

func (o *GetApi24KMIPTestBadRequest) GetPayload() *models.Error

type GetApi24KMIPTestOK

type GetApi24KMIPTestOK struct {
	Payload *models.KMIPTestResultGetResponse
}

GetApi24KMIPTestOK handles this case with default header values.

OK

func NewGetApi24KMIPTestOK

func NewGetApi24KMIPTestOK() *GetApi24KMIPTestOK

NewGetApi24KMIPTestOK creates a GetApi24KMIPTestOK with default headers values

func (*GetApi24KMIPTestOK) Error

func (o *GetApi24KMIPTestOK) Error() string

func (*GetApi24KMIPTestOK) GetPayload

type PatchAPI24KMIPParams

type PatchAPI24KMIPParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*KMIP*/
	KMIP *models.KMIPPatch
	/*Names
	  Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.

	*/
	Names []string

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

PatchAPI24KMIPParams contains all the parameters to send to the API endpoint for the patch API 24 KMIP operation typically these are written to a http.Request

func NewPatchAPI24KMIPParams

func NewPatchAPI24KMIPParams() *PatchAPI24KMIPParams

NewPatchAPI24KMIPParams creates a new PatchAPI24KMIPParams object with the default values initialized.

func NewPatchAPI24KMIPParamsWithContext

func NewPatchAPI24KMIPParamsWithContext(ctx context.Context) *PatchAPI24KMIPParams

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

func NewPatchAPI24KMIPParamsWithHTTPClient

func NewPatchAPI24KMIPParamsWithHTTPClient(client *http.Client) *PatchAPI24KMIPParams

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

func NewPatchAPI24KMIPParamsWithTimeout

func NewPatchAPI24KMIPParamsWithTimeout(timeout time.Duration) *PatchAPI24KMIPParams

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

func (*PatchAPI24KMIPParams) SetAuthorization

func (o *PatchAPI24KMIPParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the patch API 24 KMIP params

func (*PatchAPI24KMIPParams) SetContext

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

SetContext adds the context to the patch API 24 KMIP params

func (*PatchAPI24KMIPParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch API 24 KMIP params

func (*PatchAPI24KMIPParams) SetKMIP

func (o *PatchAPI24KMIPParams) SetKMIP(kmip *models.KMIPPatch)

SetKMIP adds the kmip to the patch API 24 KMIP params

func (*PatchAPI24KMIPParams) SetNames

func (o *PatchAPI24KMIPParams) SetNames(names []string)

SetNames adds the names to the patch API 24 KMIP params

func (*PatchAPI24KMIPParams) SetTimeout

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

SetTimeout adds the timeout to the patch API 24 KMIP params

func (*PatchAPI24KMIPParams) SetXRequestID

func (o *PatchAPI24KMIPParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the patch API 24 KMIP params

func (*PatchAPI24KMIPParams) WithAuthorization

func (o *PatchAPI24KMIPParams) WithAuthorization(authorization *string) *PatchAPI24KMIPParams

WithAuthorization adds the authorization to the patch API 24 KMIP params

func (*PatchAPI24KMIPParams) WithContext

WithContext adds the context to the patch API 24 KMIP params

func (*PatchAPI24KMIPParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch API 24 KMIP params

func (*PatchAPI24KMIPParams) WithKMIP

WithKMIP adds the kmip to the patch API 24 KMIP params

func (*PatchAPI24KMIPParams) WithNames

func (o *PatchAPI24KMIPParams) WithNames(names []string) *PatchAPI24KMIPParams

WithNames adds the names to the patch API 24 KMIP params

func (*PatchAPI24KMIPParams) WithTimeout

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

WithTimeout adds the timeout to the patch API 24 KMIP params

func (*PatchAPI24KMIPParams) WithXRequestID

func (o *PatchAPI24KMIPParams) WithXRequestID(xRequestID *string) *PatchAPI24KMIPParams

WithXRequestID adds the xRequestID to the patch API 24 KMIP params

func (*PatchAPI24KMIPParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PatchAPI24KMIPReader

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

PatchAPI24KMIPReader is a Reader for the PatchAPI24KMIP structure.

func (*PatchAPI24KMIPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchApi24KMIPBadRequest

type PatchApi24KMIPBadRequest struct {
	Payload *models.Error
}

PatchApi24KMIPBadRequest handles this case with default header values.

BadRequest

func NewPatchApi24KMIPBadRequest

func NewPatchApi24KMIPBadRequest() *PatchApi24KMIPBadRequest

NewPatchApi24KMIPBadRequest creates a PatchApi24KMIPBadRequest with default headers values

func (*PatchApi24KMIPBadRequest) Error

func (o *PatchApi24KMIPBadRequest) Error() string

func (*PatchApi24KMIPBadRequest) GetPayload

func (o *PatchApi24KMIPBadRequest) GetPayload() *models.Error

type PatchApi24KMIPOK

type PatchApi24KMIPOK struct {
	Payload *models.KMIPResponse
}

PatchApi24KMIPOK handles this case with default header values.

OK

func NewPatchApi24KMIPOK

func NewPatchApi24KMIPOK() *PatchApi24KMIPOK

NewPatchApi24KMIPOK creates a PatchApi24KMIPOK with default headers values

func (*PatchApi24KMIPOK) Error

func (o *PatchApi24KMIPOK) Error() string

func (*PatchApi24KMIPOK) GetPayload

func (o *PatchApi24KMIPOK) GetPayload() *models.KMIPResponse

type PostAPI24KMIPParams

type PostAPI24KMIPParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*KMIP*/
	KMIP *models.KMIPPost
	/*Names
	  Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.

	*/
	Names []string

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

PostAPI24KMIPParams contains all the parameters to send to the API endpoint for the post API 24 KMIP operation typically these are written to a http.Request

func NewPostAPI24KMIPParams

func NewPostAPI24KMIPParams() *PostAPI24KMIPParams

NewPostAPI24KMIPParams creates a new PostAPI24KMIPParams object with the default values initialized.

func NewPostAPI24KMIPParamsWithContext

func NewPostAPI24KMIPParamsWithContext(ctx context.Context) *PostAPI24KMIPParams

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

func NewPostAPI24KMIPParamsWithHTTPClient

func NewPostAPI24KMIPParamsWithHTTPClient(client *http.Client) *PostAPI24KMIPParams

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

func NewPostAPI24KMIPParamsWithTimeout

func NewPostAPI24KMIPParamsWithTimeout(timeout time.Duration) *PostAPI24KMIPParams

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

func (*PostAPI24KMIPParams) SetAuthorization

func (o *PostAPI24KMIPParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the post API 24 KMIP params

func (*PostAPI24KMIPParams) SetContext

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

SetContext adds the context to the post API 24 KMIP params

func (*PostAPI24KMIPParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API 24 KMIP params

func (*PostAPI24KMIPParams) SetKMIP

func (o *PostAPI24KMIPParams) SetKMIP(kmip *models.KMIPPost)

SetKMIP adds the kmip to the post API 24 KMIP params

func (*PostAPI24KMIPParams) SetNames

func (o *PostAPI24KMIPParams) SetNames(names []string)

SetNames adds the names to the post API 24 KMIP params

func (*PostAPI24KMIPParams) SetTimeout

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

SetTimeout adds the timeout to the post API 24 KMIP params

func (*PostAPI24KMIPParams) SetXRequestID

func (o *PostAPI24KMIPParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the post API 24 KMIP params

func (*PostAPI24KMIPParams) WithAuthorization

func (o *PostAPI24KMIPParams) WithAuthorization(authorization *string) *PostAPI24KMIPParams

WithAuthorization adds the authorization to the post API 24 KMIP params

func (*PostAPI24KMIPParams) WithContext

WithContext adds the context to the post API 24 KMIP params

func (*PostAPI24KMIPParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post API 24 KMIP params

func (*PostAPI24KMIPParams) WithKMIP

WithKMIP adds the kmip to the post API 24 KMIP params

func (*PostAPI24KMIPParams) WithNames

func (o *PostAPI24KMIPParams) WithNames(names []string) *PostAPI24KMIPParams

WithNames adds the names to the post API 24 KMIP params

func (*PostAPI24KMIPParams) WithTimeout

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

WithTimeout adds the timeout to the post API 24 KMIP params

func (*PostAPI24KMIPParams) WithXRequestID

func (o *PostAPI24KMIPParams) WithXRequestID(xRequestID *string) *PostAPI24KMIPParams

WithXRequestID adds the xRequestID to the post API 24 KMIP params

func (*PostAPI24KMIPParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostAPI24KMIPReader

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

PostAPI24KMIPReader is a Reader for the PostAPI24KMIP structure.

func (*PostAPI24KMIPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostApi24KMIPBadRequest

type PostApi24KMIPBadRequest struct {
	Payload *models.Error
}

PostApi24KMIPBadRequest handles this case with default header values.

BadRequest

func NewPostApi24KMIPBadRequest

func NewPostApi24KMIPBadRequest() *PostApi24KMIPBadRequest

NewPostApi24KMIPBadRequest creates a PostApi24KMIPBadRequest with default headers values

func (*PostApi24KMIPBadRequest) Error

func (o *PostApi24KMIPBadRequest) Error() string

func (*PostApi24KMIPBadRequest) GetPayload

func (o *PostApi24KMIPBadRequest) GetPayload() *models.Error

type PostApi24KMIPOK

type PostApi24KMIPOK struct {
	Payload *models.KMIPResponse
}

PostApi24KMIPOK handles this case with default header values.

Returns the newly created KMIP server object.

func NewPostApi24KMIPOK

func NewPostApi24KMIPOK() *PostApi24KMIPOK

NewPostApi24KMIPOK creates a PostApi24KMIPOK with default headers values

func (*PostApi24KMIPOK) Error

func (o *PostApi24KMIPOK) Error() string

func (*PostApi24KMIPOK) GetPayload

func (o *PostApi24KMIPOK) GetPayload() *models.KMIPResponse

Jump to

Keyboard shortcuts

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