key_group

package
v0.75.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ListKeysACQUIREDConstant = "ACQUIRED"
	ListKeysACTIVEConstant   = "ACTIVE"
)

Get the enum in ListKeysParams

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for key group API

func (*Client) CreateKeyGroup deprecated

Deprecated: 2022-08-10 - Use CreateKeyGroupShort instead.

CreateKeyGroup create key group Create key group. Other detail info:

  • Returns : created key group

func (*Client) CreateKeyGroupShort added in v0.8.0

func (a *Client) CreateKeyGroupShort(params *CreateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateKeyGroupCreated, error)

CreateKeyGroupShort create key group Create key group. Other detail info:

  • Returns : created key group

func (*Client) GetKeyGroup deprecated

Deprecated: 2022-08-10 - Use GetKeyGroupShort instead.

GetKeyGroup get key group Get key group. Other detail info:

  • Returns : key group info

func (*Client) GetKeyGroupByBoothName deprecated added in v0.29.0

Deprecated: 2022-08-10 - Use GetKeyGroupByBoothNameShort instead.

GetKeyGroupByBoothName get key group by booth name Get key group. Other detail info:

  • Returns : key group info

func (*Client) GetKeyGroupByBoothNameShort added in v0.29.0

func (a *Client) GetKeyGroupByBoothNameShort(params *GetKeyGroupByBoothNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupByBoothNameOK, error)

GetKeyGroupByBoothNameShort get key group by booth name Get key group. Other detail info:

  • Returns : key group info

func (*Client) GetKeyGroupDynamic deprecated

Deprecated: 2022-08-10 - Use GetKeyGroupDynamicShort instead.

GetKeyGroupDynamic get key group dynamic Get key group dynamic. Other detail info:

  • Returns : key group info

func (*Client) GetKeyGroupDynamicShort added in v0.8.0

func (a *Client) GetKeyGroupDynamicShort(params *GetKeyGroupDynamicParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupDynamicOK, error)

GetKeyGroupDynamicShort get key group dynamic Get key group dynamic. Other detail info:

  • Returns : key group info

func (*Client) GetKeyGroupShort added in v0.8.0

func (a *Client) GetKeyGroupShort(params *GetKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupOK, error)

GetKeyGroupShort get key group Get key group. Other detail info:

  • Returns : key group info

func (*Client) ListKeys deprecated

func (a *Client) ListKeys(params *ListKeysParams, authInfo runtime.ClientAuthInfoWriter) (*ListKeysOK, error)

Deprecated: 2022-08-10 - Use ListKeysShort instead.

ListKeys list keys of a key group This API is used to list keys of a key group. Other detail info:

  • Returns : keys

func (*Client) ListKeysShort added in v0.8.0

func (a *Client) ListKeysShort(params *ListKeysParams, authInfo runtime.ClientAuthInfoWriter) (*ListKeysOK, error)

ListKeysShort list keys of a key group This API is used to list keys of a key group. Other detail info:

  • Returns : keys

func (*Client) QueryKeyGroups deprecated

func (a *Client) QueryKeyGroups(params *QueryKeyGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryKeyGroupsOK, error)

Deprecated: 2022-08-10 - Use QueryKeyGroupsShort instead.

QueryKeyGroups query key groups Query key groups, if name is presented, it's fuzzy match. Other detail info:

  • Returns : slice of key group

func (*Client) QueryKeyGroupsShort added in v0.8.0

func (a *Client) QueryKeyGroupsShort(params *QueryKeyGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryKeyGroupsOK, error)

QueryKeyGroupsShort query key groups Query key groups, if name is presented, it's fuzzy match. Other detail info:

  • Returns : slice of key group

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateKeyGroup deprecated

Deprecated: 2022-08-10 - Use UpdateKeyGroupShort instead.

UpdateKeyGroup update key group Update key group. Other detail info:

  • Returns : updated key group

func (*Client) UpdateKeyGroupShort added in v0.8.0

func (a *Client) UpdateKeyGroupShort(params *UpdateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateKeyGroupOK, error)

UpdateKeyGroupShort update key group Update key group. Other detail info:

  • Returns : updated key group

func (*Client) UploadKeys deprecated

Deprecated: 2022-08-10 - Use UploadKeysShort instead.

UploadKeys upload keys to key group This API is used to upload keys with csv format to a key group.

Other detail info:

  • Returns : item data

func (*Client) UploadKeysShort added in v0.8.0

func (a *Client) UploadKeysShort(params *UploadKeysParams, authInfo runtime.ClientAuthInfoWriter) (*UploadKeysOK, error)

UploadKeysShort upload keys to key group This API is used to upload keys with csv format to a key group.

Other detail info:

  • Returns : item data

type ClientService

