certificates

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 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 certificates API

func (*Client) DeleteAPI24Certificates

func (a *Client) DeleteAPI24Certificates(params *DeleteAPI24CertificatesParams) (*DeleteApi24CertificatesOK, error)

DeleteAPI24Certificates deletes certificate

Deletes a specific certificate object.

func (*Client) GetAPI24Certificates

func (a *Client) GetAPI24Certificates(params *GetAPI24CertificatesParams) (*GetApi24CertificatesOK, error)

GetAPI24Certificates lists certificate attributes

Displays certificate attributes.

func (*Client) PatchAPI24Certificates

func (a *Client) PatchAPI24Certificates(params *PatchAPI24CertificatesParams) (*PatchApi24CertificatesOK, error)

PatchAPI24Certificates modifies certificates

Modifies certificate attributes. When you modify the attributes of a self-signed certificate, Purity//FA replaces the existing certificate with a new certificate, which is generated with the specified attributes.

func (*Client) PostAPI24Certificates

func (a *Client) PostAPI24Certificates(params *PostAPI24CertificatesParams) (*PostApi24CertificatesOK, error)

PostAPI24Certificates creates certificate

Creates a certificate object and specifies the valid time period and organization details of the certificate. A certificate can be imported or manually configured.

func (*Client) PostAPI24CertificatesCertificateSigningRequests

func (a *Client) PostAPI24CertificatesCertificateSigningRequests(params *PostAPI24CertificatesCertificateSigningRequestsParams) (*PostApi24CertificatesCertificateSigningRequestsOK, error)

PostAPI24CertificatesCertificateSigningRequests creates certificate signing request

Creates a certificate signing request based on the certificate type and parameters.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteAPI24Certificates(params *DeleteAPI24CertificatesParams) (*DeleteApi24CertificatesOK, error)

	GetAPI24Certificates(params *GetAPI24CertificatesParams) (*GetApi24CertificatesOK, error)

	PatchAPI24Certificates(params *PatchAPI24CertificatesParams) (*PatchApi24CertificatesOK, error)

	PostAPI24Certificates(params *PostAPI24CertificatesParams) (*PostApi24CertificatesOK, error)

	PostAPI24CertificatesCertificateSigningRequests(params *PostAPI24CertificatesCertificateSigningRequestsParams) (*PostApi24CertificatesCertificateSigningRequestsOK, 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 certificates API client.

type DeleteAPI24CertificatesParams

type DeleteAPI24CertificatesParams 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
}

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

func NewDeleteAPI24CertificatesParams

func NewDeleteAPI24CertificatesParams() *DeleteAPI24CertificatesParams

NewDeleteAPI24CertificatesParams creates a new DeleteAPI24CertificatesParams object with the default values initialized.

func NewDeleteAPI24CertificatesParamsWithContext

func NewDeleteAPI24CertificatesParamsWithContext(ctx context.Context) *DeleteAPI24CertificatesParams

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

func NewDeleteAPI24CertificatesParamsWithHTTPClient

func NewDeleteAPI24CertificatesParamsWithHTTPClient(client *http.Client) *DeleteAPI24CertificatesParams

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

func NewDeleteAPI24CertificatesParamsWithTimeout

func NewDeleteAPI24CertificatesParamsWithTimeout(timeout time.Duration) *DeleteAPI24CertificatesParams

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

func (*DeleteAPI24CertificatesParams) SetAuthorization

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

SetAuthorization adds the authorization to the delete API 24 certificates params

func (*DeleteAPI24CertificatesParams) SetContext

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

SetContext adds the context to the delete API 24 certificates params