type ClientService interface {
	QueryKeyGroups(params *QueryKeyGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryKeyGroupsOK, error)
	QueryKeyGroupsShort(params *QueryKeyGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryKeyGroupsOK, error)
	CreateKeyGroup(params *CreateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateKeyGroupCreated, *CreateKeyGroupConflict, *CreateKeyGroupUnprocessableEntity, error)
	CreateKeyGroupShort(params *CreateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateKeyGroupCreated, error)
	GetKeyGroupByBoothName(params *GetKeyGroupByBoothNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupByBoothNameOK, *GetKeyGroupByBoothNameNotFound, error)
	GetKeyGroupByBoothNameShort(params *GetKeyGroupByBoothNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupByBoothNameOK, error)
	GetKeyGroup(params *GetKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupOK, *GetKeyGroupNotFound, error)
	GetKeyGroupShort(params *GetKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupOK, error)
	UpdateKeyGroup(params *UpdateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateKeyGroupOK, *UpdateKeyGroupNotFound, *UpdateKeyGroupConflict, *UpdateKeyGroupUnprocessableEntity, error)
	UpdateKeyGroupShort(params *UpdateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateKeyGroupOK, error)
	GetKeyGroupDynamic(params *GetKeyGroupDynamicParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupDynamicOK, *GetKeyGroupDynamicNotFound, error)
	GetKeyGroupDynamicShort(params *GetKeyGroupDynamicParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupDynamicOK, error)
	ListKeys(params *ListKeysParams, authInfo runtime.ClientAuthInfoWriter) (*ListKeysOK, error)
	ListKeysShort(params *ListKeysParams, authInfo runtime.ClientAuthInfoWriter) (*ListKeysOK, error)
	UploadKeys(params *UploadKeysParams, authInfo runtime.ClientAuthInfoWriter) (*UploadKeysOK, *UploadKeysBadRequest, *UploadKeysNotFound, error)
	UploadKeysShort(params *UploadKeysParams, authInfo runtime.ClientAuthInfoWriter) (*UploadKeysOK, 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 key group API client.

type CreateKeyGroupConflict

type CreateKeyGroupConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

CreateKeyGroupConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37271</td><td>Key group [{name}] already exists in namespace [{namespace}]</td></tr></table>

func NewCreateKeyGroupConflict

func NewCreateKeyGroupConflict() *CreateKeyGroupConflict

NewCreateKeyGroupConflict creates a CreateKeyGroupConflict with default headers values

func (*CreateKeyGroupConflict) Error

func (o *CreateKeyGroupConflict) Error() string

func (*CreateKeyGroupConflict) GetPayload

func (*CreateKeyGroupConflict) ToJSONString added in v0.25.0

func (o *CreateKeyGroupConflict) ToJSONString() string

type CreateKeyGroupCreated

type CreateKeyGroupCreated struct {
	Payload *platformclientmodels.KeyGroupInfo
}

CreateKeyGroupCreated handles this case with default header values.

successful operation

func NewCreateKeyGroupCreated

func NewCreateKeyGroupCreated() *CreateKeyGroupCreated

NewCreateKeyGroupCreated creates a CreateKeyGroupCreated with default headers values

func (*CreateKeyGroupCreated) Error

func (o *CreateKeyGroupCreated) Error() string

func (*CreateKeyGroupCreated) GetPayload

func (*CreateKeyGroupCreated) ToJSONString added in v0.25.0

func (o *CreateKeyGroupCreated) ToJSONString() string

type CreateKeyGroupParams

type CreateKeyGroupParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.KeyGroupCreate
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

CreateKeyGroupParams contains all the parameters to send to the API endpoint for the create key group operation typically these are written to a http.Request

func NewCreateKeyGroupParams

func NewCreateKeyGroupParams() *CreateKeyGroupParams

NewCreateKeyGroupParams creates a new CreateKeyGroupParams object with the default values initialized.

func NewCreateKeyGroupParamsWithContext

func NewCreateKeyGroupParamsWithContext(ctx context.Context) *CreateKeyGroupParams

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

func NewCreateKeyGroupParamsWithHTTPClient

func NewCreateKeyGroupParamsWithHTTPClient(client *http.Client) *CreateKeyGroupParams

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

func NewCreateKeyGroupParamsWithTimeout

func NewCreateKeyGroupParamsWithTimeout(timeout time.Duration) *CreateKeyGroupParams

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

func (*CreateKeyGroupParams) SetAuthInfoWriter added in v0.17.0

func (o *CreateKeyGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the create key group params

func (*CreateKeyGroupParams) SetBody

SetBody adds the body to the create key group params

func (*CreateKeyGroupParams) SetContext

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

SetContext adds the context to the create key group params

func (*CreateKeyGroupParams) SetFlightId added in v0.63.0

func (o *CreateKeyGroupParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*CreateKeyGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create key group params

func (*CreateKeyGroupParams) SetHTTPClientTransport added in v0.19.0

func (o *CreateKeyGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the create key group params

func (*CreateKeyGroupParams) SetNamespace

func (o *CreateKeyGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create key group params

func (*CreateKeyGroupParams) SetTimeout

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

SetTimeout adds the timeout to the create key group params

func (*CreateKeyGroupParams) WithBody

WithBody adds the body to the create key group params

func (*CreateKeyGroupParams) WithContext

WithContext adds the context to the create key group params

func (*CreateKeyGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create key group params

func (*CreateKeyGroupParams) WithNamespace

func (o *CreateKeyGroupParams) WithNamespace(namespace string) *CreateKeyGroupParams

WithNamespace adds the namespace to the create key group params

func (*CreateKeyGroupParams) WithTimeout

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

WithTimeout adds the timeout to the create key group params

func (*CreateKeyGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateKeyGroupReader

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

CreateKeyGroupReader is a Reader for the CreateKeyGroup structure.

func (*CreateKeyGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateKeyGroupUnprocessableEntity

type CreateKeyGroupUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

CreateKeyGroupUnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewCreateKeyGroupUnprocessableEntity

func NewCreateKeyGroupUnprocessableEntity() *CreateKeyGroupUnprocessableEntity

NewCreateKeyGroupUnprocessableEntity creates a CreateKeyGroupUnprocessableEntity with default headers values

func (*CreateKeyGroupUnprocessableEntity) Error

func (*CreateKeyGroupUnprocessableEntity) GetPayload

func (*CreateKeyGroupUnprocessableEntity) ToJSONString added in v0.25.0

func (o *CreateKeyGroupUnprocessableEntity) ToJSONString() string

type GetKeyGroupByBoothNameNotFound added in v0.29.0

type GetKeyGroupByBoothNameNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetKeyGroupByBoothNameNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37041</td><td>Ticket booth [{boothName}] does not exist in namespace [{namespace}]</td></tr></table>

func NewGetKeyGroupByBoothNameNotFound added in v0.29.0

func NewGetKeyGroupByBoothNameNotFound() *GetKeyGroupByBoothNameNotFound

NewGetKeyGroupByBoothNameNotFound creates a GetKeyGroupByBoothNameNotFound with default headers values

func (*GetKeyGroupByBoothNameNotFound) Error added in v0.29.0

func (*GetKeyGroupByBoothNameNotFound) GetPayload added in v0.29.0

func (*GetKeyGroupByBoothNameNotFound) ToJSONString added in v0.29.0

func (o *GetKeyGroupByBoothNameNotFound) ToJSONString() string

type GetKeyGroupByBoothNameOK added in v0.29.0

type GetKeyGroupByBoothNameOK struct {
	Payload *platformclientmodels.KeyGroupInfo
}

GetKeyGroupByBoothNameOK handles this case with default header values.

successful operation

func NewGetKeyGroupByBoothNameOK added in v0.29.0

func NewGetKeyGroupByBoothNameOK() *GetKeyGroupByBoothNameOK

NewGetKeyGroupByBoothNameOK creates a GetKeyGroupByBoothNameOK with default headers values

func (*GetKeyGroupByBoothNameOK) Error added in v0.29.0

func (o *GetKeyGroupByBoothNameOK) Error() string

func (*GetKeyGroupByBoothNameOK) GetPayload added in v0.29.0

func (*GetKeyGroupByBoothNameOK) ToJSONString added in v0.29.0

func (o *GetKeyGroupByBoothNameOK) ToJSONString() string

type GetKeyGroupByBoothNameParams added in v0.29.0

type GetKeyGroupByBoothNameParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*BoothName*/
	BoothName string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetKeyGroupByBoothNameParams contains all the parameters to send to the API endpoint for the get key group by booth name operation typically these are written to a http.Request

func NewGetKeyGroupByBoothNameParams added in v0.29.0

func NewGetKeyGroupByBoothNameParams() *GetKeyGroupByBoothNameParams

NewGetKeyGroupByBoothNameParams creates a new GetKeyGroupByBoothNameParams object with the default values initialized.

func NewGetKeyGroupByBoothNameParamsWithContext added in v0.29.0

func NewGetKeyGroupByBoothNameParamsWithContext(ctx context.Context) *GetKeyGroupByBoothNameParams

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

func NewGetKeyGroupByBoothNameParamsWithHTTPClient added in v0.29.0

func NewGetKeyGroupByBoothNameParamsWithHTTPClient(client *http.Client) *GetKeyGroupByBoothNameParams

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

func NewGetKeyGroupByBoothNameParamsWithTimeout added in v0.29.0

func NewGetKeyGroupByBoothNameParamsWithTimeout(timeout time.Duration) *GetKeyGroupByBoothNameParams

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

func (*GetKeyGroupByBoothNameParams) SetAuthInfoWriter added in v0.29.0

func (o *GetKeyGroupByBoothNameParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get key group by booth name params

func (*GetKeyGroupByBoothNameParams) SetBoothName added in v0.29.0

func (o *GetKeyGroupByBoothNameParams) SetBoothName(boothName string)

SetBoothName adds the boothName to the get key group by booth name params

func (*GetKeyGroupByBoothNameParams) SetContext added in v0.29.0

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

SetContext adds the context to the get key group by booth name params

func (*GetKeyGroupByBoothNameParams) SetFlightId added in v0.63.0

func (o *GetKeyGroupByBoothNameParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetKeyGroupByBoothNameParams) SetHTTPClient added in v0.29.0

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

SetHTTPClient adds the HTTPClient to the get key group by booth name params

func (*GetKeyGroupByBoothNameParams) SetHTTPClientTransport added in v0.29.0

func (o *GetKeyGroupByBoothNameParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get key group by booth name params

func (*GetKeyGroupByBoothNameParams) SetNamespace added in v0.29.0

func (o *GetKeyGroupByBoothNameParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get key group by booth name params

func (*GetKeyGroupByBoothNameParams) SetTimeout added in v0.29.0

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

SetTimeout adds the timeout to the get key group by booth name params

func (*GetKeyGroupByBoothNameParams) WithBoothName added in v0.29.0

WithBoothName adds the boothName to the get key group by booth name params

func (*GetKeyGroupByBoothNameParams) WithContext added in v0.29.0

WithContext adds the context to the get key group by booth name params

func (*GetKeyGroupByBoothNameParams) WithHTTPClient added in v0.29.0

WithHTTPClient adds the HTTPClient to the get key group by booth name params

func (*GetKeyGroupByBoothNameParams) WithNamespace added in v0.29.0

WithNamespace adds the namespace to the get key group by booth name params

func (*GetKeyGroupByBoothNameParams) WithTimeout added in v0.29.0

WithTimeout adds the timeout to the get key group by booth name params

func (*GetKeyGroupByBoothNameParams) WriteToRequest added in v0.29.0

WriteToRequest writes these params to a swagger request

type GetKeyGroupByBoothNameReader added in v0.29.0

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

GetKeyGroupByBoothNameReader is a Reader for the GetKeyGroupByBoothName structure.

func (*GetKeyGroupByBoothNameReader) ReadResponse added in v0.29.0

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

ReadResponse reads a server response into the received o.

type GetKeyGroupDynamicNotFound

type GetKeyGroupDynamicNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetKeyGroupDynamicNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37241</td><td>Key group [{keyGroupId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewGetKeyGroupDynamicNotFound

func NewGetKeyGroupDynamicNotFound() *GetKeyGroupDynamicNotFound

NewGetKeyGroupDynamicNotFound creates a GetKeyGroupDynamicNotFound with default headers values

func (*GetKeyGroupDynamicNotFound) Error

func (*GetKeyGroupDynamicNotFound) GetPayload

func (*GetKeyGroupDynamicNotFound) ToJSONString added in v0.25.0

func (o *GetKeyGroupDynamicNotFound) ToJSONString() string

type GetKeyGroupDynamicOK

type GetKeyGroupDynamicOK struct {
	Payload *platformclientmodels.KeyGroupDynamicInfo
}

GetKeyGroupDynamicOK handles this case with default header values.

successful operation

func NewGetKeyGroupDynamicOK

func NewGetKeyGroupDynamicOK() *GetKeyGroupDynamicOK

NewGetKeyGroupDynamicOK creates a GetKeyGroupDynamicOK with default headers values

func (*GetKeyGroupDynamicOK) Error

func (o *GetKeyGroupDynamicOK) Error() string

func (*GetKeyGroupDynamicOK) GetPayload

func (*GetKeyGroupDynamicOK) ToJSONString added in v0.25.0

func (o *GetKeyGroupDynamicOK) ToJSONString() string

type GetKeyGroupDynamicParams

type GetKeyGroupDynamicParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*KeyGroupID*/
	KeyGroupID string
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetKeyGroupDynamicParams contains all the parameters to send to the API endpoint for the get key group dynamic operation typically these are written to a http.Request

func NewGetKeyGroupDynamicParams

func NewGetKeyGroupDynamicParams() *GetKeyGroupDynamicParams

NewGetKeyGroupDynamicParams creates a new GetKeyGroupDynamicParams object with the default values initialized.

func NewGetKeyGroupDynamicParamsWithContext

func NewGetKeyGroupDynamicParamsWithContext(ctx context.Context) *GetKeyGroupDynamicParams

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

func NewGetKeyGroupDynamicParamsWithHTTPClient

func NewGetKeyGroupDynamicParamsWithHTTPClient(client *http.Client) *GetKeyGroupDynamicParams

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

func NewGetKeyGroupDynamicParamsWithTimeout

func NewGetKeyGroupDynamicParamsWithTimeout(timeout time.Duration) *GetKeyGroupDynamicParams

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

func (*GetKeyGroupDynamicParams) SetAuthInfoWriter added in v0.17.0

func (o *GetKeyGroupDynamicParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get key group dynamic params

func (*GetKeyGroupDynamicParams) SetContext

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

SetContext adds the context to the get key group dynamic params

func (*GetKeyGroupDynamicParams) SetFlightId added in v0.63.0

func (o *GetKeyGroupDynamicParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetKeyGroupDynamicParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get key group dynamic params

func (*GetKeyGroupDynamicParams) SetHTTPClientTransport added in v0.19.0

func (o *GetKeyGroupDynamicParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get key group dynamic params

func (*GetKeyGroupDynamicParams) SetKeyGroupID

func (o *GetKeyGroupDynamicParams) SetKeyGroupID(keyGroupID string)

SetKeyGroupID adds the keyGroupId to the get key group dynamic params

func (*GetKeyGroupDynamicParams) SetNamespace

func (o *GetKeyGroupDynamicParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get key group dynamic params

func (*GetKeyGroupDynamicParams) SetTimeout

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

SetTimeout adds the timeout to the get key group dynamic params

func (*GetKeyGroupDynamicParams) WithContext

WithContext adds the context to the get key group dynamic params

func (*GetKeyGroupDynamicParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get key group dynamic params

func (*GetKeyGroupDynamicParams) WithKeyGroupID

func (o *GetKeyGroupDynamicParams) WithKeyGroupID(keyGroupID string) *GetKeyGroupDynamicParams

WithKeyGroupID adds the keyGroupID to the get key group dynamic params

func (*GetKeyGroupDynamicParams) WithNamespace

func (o *GetKeyGroupDynamicParams) WithNamespace(namespace string) *GetKeyGroupDynamicParams

WithNamespace adds the namespace to the get key group dynamic params

func (*GetKeyGroupDynamicParams) WithTimeout

WithTimeout adds the timeout to the get key group dynamic params

func (*GetKeyGroupDynamicParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetKeyGroupDynamicReader

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

GetKeyGroupDynamicReader is a Reader for the GetKeyGroupDynamic structure.

func (*GetKeyGroupDynamicReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetKeyGroupNotFound

type GetKeyGroupNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetKeyGroupNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37241</td><td>Key group [{keyGroupId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewGetKeyGroupNotFound

func NewGetKeyGroupNotFound() *GetKeyGroupNotFound

NewGetKeyGroupNotFound creates a GetKeyGroupNotFound with default headers values

func (*GetKeyGroupNotFound) Error

func (o *GetKeyGroupNotFound) Error() string

func (*GetKeyGroupNotFound) GetPayload

func (*GetKeyGroupNotFound) ToJSONString added in v0.25.0

func (o *GetKeyGroupNotFound) ToJSONString() string

type GetKeyGroupOK

type GetKeyGroupOK struct {
	Payload *platformclientmodels.KeyGroupInfo
}

GetKeyGroupOK handles this case with default header values.

successful operation

func NewGetKeyGroupOK

func NewGetKeyGroupOK() *GetKeyGroupOK

NewGetKeyGroupOK creates a GetKeyGroupOK with default headers values

func (*GetKeyGroupOK) Error

func (o *GetKeyGroupOK) Error() string

func (*GetKeyGroupOK) GetPayload

func (*GetKeyGroupOK) ToJSONString added in v0.25.0

func (o *GetKeyGroupOK) ToJSONString() string

type GetKeyGroupParams

type GetKeyGroupParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*KeyGroupID*/
	KeyGroupID string
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetKeyGroupParams contains all the parameters to send to the API endpoint for the get key group operation typically these are written to a http.Request

func NewGetKeyGroupParams

func NewGetKeyGroupParams() *GetKeyGroupParams

NewGetKeyGroupParams creates a new GetKeyGroupParams object with the default values initialized.

func NewGetKeyGroupParamsWithContext

func NewGetKeyGroupParamsWithContext(ctx context.Context) *GetKeyGroupParams

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

func NewGetKeyGroupParamsWithHTTPClient

func NewGetKeyGroupParamsWithHTTPClient(client *http.Client) *GetKeyGroupParams

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

func NewGetKeyGroupParamsWithTimeout

func NewGetKeyGroupParamsWithTimeout(timeout time.Duration) *GetKeyGroupParams

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

func (*GetKeyGroupParams) SetAuthInfoWriter added in v0.17.0

func (o *GetKeyGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get key group params

func (*GetKeyGroupParams) SetContext

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

SetContext adds the context to the get key group params

func (*GetKeyGroupParams) SetFlightId added in v0.63.0

func (o *GetKeyGroupParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetKeyGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get key group params

func (*GetKeyGroupParams) SetHTTPClientTransport added in v0.19.0

func (o *GetKeyGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get key group params

func (*GetKeyGroupParams) SetKeyGroupID

func (o *GetKeyGroupParams) SetKeyGroupID(keyGroupID string)

SetKeyGroupID adds the keyGroupId to the get key group params

func (*GetKeyGroupParams) SetNamespace

func (o *GetKeyGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get key group params

func (*GetKeyGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get key group params

func (*GetKeyGroupParams) WithContext

func (o *GetKeyGroupParams) WithContext(ctx context.Context) *GetKeyGroupParams

WithContext adds the context to the get key group params

func (*GetKeyGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get key group params

func (*GetKeyGroupParams) WithKeyGroupID

func (o *GetKeyGroupParams) WithKeyGroupID(keyGroupID string) *GetKeyGroupParams

WithKeyGroupID adds the keyGroupID to the get key group params

func (*GetKeyGroupParams) WithNamespace

func (o *GetKeyGroupParams) WithNamespace(namespace string) *GetKeyGroupParams

WithNamespace adds the namespace to the get key group params

func (*GetKeyGroupParams) WithTimeout

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

WithTimeout adds the timeout to the get key group params

func (*GetKeyGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetKeyGroupReader

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

GetKeyGroupReader is a Reader for the GetKeyGroup structure.

func (*GetKeyGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListKeysOK

type ListKeysOK struct {
	Payload *platformclientmodels.KeyPagingSliceResult
}

ListKeysOK handles this case with default header values.

successful operation

func NewListKeysOK

func NewListKeysOK() *ListKeysOK

NewListKeysOK creates a ListKeysOK with default headers values

func (*ListKeysOK) Error

func (o *ListKeysOK) Error() string

func (*ListKeysOK) GetPayload

func (*ListKeysOK) ToJSONString added in v0.25.0

func (o *ListKeysOK) ToJSONString() string

type ListKeysParams

type ListKeysParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*KeyGroupID*/
	KeyGroupID string
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*Limit*/
	Limit *int32
	/*Offset*/
	Offset *int32
	/*Status*/
	Status *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

ListKeysParams contains all the parameters to send to the API endpoint for the list keys operation typically these are written to a http.Request

func NewListKeysParams

func NewListKeysParams() *ListKeysParams

NewListKeysParams creates a new ListKeysParams object with the default values initialized.

func NewListKeysParamsWithContext

func NewListKeysParamsWithContext(ctx context.Context) *ListKeysParams

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

func NewListKeysParamsWithHTTPClient

func NewListKeysParamsWithHTTPClient(client *http.Client) *ListKeysParams

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

func NewListKeysParamsWithTimeout

func NewListKeysParamsWithTimeout(timeout time.Duration) *ListKeysParams

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

func (*ListKeysParams) SetAuthInfoWriter added in v0.17.0

func (o *ListKeysParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the list keys params

func (*ListKeysParams) SetContext

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

SetContext adds the context to the list keys params

func (*ListKeysParams) SetFlightId added in v0.63.0

func (o *ListKeysParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ListKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list keys params

func (*ListKeysParams) SetHTTPClientTransport added in v0.19.0

func (o *ListKeysParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the list keys params

func (*ListKeysParams) SetKeyGroupID

func (o *ListKeysParams) SetKeyGroupID(keyGroupID string)

SetKeyGroupID adds the keyGroupId to the list keys params

func (*ListKeysParams) SetLimit

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

SetLimit adds the limit to the list keys params

func (*ListKeysParams) SetNamespace

func (o *ListKeysParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list keys params

func (*ListKeysParams) SetOffset

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

SetOffset adds the offset to the list keys params

func (*ListKeysParams) SetStatus

func (o *ListKeysParams) SetStatus(status *string)

SetStatus adds the status to the list keys params

func (*ListKeysParams) SetTimeout

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

SetTimeout adds the timeout to the list keys params

func (*ListKeysParams) WithContext

func (o *ListKeysParams) WithContext(ctx context.Context) *ListKeysParams

WithContext adds the context to the list keys params

func (*ListKeysParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list keys params

func (*ListKeysParams) WithKeyGroupID

func (o *ListKeysParams) WithKeyGroupID(keyGroupID string) *ListKeysParams

WithKeyGroupID adds the keyGroupID to the list keys params

func (*ListKeysParams) WithLimit

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

WithLimit adds the limit to the list keys params

func (*ListKeysParams) WithNamespace

func (o *ListKeysParams) WithNamespace(namespace string) *ListKeysParams

WithNamespace adds the namespace to the list keys params

func (*ListKeysParams) WithOffset

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

WithOffset adds the offset to the list keys params

func (*ListKeysParams) WithStatus

func (o *ListKeysParams) WithStatus(status *string) *ListKeysParams

WithStatus adds the status to the list keys params

func (*ListKeysParams) WithTimeout

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

WithTimeout adds the timeout to the list keys params

func (*ListKeysParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListKeysReader

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

ListKeysReader is a Reader for the ListKeys structure.

func (*ListKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryKeyGroupsOK

type QueryKeyGroupsOK struct {
	Payload *platformclientmodels.KeyGroupPagingSlicedResult
}

QueryKeyGroupsOK handles this case with default header values.

successful operation

func NewQueryKeyGroupsOK

func NewQueryKeyGroupsOK() *QueryKeyGroupsOK

NewQueryKeyGroupsOK creates a QueryKeyGroupsOK with default headers values

func (*QueryKeyGroupsOK) Error

func (o *QueryKeyGroupsOK) Error() string

func (*QueryKeyGroupsOK) GetPayload

func (*QueryKeyGroupsOK) ToJSONString added in v0.25.0

func (o *QueryKeyGroupsOK) ToJSONString() string

type QueryKeyGroupsParams

type QueryKeyGroupsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*Limit*/
	Limit *int32
	/*Name*/
	Name *string
	/*Offset*/
	Offset *int32
	/*Tag*/
	Tag *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

QueryKeyGroupsParams contains all the parameters to send to the API endpoint for the query key groups operation typically these are written to a http.Request

func NewQueryKeyGroupsParams

func NewQueryKeyGroupsParams() *QueryKeyGroupsParams

NewQueryKeyGroupsParams creates a new QueryKeyGroupsParams object with the default values initialized.

func NewQueryKeyGroupsParamsWithContext

func NewQueryKeyGroupsParamsWithContext(ctx context.Context) *QueryKeyGroupsParams

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

func NewQueryKeyGroupsParamsWithHTTPClient

func NewQueryKeyGroupsParamsWithHTTPClient(client *http.Client) *QueryKeyGroupsParams

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

func NewQueryKeyGroupsParamsWithTimeout

func NewQueryKeyGroupsParamsWithTimeout(timeout time.Duration) *QueryKeyGroupsParams

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

func (*QueryKeyGroupsParams) SetAuthInfoWriter added in v0.17.0

func (o *QueryKeyGroupsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the query key groups params

func (*QueryKeyGroupsParams) SetContext

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

SetContext adds the context to the query key groups params

func (*QueryKeyGroupsParams) SetFlightId added in v0.63.0

func (o *QueryKeyGroupsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*QueryKeyGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query key groups params

func (*QueryKeyGroupsParams) SetHTTPClientTransport added in v0.19.0

func (o *QueryKeyGroupsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the query key groups params

func (*QueryKeyGroupsParams) SetLimit

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

SetLimit adds the limit to the query key groups params

func (*QueryKeyGroupsParams) SetName

func (o *QueryKeyGroupsParams) SetName(name *string)

SetName adds the name to the query key groups params

func (*QueryKeyGroupsParams) SetNamespace

func (o *QueryKeyGroupsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query key groups params

func (*QueryKeyGroupsParams) SetOffset

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

SetOffset adds the offset to the query key groups params

func (*QueryKeyGroupsParams) SetTag

func (o *QueryKeyGroupsParams) SetTag(tag *string)

SetTag adds the tag to the query key groups params

func (*QueryKeyGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the query key groups params

func (*QueryKeyGroupsParams) WithContext

WithContext adds the context to the query key groups params

func (*QueryKeyGroupsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query key groups params

func (*QueryKeyGroupsParams) WithLimit

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

WithLimit adds the limit to the query key groups params

func (*QueryKeyGroupsParams) WithName

func (o *QueryKeyGroupsParams) WithName(name *string) *QueryKeyGroupsParams

WithName adds the name to the query key groups params

func (*QueryKeyGroupsParams) WithNamespace

func (o *QueryKeyGroupsParams) WithNamespace(namespace string) *QueryKeyGroupsParams

WithNamespace adds the namespace to the query key groups params

func (*QueryKeyGroupsParams) WithOffset

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

WithOffset adds the offset to the query key groups params

func (*QueryKeyGroupsParams) WithTag

WithTag adds the tag to the query key groups params

func (*QueryKeyGroupsParams) WithTimeout

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

WithTimeout adds the timeout to the query key groups params

func (*QueryKeyGroupsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type QueryKeyGroupsReader

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

QueryKeyGroupsReader is a Reader for the QueryKeyGroups structure.

func (*QueryKeyGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateKeyGroupConflict

type UpdateKeyGroupConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateKeyGroupConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37271</td><td>Key group [{name}] already exists in namespace [{namespace}]</td></tr></table>

func NewUpdateKeyGroupConflict

func NewUpdateKeyGroupConflict() *UpdateKeyGroupConflict

NewUpdateKeyGroupConflict creates a UpdateKeyGroupConflict with default headers values

func (*UpdateKeyGroupConflict) Error

func (o *UpdateKeyGroupConflict) Error() string

func (*UpdateKeyGroupConflict) GetPayload

func (*UpdateKeyGroupConflict) ToJSONString added in v0.25.0

func (o *UpdateKeyGroupConflict) ToJSONString() string

type UpdateKeyGroupNotFound

type UpdateKeyGroupNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateKeyGroupNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37241</td><td>Key group [{keyGroupId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewUpdateKeyGroupNotFound

func NewUpdateKeyGroupNotFound() *UpdateKeyGroupNotFound

NewUpdateKeyGroupNotFound creates a UpdateKeyGroupNotFound with default headers values

func (*UpdateKeyGroupNotFound) Error

func (o *UpdateKeyGroupNotFound) Error() string

func (*UpdateKeyGroupNotFound) GetPayload

func (*UpdateKeyGroupNotFound) ToJSONString added in v0.25.0

func (o *UpdateKeyGroupNotFound) ToJSONString() string

type UpdateKeyGroupOK

type UpdateKeyGroupOK struct {
	Payload *platformclientmodels.KeyGroupInfo
}

UpdateKeyGroupOK handles this case with default header values.

successful operation

func NewUpdateKeyGroupOK

func NewUpdateKeyGroupOK() *UpdateKeyGroupOK

NewUpdateKeyGroupOK creates a UpdateKeyGroupOK with default headers values

func (*UpdateKeyGroupOK) Error

func (o *UpdateKeyGroupOK) Error() string

func (*UpdateKeyGroupOK) GetPayload

func (*UpdateKeyGroupOK) ToJSONString added in v0.25.0

func (o *UpdateKeyGroupOK) ToJSONString() string

type UpdateKeyGroupParams

type UpdateKeyGroupParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.KeyGroupUpdate
	/*KeyGroupID*/
	KeyGroupID string
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

UpdateKeyGroupParams contains all the parameters to send to the API endpoint for the update key group operation typically these are written to a http.Request

func NewUpdateKeyGroupParams

func NewUpdateKeyGroupParams() *UpdateKeyGroupParams

NewUpdateKeyGroupParams creates a new UpdateKeyGroupParams object with the default values initialized.

func NewUpdateKeyGroupParamsWithContext

func NewUpdateKeyGroupParamsWithContext(ctx context.Context) *UpdateKeyGroupParams

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

func NewUpdateKeyGroupParamsWithHTTPClient

func NewUpdateKeyGroupParamsWithHTTPClient(client *http.Client) *UpdateKeyGroupParams

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

func NewUpdateKeyGroupParamsWithTimeout

func NewUpdateKeyGroupParamsWithTimeout(timeout time.Duration) *UpdateKeyGroupParams

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

func (*UpdateKeyGroupParams) SetAuthInfoWriter added in v0.17.0

func (o *UpdateKeyGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update key group params

func (*UpdateKeyGroupParams) SetBody

SetBody adds the body to the update key group params

func (*UpdateKeyGroupParams) SetContext

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

SetContext adds the context to the update key group params

func (*UpdateKeyGroupParams) SetFlightId added in v0.63.0

func (o *UpdateKeyGroupParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*UpdateKeyGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update key group params

func (*UpdateKeyGroupParams) SetHTTPClientTransport added in v0.19.0

func (o *UpdateKeyGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update key group params

func (*UpdateKeyGroupParams) SetKeyGroupID

func (o *UpdateKeyGroupParams) SetKeyGroupID(keyGroupID string)

SetKeyGroupID adds the keyGroupId to the update key group params

func (*UpdateKeyGroupParams) SetNamespace

func (o *UpdateKeyGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update key group params

func (*UpdateKeyGroupParams) SetTimeout

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

SetTimeout adds the timeout to the update key group params

func (*UpdateKeyGroupParams) WithBody

WithBody adds the body to the update key group params

func (*UpdateKeyGroupParams) WithContext

WithContext adds the context to the update key group params

func (*UpdateKeyGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update key group params

func (*UpdateKeyGroupParams) WithKeyGroupID

func (o *UpdateKeyGroupParams) WithKeyGroupID(keyGroupID string) *UpdateKeyGroupParams

WithKeyGroupID adds the keyGroupID to the update key group params

func (*UpdateKeyGroupParams) WithNamespace

func (o *UpdateKeyGroupParams) WithNamespace(namespace string) *UpdateKeyGroupParams

WithNamespace adds the namespace to the update key group params

func (*UpdateKeyGroupParams) WithTimeout

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

WithTimeout adds the timeout to the update key group params

func (*UpdateKeyGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateKeyGroupReader

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

UpdateKeyGroupReader is a Reader for the UpdateKeyGroup structure.

func (*UpdateKeyGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateKeyGroupUnprocessableEntity

type UpdateKeyGroupUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

UpdateKeyGroupUnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewUpdateKeyGroupUnprocessableEntity

func NewUpdateKeyGroupUnprocessableEntity() *UpdateKeyGroupUnprocessableEntity

NewUpdateKeyGroupUnprocessableEntity creates a UpdateKeyGroupUnprocessableEntity with default headers values

func (*UpdateKeyGroupUnprocessableEntity) Error

func (*UpdateKeyGroupUnprocessableEntity) GetPayload

func (*UpdateKeyGroupUnprocessableEntity) ToJSONString added in v0.25.0

func (o *UpdateKeyGroupUnprocessableEntity) ToJSONString() string

type UploadKeysBadRequest

type UploadKeysBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

UploadKeysBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37221</td><td>Invalid key file</td></tr></table>

func NewUploadKeysBadRequest

func NewUploadKeysBadRequest() *UploadKeysBadRequest

NewUploadKeysBadRequest creates a UploadKeysBadRequest with default headers values

func (*UploadKeysBadRequest) Error

func (o *UploadKeysBadRequest) Error() string

func (*UploadKeysBadRequest) GetPayload

func (*UploadKeysBadRequest) ToJSONString added in v0.25.0

func (o *UploadKeysBadRequest) ToJSONString() string

type UploadKeysNotFound

type UploadKeysNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

UploadKeysNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37241</td><td>Key group [{keyGroupId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewUploadKeysNotFound

func NewUploadKeysNotFound() *UploadKeysNotFound

NewUploadKeysNotFound creates a UploadKeysNotFound with default headers values

func (*UploadKeysNotFound) Error

func (o *UploadKeysNotFound) Error() string

func (*UploadKeysNotFound) GetPayload

func (*UploadKeysNotFound) ToJSONString added in v0.25.0

func (o *UploadKeysNotFound) ToJSONString() string

type UploadKeysOK

type UploadKeysOK struct {
	Payload *platformclientmodels.BulkOperationResult
}

UploadKeysOK handles this case with default header values.

successful operation

func NewUploadKeysOK

func NewUploadKeysOK() *UploadKeysOK

NewUploadKeysOK creates a UploadKeysOK with default headers values

func (*UploadKeysOK) Error

func (o *UploadKeysOK) Error() string

func (*UploadKeysOK) GetPayload

func (*UploadKeysOK) ToJSONString added in v0.25.0

func (o *UploadKeysOK) ToJSONString() string

type UploadKeysParams

type UploadKeysParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*File*/
	File runtime.NamedReadCloser
	/*KeyGroupID*/
	KeyGroupID string
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

UploadKeysParams contains all the parameters to send to the API endpoint for the upload keys operation typically these are written to a http.Request

func NewUploadKeysParams

func NewUploadKeysParams() *UploadKeysParams

NewUploadKeysParams creates a new UploadKeysParams object with the default values initialized.

func NewUploadKeysParamsWithContext

func NewUploadKeysParamsWithContext(ctx context.Context) *UploadKeysParams

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

func NewUploadKeysParamsWithHTTPClient

func NewUploadKeysParamsWithHTTPClient(client *http.Client) *UploadKeysParams

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

func NewUploadKeysParamsWithTimeout

func NewUploadKeysParamsWithTimeout(timeout time.Duration) *UploadKeysParams

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

func (*UploadKeysParams) SetAuthInfoWriter added in v0.17.0

func (o *UploadKeysParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the upload keys params

func (*UploadKeysParams) SetContext

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

SetContext adds the context to the upload keys params

func (*UploadKeysParams) SetFile

func (o *UploadKeysParams) SetFile(file runtime.NamedReadCloser)

SetFile adds the file to the upload keys params

func (*UploadKeysParams) SetFlightId added in v0.63.0

func (o *UploadKeysParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*UploadKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload keys params

func (*UploadKeysParams) SetHTTPClientTransport added in v0.19.0

func (o *UploadKeysParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the upload keys params

func (*UploadKeysParams) SetKeyGroupID

func (o *UploadKeysParams) SetKeyGroupID(keyGroupID string)

SetKeyGroupID adds the keyGroupId to the upload keys params

func (*UploadKeysParams) SetNamespace

func (o *UploadKeysParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the upload keys params

func (*UploadKeysParams) SetTimeout

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

SetTimeout adds the timeout to the upload keys params

func (*UploadKeysParams) WithContext

func (o *UploadKeysParams) WithContext(ctx context.Context) *UploadKeysParams

WithContext adds the context to the upload keys params

func (*UploadKeysParams) WithFile

WithFile adds the file to the upload keys params

func (*UploadKeysParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the upload keys params

func (*UploadKeysParams) WithKeyGroupID

func (o *UploadKeysParams) WithKeyGroupID(keyGroupID string) *UploadKeysParams

WithKeyGroupID adds the keyGroupID to the upload keys params

func (*UploadKeysParams) WithNamespace

func (o *UploadKeysParams) WithNamespace(namespace string) *UploadKeysParams

WithNamespace adds the namespace to the upload keys params

func (*UploadKeysParams) WithTimeout

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

WithTimeout adds the timeout to the upload keys params

func (*UploadKeysParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UploadKeysReader

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

UploadKeysReader is a Reader for the UploadKeys structure.

func (*UploadKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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