func (*DeleteAPI24CertificatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API 24 certificates params

func (*DeleteAPI24CertificatesParams) SetNames

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

SetNames adds the names to the delete API 24 certificates params

func (*DeleteAPI24CertificatesParams) SetTimeout

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

SetTimeout adds the timeout to the delete API 24 certificates params

func (*DeleteAPI24CertificatesParams) SetXRequestID

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

SetXRequestID adds the xRequestId to the delete API 24 certificates params

func (*DeleteAPI24CertificatesParams) WithAuthorization

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

WithAuthorization adds the authorization to the delete API 24 certificates params

func (*DeleteAPI24CertificatesParams) WithContext

WithContext adds the context to the delete API 24 certificates params

func (*DeleteAPI24CertificatesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API 24 certificates params

func (*DeleteAPI24CertificatesParams) WithNames

WithNames adds the names to the delete API 24 certificates params

func (*DeleteAPI24CertificatesParams) WithTimeout

WithTimeout adds the timeout to the delete API 24 certificates params

func (*DeleteAPI24CertificatesParams) WithXRequestID

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

WithXRequestID adds the xRequestID to the delete API 24 certificates params

func (*DeleteAPI24CertificatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPI24CertificatesReader

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

DeleteAPI24CertificatesReader is a Reader for the DeleteAPI24Certificates structure.

func (*DeleteAPI24CertificatesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteApi24CertificatesBadRequest

type DeleteApi24CertificatesBadRequest struct {
	Payload *models.Error
}

DeleteApi24CertificatesBadRequest handles this case with default header values.

BadRequest

func NewDeleteApi24CertificatesBadRequest

func NewDeleteApi24CertificatesBadRequest() *DeleteApi24CertificatesBadRequest

NewDeleteApi24CertificatesBadRequest creates a DeleteApi24CertificatesBadRequest with default headers values

func (*DeleteApi24CertificatesBadRequest) Error

func (*DeleteApi24CertificatesBadRequest) GetPayload

type DeleteApi24CertificatesOK

type DeleteApi24CertificatesOK struct {
}

DeleteApi24CertificatesOK handles this case with default header values.

OK

func NewDeleteApi24CertificatesOK

func NewDeleteApi24CertificatesOK() *DeleteApi24CertificatesOK

NewDeleteApi24CertificatesOK creates a DeleteApi24CertificatesOK with default headers values

func (*DeleteApi24CertificatesOK) Error

func (o *DeleteApi24CertificatesOK) Error() string

type GetAPI24CertificatesParams

type GetAPI24CertificatesParams 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
}

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

func NewGetAPI24CertificatesParams

func NewGetAPI24CertificatesParams() *GetAPI24CertificatesParams

NewGetAPI24CertificatesParams creates a new GetAPI24CertificatesParams object with the default values initialized.

func NewGetAPI24CertificatesParamsWithContext

func NewGetAPI24CertificatesParamsWithContext(ctx context.Context) *GetAPI24CertificatesParams

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

func NewGetAPI24CertificatesParamsWithHTTPClient

func NewGetAPI24CertificatesParamsWithHTTPClient(client *http.Client) *GetAPI24CertificatesParams

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

func NewGetAPI24CertificatesParamsWithTimeout

func NewGetAPI24CertificatesParamsWithTimeout(timeout time.Duration) *GetAPI24CertificatesParams

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

func (*GetAPI24CertificatesParams) SetAuthorization

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

SetAuthorization adds the authorization to the get API 24 certificates params

func (*GetAPI24CertificatesParams) SetContext

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

SetContext adds the context to the get API 24 certificates params

func (*GetAPI24CertificatesParams) SetContinuationToken

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

SetContinuationToken adds the continuationToken to the get API 24 certificates params

func (*GetAPI24CertificatesParams) SetFilter

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

SetFilter adds the filter to the get API 24 certificates params

func (*GetAPI24CertificatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API 24 certificates params

func (*GetAPI24CertificatesParams) SetLimit

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

SetLimit adds the limit to the get API 24 certificates params

func (*GetAPI24CertificatesParams) SetNames

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

SetNames adds the names to the get API 24 certificates params

func (*GetAPI24CertificatesParams) SetOffset

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

SetOffset adds the offset to the get API 24 certificates params

func (*GetAPI24CertificatesParams) SetSort

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

SetSort adds the sort to the get API 24 certificates params

func (*GetAPI24CertificatesParams) SetTimeout

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

SetTimeout adds the timeout to the get API 24 certificates params

func (*GetAPI24CertificatesParams) SetTotalItemCount

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

SetTotalItemCount adds the totalItemCount to the get API 24 certificates params

func (*GetAPI24CertificatesParams) SetXRequestID

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

SetXRequestID adds the xRequestId to the get API 24 certificates params

func (*GetAPI24CertificatesParams) WithAuthorization

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

WithAuthorization adds the authorization to the get API 24 certificates params

func (*GetAPI24CertificatesParams) WithContext

WithContext adds the context to the get API 24 certificates params

func (*GetAPI24CertificatesParams) WithContinuationToken

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

WithContinuationToken adds the continuationToken to the get API 24 certificates params

func (*GetAPI24CertificatesParams) WithFilter

WithFilter adds the filter to the get API 24 certificates params

func (*GetAPI24CertificatesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API 24 certificates params

func (*GetAPI24CertificatesParams) WithLimit

WithLimit adds the limit to the get API 24 certificates params

func (*GetAPI24CertificatesParams) WithNames

WithNames adds the names to the get API 24 certificates params

func (*GetAPI24CertificatesParams) WithOffset

WithOffset adds the offset to the get API 24 certificates params

func (*GetAPI24CertificatesParams) WithSort

WithSort adds the sort to the get API 24 certificates params

func (*GetAPI24CertificatesParams) WithTimeout

WithTimeout adds the timeout to the get API 24 certificates params

func (*GetAPI24CertificatesParams) WithTotalItemCount

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

WithTotalItemCount adds the totalItemCount to the get API 24 certificates params

func (*GetAPI24CertificatesParams) WithXRequestID

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

WithXRequestID adds the xRequestID to the get API 24 certificates params

func (*GetAPI24CertificatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPI24CertificatesReader

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

GetAPI24CertificatesReader is a Reader for the GetAPI24Certificates structure.

func (*GetAPI24CertificatesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetApi24CertificatesBadRequest

type GetApi24CertificatesBadRequest struct {
	Payload *models.Error
}

GetApi24CertificatesBadRequest handles this case with default header values.

BadRequest

func NewGetApi24CertificatesBadRequest

func NewGetApi24CertificatesBadRequest() *GetApi24CertificatesBadRequest

NewGetApi24CertificatesBadRequest creates a GetApi24CertificatesBadRequest with default headers values

func (*GetApi24CertificatesBadRequest) Error

func (*GetApi24CertificatesBadRequest) GetPayload

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

type GetApi24CertificatesOK

type GetApi24CertificatesOK struct {
	Payload *models.CertificateGetResponse
}

GetApi24CertificatesOK handles this case with default header values.

OK

func NewGetApi24CertificatesOK

func NewGetApi24CertificatesOK() *GetApi24CertificatesOK

NewGetApi24CertificatesOK creates a GetApi24CertificatesOK with default headers values

func (*GetApi24CertificatesOK) Error

func (o *GetApi24CertificatesOK) Error() string

func (*GetApi24CertificatesOK) GetPayload

type PatchAPI24CertificatesParams

type PatchAPI24CertificatesParams 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
	/*Certificate*/
	Certificate *models.CertificatePost
	/*GenerateNewKey
	  If set to `true`, a new private key is generated when generating a new certificate with the specified attributes. This may not be set to `true` when importing a certificate and private key, and may not be set to `false` when generating a new self-signed certificate to replace a certificate that was imported. Default setting is `false`.

	*/
	GenerateNewKey *bool
	/*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
}

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

func NewPatchAPI24CertificatesParams

func NewPatchAPI24CertificatesParams() *PatchAPI24CertificatesParams

NewPatchAPI24CertificatesParams creates a new PatchAPI24CertificatesParams object with the default values initialized.

func NewPatchAPI24CertificatesParamsWithContext

func NewPatchAPI24CertificatesParamsWithContext(ctx context.Context) *PatchAPI24CertificatesParams

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

func NewPatchAPI24CertificatesParamsWithHTTPClient

func NewPatchAPI24CertificatesParamsWithHTTPClient(client *http.Client) *PatchAPI24CertificatesParams

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

func NewPatchAPI24CertificatesParamsWithTimeout

func NewPatchAPI24CertificatesParamsWithTimeout(timeout time.Duration) *PatchAPI24CertificatesParams

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

func (*PatchAPI24CertificatesParams) SetAuthorization

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

SetAuthorization adds the authorization to the patch API 24 certificates params

func (*PatchAPI24CertificatesParams) SetCertificate

func (o *PatchAPI24CertificatesParams) SetCertificate(certificate *models.CertificatePost)

SetCertificate adds the certificate to the patch API 24 certificates params

func (*PatchAPI24CertificatesParams) SetContext

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

SetContext adds the context to the patch API 24 certificates params

func (*PatchAPI24CertificatesParams) SetGenerateNewKey

func (o *PatchAPI24CertificatesParams) SetGenerateNewKey(generateNewKey *bool)

SetGenerateNewKey adds the generateNewKey to the patch API 24 certificates params

func (*PatchAPI24CertificatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch API 24 certificates params

func (*PatchAPI24CertificatesParams) SetNames

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

SetNames adds the names to the patch API 24 certificates params

func (*PatchAPI24CertificatesParams) SetTimeout

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

SetTimeout adds the timeout to the patch API 24 certificates params

func (*PatchAPI24CertificatesParams) SetXRequestID

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

SetXRequestID adds the xRequestId to the patch API 24 certificates params

func (*PatchAPI24CertificatesParams) WithAuthorization

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

WithAuthorization adds the authorization to the patch API 24 certificates params

func (*PatchAPI24CertificatesParams) WithCertificate

WithCertificate adds the certificate to the patch API 24 certificates params

func (*PatchAPI24CertificatesParams) WithContext

WithContext adds the context to the patch API 24 certificates params

func (*PatchAPI24CertificatesParams) WithGenerateNewKey

func (o *PatchAPI24CertificatesParams) WithGenerateNewKey(generateNewKey *bool) *PatchAPI24CertificatesParams

WithGenerateNewKey adds the generateNewKey to the patch API 24 certificates params

func (*PatchAPI24CertificatesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch API 24 certificates params

func (*PatchAPI24CertificatesParams) WithNames

WithNames adds the names to the patch API 24 certificates params

func (*PatchAPI24CertificatesParams) WithTimeout

WithTimeout adds the timeout to the patch API 24 certificates params

func (*PatchAPI24CertificatesParams) WithXRequestID

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

WithXRequestID adds the xRequestID to the patch API 24 certificates params

func (*PatchAPI24CertificatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPI24CertificatesReader

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

PatchAPI24CertificatesReader is a Reader for the PatchAPI24Certificates structure.

func (*PatchAPI24CertificatesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchApi24CertificatesBadRequest

type PatchApi24CertificatesBadRequest struct {
	Payload *models.Error
}

PatchApi24CertificatesBadRequest handles this case with default header values.

BadRequest

func NewPatchApi24CertificatesBadRequest

func NewPatchApi24CertificatesBadRequest() *PatchApi24CertificatesBadRequest

NewPatchApi24CertificatesBadRequest creates a PatchApi24CertificatesBadRequest with default headers values

func (*PatchApi24CertificatesBadRequest) Error

func (*PatchApi24CertificatesBadRequest) GetPayload

type PatchApi24CertificatesOK

type PatchApi24CertificatesOK struct {
	Payload *models.CertificateResponse
}

PatchApi24CertificatesOK handles this case with default header values.

Returns the newly updated certificate object.

func NewPatchApi24CertificatesOK

func NewPatchApi24CertificatesOK() *PatchApi24CertificatesOK

NewPatchApi24CertificatesOK creates a PatchApi24CertificatesOK with default headers values

func (*PatchApi24CertificatesOK) Error

func (o *PatchApi24CertificatesOK) Error() string

func (*PatchApi24CertificatesOK) GetPayload

type PostAPI24CertificatesCertificateSigningRequestsParams

type PostAPI24CertificatesCertificateSigningRequestsParams 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
	/*Certificate*/
	Certificate *models.CertificateSigningRequestPost

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

PostAPI24CertificatesCertificateSigningRequestsParams contains all the parameters to send to the API endpoint for the post API 24 certificates certificate signing requests operation typically these are written to a http.Request

func NewPostAPI24CertificatesCertificateSigningRequestsParams

func NewPostAPI24CertificatesCertificateSigningRequestsParams() *PostAPI24CertificatesCertificateSigningRequestsParams

NewPostAPI24CertificatesCertificateSigningRequestsParams creates a new PostAPI24CertificatesCertificateSigningRequestsParams object with the default values initialized.

func NewPostAPI24CertificatesCertificateSigningRequestsParamsWithContext

func NewPostAPI24CertificatesCertificateSigningRequestsParamsWithContext(ctx context.Context) *PostAPI24CertificatesCertificateSigningRequestsParams

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

func NewPostAPI24CertificatesCertificateSigningRequestsParamsWithHTTPClient

func NewPostAPI24CertificatesCertificateSigningRequestsParamsWithHTTPClient(client *http.Client) *PostAPI24CertificatesCertificateSigningRequestsParams

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

func NewPostAPI24CertificatesCertificateSigningRequestsParamsWithTimeout

func NewPostAPI24CertificatesCertificateSigningRequestsParamsWithTimeout(timeout time.Duration) *PostAPI24CertificatesCertificateSigningRequestsParams

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

func (*PostAPI24CertificatesCertificateSigningRequestsParams) SetAuthorization

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

SetAuthorization adds the authorization to the post API 24 certificates certificate signing requests params

func (*PostAPI24CertificatesCertificateSigningRequestsParams) SetCertificate

SetCertificate adds the certificate to the post API 24 certificates certificate signing requests params

func (*PostAPI24CertificatesCertificateSigningRequestsParams) SetContext

SetContext adds the context to the post API 24 certificates certificate signing requests params

func (*PostAPI24CertificatesCertificateSigningRequestsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the post API 24 certificates certificate signing requests params

func (*PostAPI24CertificatesCertificateSigningRequestsParams) SetTimeout

SetTimeout adds the timeout to the post API 24 certificates certificate signing requests params

func (*PostAPI24CertificatesCertificateSigningRequestsParams) SetXRequestID

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

SetXRequestID adds the xRequestId to the post API 24 certificates certificate signing requests params

func (*PostAPI24CertificatesCertificateSigningRequestsParams) WithAuthorization

WithAuthorization adds the authorization to the post API 24 certificates certificate signing requests params

func (*PostAPI24CertificatesCertificateSigningRequestsParams) WithCertificate

WithCertificate adds the certificate to the post API 24 certificates certificate signing requests params

func (*PostAPI24CertificatesCertificateSigningRequestsParams) WithContext

WithContext adds the context to the post API 24 certificates certificate signing requests params

func (*PostAPI24CertificatesCertificateSigningRequestsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API 24 certificates certificate signing requests params

func (*PostAPI24CertificatesCertificateSigningRequestsParams) WithTimeout

WithTimeout adds the timeout to the post API 24 certificates certificate signing requests params

func (*PostAPI24CertificatesCertificateSigningRequestsParams) WithXRequestID

WithXRequestID adds the xRequestID to the post API 24 certificates certificate signing requests params

func (*PostAPI24CertificatesCertificateSigningRequestsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPI24CertificatesCertificateSigningRequestsReader

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

PostAPI24CertificatesCertificateSigningRequestsReader is a Reader for the PostAPI24CertificatesCertificateSigningRequests structure.

func (*PostAPI24CertificatesCertificateSigningRequestsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAPI24CertificatesParams

type PostAPI24CertificatesParams 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
	/*Certificate*/
	Certificate *models.CertificatePost
	/*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
}

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

func NewPostAPI24CertificatesParams

func NewPostAPI24CertificatesParams() *PostAPI24CertificatesParams

NewPostAPI24CertificatesParams creates a new PostAPI24CertificatesParams object with the default values initialized.

func NewPostAPI24CertificatesParamsWithContext

func NewPostAPI24CertificatesParamsWithContext(ctx context.Context) *PostAPI24CertificatesParams

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

func NewPostAPI24CertificatesParamsWithHTTPClient

func NewPostAPI24CertificatesParamsWithHTTPClient(client *http.Client) *PostAPI24CertificatesParams

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

func NewPostAPI24CertificatesParamsWithTimeout

func NewPostAPI24CertificatesParamsWithTimeout(timeout time.Duration) *PostAPI24CertificatesParams

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

func (*PostAPI24CertificatesParams) SetAuthorization

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

SetAuthorization adds the authorization to the post API 24 certificates params

func (*PostAPI24CertificatesParams) SetCertificate

func (o *PostAPI24CertificatesParams) SetCertificate(certificate *models.CertificatePost)

SetCertificate adds the certificate to the post API 24 certificates params

func (*PostAPI24CertificatesParams) SetContext

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

SetContext adds the context to the post API 24 certificates params

func (*PostAPI24CertificatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API 24 certificates params

func (*PostAPI24CertificatesParams) SetNames

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

SetNames adds the names to the post API 24 certificates params

func (*PostAPI24CertificatesParams) SetTimeout

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

SetTimeout adds the timeout to the post API 24 certificates params

func (*PostAPI24CertificatesParams) SetXRequestID

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

SetXRequestID adds the xRequestId to the post API 24 certificates params

func (*PostAPI24CertificatesParams) WithAuthorization

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

WithAuthorization adds the authorization to the post API 24 certificates params

func (*PostAPI24CertificatesParams) WithCertificate

WithCertificate adds the certificate to the post API 24 certificates params

func (*PostAPI24CertificatesParams) WithContext

WithContext adds the context to the post API 24 certificates params

func (*PostAPI24CertificatesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API 24 certificates params

func (*PostAPI24CertificatesParams) WithNames

WithNames adds the names to the post API 24 certificates params

func (*PostAPI24CertificatesParams) WithTimeout

WithTimeout adds the timeout to the post API 24 certificates params

func (*PostAPI24CertificatesParams) WithXRequestID

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

WithXRequestID adds the xRequestID to the post API 24 certificates params

func (*PostAPI24CertificatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPI24CertificatesReader

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

PostAPI24CertificatesReader is a Reader for the PostAPI24Certificates structure.

func (*PostAPI24CertificatesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostApi24CertificatesBadRequest

type PostApi24CertificatesBadRequest struct {
	Payload *models.Error
}

PostApi24CertificatesBadRequest handles this case with default header values.

BadRequest

func NewPostApi24CertificatesBadRequest

func NewPostApi24CertificatesBadRequest() *PostApi24CertificatesBadRequest

NewPostApi24CertificatesBadRequest creates a PostApi24CertificatesBadRequest with default headers values

func (*PostApi24CertificatesBadRequest) Error

func (*PostApi24CertificatesBadRequest) GetPayload

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

type PostApi24CertificatesCertificateSigningRequestsBadRequest

type PostApi24CertificatesCertificateSigningRequestsBadRequest struct {
	Payload *models.Error
}

PostApi24CertificatesCertificateSigningRequestsBadRequest handles this case with default header values.

BadRequest

func NewPostApi24CertificatesCertificateSigningRequestsBadRequest

func NewPostApi24CertificatesCertificateSigningRequestsBadRequest() *PostApi24CertificatesCertificateSigningRequestsBadRequest

NewPostApi24CertificatesCertificateSigningRequestsBadRequest creates a PostApi24CertificatesCertificateSigningRequestsBadRequest with default headers values

func (*PostApi24CertificatesCertificateSigningRequestsBadRequest) Error

func (*PostApi24CertificatesCertificateSigningRequestsBadRequest) GetPayload

type PostApi24CertificatesCertificateSigningRequestsOK

type PostApi24CertificatesCertificateSigningRequestsOK struct {
	Payload *models.CertificateSigningRequestResponse
}

PostApi24CertificatesCertificateSigningRequestsOK handles this case with default header values.

Returns the newly created certificate object.

func NewPostApi24CertificatesCertificateSigningRequestsOK

func NewPostApi24CertificatesCertificateSigningRequestsOK() *PostApi24CertificatesCertificateSigningRequestsOK

NewPostApi24CertificatesCertificateSigningRequestsOK creates a PostApi24CertificatesCertificateSigningRequestsOK with default headers values

func (*PostApi24CertificatesCertificateSigningRequestsOK) Error

func (*PostApi24CertificatesCertificateSigningRequestsOK) GetPayload

type PostApi24CertificatesOK

type PostApi24CertificatesOK struct {
	Payload *models.CertificateResponse
}

PostApi24CertificatesOK handles this case with default header values.

Returns the newly created certificate object.

func NewPostApi24CertificatesOK

func NewPostApi24CertificatesOK() *PostApi24CertificatesOK

NewPostApi24CertificatesOK creates a PostApi24CertificatesOK with default headers values

func (*PostApi24CertificatesOK) Error

func (o *PostApi24CertificatesOK) Error() string

func (*PostApi24CertificatesOK) GetPayload

Jump to

Keyboard shortcuts

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