Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) DeleteAPIKeyCollectionID(params *DeleteAPIKeyCollectionIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteAPIKeyCollectionIDOK, error)
- func (a *Client) DeleteAPIKeyCollectionIDItem(params *DeleteAPIKeyCollectionIDItemParams, ...) (*DeleteAPIKeyCollectionIDItemOK, error)
- func (a *Client) GetAPIKeyCollectionID(params *GetAPIKeyCollectionIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAPIKeyCollectionIDOK, error)
- func (a *Client) PostAPIKeyCollection(params *PostAPIKeyCollectionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostAPIKeyCollectionOK, error)
- func (a *Client) PostAPIKeyCollectionIDItem(params *PostAPIKeyCollectionIDItemParams, ...) (*PostAPIKeyCollectionIDItemOK, error)
- func (a *Client) PostAPIKeyCollectionList(params *PostAPIKeyCollectionListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostAPIKeyCollectionListOK, error)
- func (a *Client) PostAPIKeyCollectionUsernameList(params *PostAPIKeyCollectionUsernameListParams, ...) (*PostAPIKeyCollectionUsernameListOK, error)
- func (a *Client) PutAPIKeyCollectionID(params *PutAPIKeyCollectionIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PutAPIKeyCollectionIDOK, error)
- func (a *Client) PutAPIKeyCollectionIDVote(params *PutAPIKeyCollectionIDVoteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PutAPIKeyCollectionIDVoteOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteAPIKeyCollectionIDBadRequest
- func (o *DeleteAPIKeyCollectionIDBadRequest) Code() int
- func (o *DeleteAPIKeyCollectionIDBadRequest) Error() string
- func (o *DeleteAPIKeyCollectionIDBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *DeleteAPIKeyCollectionIDBadRequest) IsClientError() bool
- func (o *DeleteAPIKeyCollectionIDBadRequest) IsCode(code int) bool
- func (o *DeleteAPIKeyCollectionIDBadRequest) IsRedirect() bool
- func (o *DeleteAPIKeyCollectionIDBadRequest) IsServerError() bool
- func (o *DeleteAPIKeyCollectionIDBadRequest) IsSuccess() bool
- func (o *DeleteAPIKeyCollectionIDBadRequest) String() string
- type DeleteAPIKeyCollectionIDInternalServerError
- func (o *DeleteAPIKeyCollectionIDInternalServerError) Code() int
- func (o *DeleteAPIKeyCollectionIDInternalServerError) Error() string
- func (o *DeleteAPIKeyCollectionIDInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *DeleteAPIKeyCollectionIDInternalServerError) IsClientError() bool
- func (o *DeleteAPIKeyCollectionIDInternalServerError) IsCode(code int) bool
- func (o *DeleteAPIKeyCollectionIDInternalServerError) IsRedirect() bool
- func (o *DeleteAPIKeyCollectionIDInternalServerError) IsServerError() bool
- func (o *DeleteAPIKeyCollectionIDInternalServerError) IsSuccess() bool
- func (o *DeleteAPIKeyCollectionIDInternalServerError) String() string
- type DeleteAPIKeyCollectionIDItemBadRequest
- func (o *DeleteAPIKeyCollectionIDItemBadRequest) Code() int
- func (o *DeleteAPIKeyCollectionIDItemBadRequest) Error() string
- func (o *DeleteAPIKeyCollectionIDItemBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *DeleteAPIKeyCollectionIDItemBadRequest) IsClientError() bool
- func (o *DeleteAPIKeyCollectionIDItemBadRequest) IsCode(code int) bool
- func (o *DeleteAPIKeyCollectionIDItemBadRequest) IsRedirect() bool
- func (o *DeleteAPIKeyCollectionIDItemBadRequest) IsServerError() bool
- func (o *DeleteAPIKeyCollectionIDItemBadRequest) IsSuccess() bool
- func (o *DeleteAPIKeyCollectionIDItemBadRequest) String() string
- type DeleteAPIKeyCollectionIDItemInternalServerError
- func (o *DeleteAPIKeyCollectionIDItemInternalServerError) Code() int
- func (o *DeleteAPIKeyCollectionIDItemInternalServerError) Error() string
- func (o *DeleteAPIKeyCollectionIDItemInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *DeleteAPIKeyCollectionIDItemInternalServerError) IsClientError() bool
- func (o *DeleteAPIKeyCollectionIDItemInternalServerError) IsCode(code int) bool
- func (o *DeleteAPIKeyCollectionIDItemInternalServerError) IsRedirect() bool
- func (o *DeleteAPIKeyCollectionIDItemInternalServerError) IsServerError() bool
- func (o *DeleteAPIKeyCollectionIDItemInternalServerError) IsSuccess() bool
- func (o *DeleteAPIKeyCollectionIDItemInternalServerError) String() string
- type DeleteAPIKeyCollectionIDItemOK
- func (o *DeleteAPIKeyCollectionIDItemOK) Code() int
- func (o *DeleteAPIKeyCollectionIDItemOK) Error() string
- func (o *DeleteAPIKeyCollectionIDItemOK) GetPayload() *models.ResponseCollectionReponse
- func (o *DeleteAPIKeyCollectionIDItemOK) IsClientError() bool
- func (o *DeleteAPIKeyCollectionIDItemOK) IsCode(code int) bool
- func (o *DeleteAPIKeyCollectionIDItemOK) IsRedirect() bool
- func (o *DeleteAPIKeyCollectionIDItemOK) IsServerError() bool
- func (o *DeleteAPIKeyCollectionIDItemOK) IsSuccess() bool
- func (o *DeleteAPIKeyCollectionIDItemOK) String() string
- type DeleteAPIKeyCollectionIDItemParams
- func NewDeleteAPIKeyCollectionIDItemParams() *DeleteAPIKeyCollectionIDItemParams
- func NewDeleteAPIKeyCollectionIDItemParamsWithContext(ctx context.Context) *DeleteAPIKeyCollectionIDItemParams
- func NewDeleteAPIKeyCollectionIDItemParamsWithHTTPClient(client *http.Client) *DeleteAPIKeyCollectionIDItemParams
- func NewDeleteAPIKeyCollectionIDItemParamsWithTimeout(timeout time.Duration) *DeleteAPIKeyCollectionIDItemParams
- func (o *DeleteAPIKeyCollectionIDItemParams) SetContext(ctx context.Context)
- func (o *DeleteAPIKeyCollectionIDItemParams) SetDefaults()
- func (o *DeleteAPIKeyCollectionIDItemParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPIKeyCollectionIDItemParams) SetID(id string)
- func (o *DeleteAPIKeyCollectionIDItemParams) SetInput(input *models.RequestRemoveItemFromCollectionRequest)
- func (o *DeleteAPIKeyCollectionIDItemParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPIKeyCollectionIDItemParams) WithContext(ctx context.Context) *DeleteAPIKeyCollectionIDItemParams
- func (o *DeleteAPIKeyCollectionIDItemParams) WithDefaults() *DeleteAPIKeyCollectionIDItemParams
- func (o *DeleteAPIKeyCollectionIDItemParams) WithHTTPClient(client *http.Client) *DeleteAPIKeyCollectionIDItemParams
- func (o *DeleteAPIKeyCollectionIDItemParams) WithID(id string) *DeleteAPIKeyCollectionIDItemParams
- func (o *DeleteAPIKeyCollectionIDItemParams) WithInput(input *models.RequestRemoveItemFromCollectionRequest) *DeleteAPIKeyCollectionIDItemParams
- func (o *DeleteAPIKeyCollectionIDItemParams) WithTimeout(timeout time.Duration) *DeleteAPIKeyCollectionIDItemParams
- func (o *DeleteAPIKeyCollectionIDItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPIKeyCollectionIDItemReader
- type DeleteAPIKeyCollectionIDOK
- func (o *DeleteAPIKeyCollectionIDOK) Code() int
- func (o *DeleteAPIKeyCollectionIDOK) Error() string
- func (o *DeleteAPIKeyCollectionIDOK) GetPayload() *models.ResponseCollectionReponse
- func (o *DeleteAPIKeyCollectionIDOK) IsClientError() bool
- func (o *DeleteAPIKeyCollectionIDOK) IsCode(code int) bool
- func (o *DeleteAPIKeyCollectionIDOK) IsRedirect() bool
- func (o *DeleteAPIKeyCollectionIDOK) IsServerError() bool
- func (o *DeleteAPIKeyCollectionIDOK) IsSuccess() bool
- func (o *DeleteAPIKeyCollectionIDOK) String() string
- type DeleteAPIKeyCollectionIDParams
- func NewDeleteAPIKeyCollectionIDParams() *DeleteAPIKeyCollectionIDParams
- func NewDeleteAPIKeyCollectionIDParamsWithContext(ctx context.Context) *DeleteAPIKeyCollectionIDParams
- func NewDeleteAPIKeyCollectionIDParamsWithHTTPClient(client *http.Client) *DeleteAPIKeyCollectionIDParams
- func NewDeleteAPIKeyCollectionIDParamsWithTimeout(timeout time.Duration) *DeleteAPIKeyCollectionIDParams
- func (o *DeleteAPIKeyCollectionIDParams) SetContext(ctx context.Context)
- func (o *DeleteAPIKeyCollectionIDParams) SetDefaults()
- func (o *DeleteAPIKeyCollectionIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPIKeyCollectionIDParams) SetID(id string)
- func (o *DeleteAPIKeyCollectionIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPIKeyCollectionIDParams) WithContext(ctx context.Context) *DeleteAPIKeyCollectionIDParams
- func (o *DeleteAPIKeyCollectionIDParams) WithDefaults() *DeleteAPIKeyCollectionIDParams
- func (o *DeleteAPIKeyCollectionIDParams) WithHTTPClient(client *http.Client) *DeleteAPIKeyCollectionIDParams
- func (o *DeleteAPIKeyCollectionIDParams) WithID(id string) *DeleteAPIKeyCollectionIDParams
- func (o *DeleteAPIKeyCollectionIDParams) WithTimeout(timeout time.Duration) *DeleteAPIKeyCollectionIDParams
- func (o *DeleteAPIKeyCollectionIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPIKeyCollectionIDReader
- type GetAPIKeyCollectionIDBadRequest
- func (o *GetAPIKeyCollectionIDBadRequest) Code() int
- func (o *GetAPIKeyCollectionIDBadRequest) Error() string
- func (o *GetAPIKeyCollectionIDBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetAPIKeyCollectionIDBadRequest) IsClientError() bool
- func (o *GetAPIKeyCollectionIDBadRequest) IsCode(code int) bool
- func (o *GetAPIKeyCollectionIDBadRequest) IsRedirect() bool
- func (o *GetAPIKeyCollectionIDBadRequest) IsServerError() bool
- func (o *GetAPIKeyCollectionIDBadRequest) IsSuccess() bool
- func (o *GetAPIKeyCollectionIDBadRequest) String() string
- type GetAPIKeyCollectionIDInternalServerError
- func (o *GetAPIKeyCollectionIDInternalServerError) Code() int
- func (o *GetAPIKeyCollectionIDInternalServerError) Error() string
- func (o *GetAPIKeyCollectionIDInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetAPIKeyCollectionIDInternalServerError) IsClientError() bool
- func (o *GetAPIKeyCollectionIDInternalServerError) IsCode(code int) bool
- func (o *GetAPIKeyCollectionIDInternalServerError) IsRedirect() bool
- func (o *GetAPIKeyCollectionIDInternalServerError) IsServerError() bool
- func (o *GetAPIKeyCollectionIDInternalServerError) IsSuccess() bool
- func (o *GetAPIKeyCollectionIDInternalServerError) String() string
- type GetAPIKeyCollectionIDOK
- func (o *GetAPIKeyCollectionIDOK) Code() int
- func (o *GetAPIKeyCollectionIDOK) Error() string
- func (o *GetAPIKeyCollectionIDOK) GetPayload() *models.ResponseCollectionReponse
- func (o *GetAPIKeyCollectionIDOK) IsClientError() bool
- func (o *GetAPIKeyCollectionIDOK) IsCode(code int) bool
- func (o *GetAPIKeyCollectionIDOK) IsRedirect() bool
- func (o *GetAPIKeyCollectionIDOK) IsServerError() bool
- func (o *GetAPIKeyCollectionIDOK) IsSuccess() bool
- func (o *GetAPIKeyCollectionIDOK) String() string
- type GetAPIKeyCollectionIDParams
- func NewGetAPIKeyCollectionIDParams() *GetAPIKeyCollectionIDParams
- func NewGetAPIKeyCollectionIDParamsWithContext(ctx context.Context) *GetAPIKeyCollectionIDParams
- func NewGetAPIKeyCollectionIDParamsWithHTTPClient(client *http.Client) *GetAPIKeyCollectionIDParams
- func NewGetAPIKeyCollectionIDParamsWithTimeout(timeout time.Duration) *GetAPIKeyCollectionIDParams
- func (o *GetAPIKeyCollectionIDParams) SetContext(ctx context.Context)
- func (o *GetAPIKeyCollectionIDParams) SetDefaults()
- func (o *GetAPIKeyCollectionIDParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIKeyCollectionIDParams) SetID(id string)
- func (o *GetAPIKeyCollectionIDParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIKeyCollectionIDParams) WithContext(ctx context.Context) *GetAPIKeyCollectionIDParams
- func (o *GetAPIKeyCollectionIDParams) WithDefaults() *GetAPIKeyCollectionIDParams
- func (o *GetAPIKeyCollectionIDParams) WithHTTPClient(client *http.Client) *GetAPIKeyCollectionIDParams
- func (o *GetAPIKeyCollectionIDParams) WithID(id string) *GetAPIKeyCollectionIDParams
- func (o *GetAPIKeyCollectionIDParams) WithTimeout(timeout time.Duration) *GetAPIKeyCollectionIDParams
- func (o *GetAPIKeyCollectionIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIKeyCollectionIDReader
- type PostAPIKeyCollectionBadRequest
- func (o *PostAPIKeyCollectionBadRequest) Code() int
- func (o *PostAPIKeyCollectionBadRequest) Error() string
- func (o *PostAPIKeyCollectionBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostAPIKeyCollectionBadRequest) IsClientError() bool
- func (o *PostAPIKeyCollectionBadRequest) IsCode(code int) bool
- func (o *PostAPIKeyCollectionBadRequest) IsRedirect() bool
- func (o *PostAPIKeyCollectionBadRequest) IsServerError() bool
- func (o *PostAPIKeyCollectionBadRequest) IsSuccess() bool
- func (o *PostAPIKeyCollectionBadRequest) String() string
- type PostAPIKeyCollectionIDItemBadRequest
- func (o *PostAPIKeyCollectionIDItemBadRequest) Code() int
- func (o *PostAPIKeyCollectionIDItemBadRequest) Error() string
- func (o *PostAPIKeyCollectionIDItemBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostAPIKeyCollectionIDItemBadRequest) IsClientError() bool
- func (o *PostAPIKeyCollectionIDItemBadRequest) IsCode(code int) bool
- func (o *PostAPIKeyCollectionIDItemBadRequest) IsRedirect() bool
- func (o *PostAPIKeyCollectionIDItemBadRequest) IsServerError() bool
- func (o *PostAPIKeyCollectionIDItemBadRequest) IsSuccess() bool
- func (o *PostAPIKeyCollectionIDItemBadRequest) String() string
- type PostAPIKeyCollectionIDItemInternalServerError
- func (o *PostAPIKeyCollectionIDItemInternalServerError) Code() int
- func (o *PostAPIKeyCollectionIDItemInternalServerError) Error() string
- func (o *PostAPIKeyCollectionIDItemInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostAPIKeyCollectionIDItemInternalServerError) IsClientError() bool
- func (o *PostAPIKeyCollectionIDItemInternalServerError) IsCode(code int) bool
- func (o *PostAPIKeyCollectionIDItemInternalServerError) IsRedirect() bool
- func (o *PostAPIKeyCollectionIDItemInternalServerError) IsServerError() bool
- func (o *PostAPIKeyCollectionIDItemInternalServerError) IsSuccess() bool
- func (o *PostAPIKeyCollectionIDItemInternalServerError) String() string
- type PostAPIKeyCollectionIDItemOK
- func (o *PostAPIKeyCollectionIDItemOK) Code() int
- func (o *PostAPIKeyCollectionIDItemOK) Error() string
- func (o *PostAPIKeyCollectionIDItemOK) GetPayload() *models.ResponseCollectionReponse
- func (o *PostAPIKeyCollectionIDItemOK) IsClientError() bool
- func (o *PostAPIKeyCollectionIDItemOK) IsCode(code int) bool
- func (o *PostAPIKeyCollectionIDItemOK) IsRedirect() bool
- func (o *PostAPIKeyCollectionIDItemOK) IsServerError() bool
- func (o *PostAPIKeyCollectionIDItemOK) IsSuccess() bool
- func (o *PostAPIKeyCollectionIDItemOK) String() string
- type PostAPIKeyCollectionIDItemParams
- func NewPostAPIKeyCollectionIDItemParams() *PostAPIKeyCollectionIDItemParams
- func NewPostAPIKeyCollectionIDItemParamsWithContext(ctx context.Context) *PostAPIKeyCollectionIDItemParams
- func NewPostAPIKeyCollectionIDItemParamsWithHTTPClient(client *http.Client) *PostAPIKeyCollectionIDItemParams
- func NewPostAPIKeyCollectionIDItemParamsWithTimeout(timeout time.Duration) *PostAPIKeyCollectionIDItemParams
- func (o *PostAPIKeyCollectionIDItemParams) SetContext(ctx context.Context)
- func (o *PostAPIKeyCollectionIDItemParams) SetDefaults()
- func (o *PostAPIKeyCollectionIDItemParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIKeyCollectionIDItemParams) SetID(id string)
- func (o *PostAPIKeyCollectionIDItemParams) SetInput(input *models.RequestAddItemToCollectionRequest)
- func (o *PostAPIKeyCollectionIDItemParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIKeyCollectionIDItemParams) WithContext(ctx context.Context) *PostAPIKeyCollectionIDItemParams
- func (o *PostAPIKeyCollectionIDItemParams) WithDefaults() *PostAPIKeyCollectionIDItemParams
- func (o *PostAPIKeyCollectionIDItemParams) WithHTTPClient(client *http.Client) *PostAPIKeyCollectionIDItemParams
- func (o *PostAPIKeyCollectionIDItemParams) WithID(id string) *PostAPIKeyCollectionIDItemParams
- func (o *PostAPIKeyCollectionIDItemParams) WithInput(input *models.RequestAddItemToCollectionRequest) *PostAPIKeyCollectionIDItemParams
- func (o *PostAPIKeyCollectionIDItemParams) WithTimeout(timeout time.Duration) *PostAPIKeyCollectionIDItemParams
- func (o *PostAPIKeyCollectionIDItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIKeyCollectionIDItemReader
- type PostAPIKeyCollectionInternalServerError
- func (o *PostAPIKeyCollectionInternalServerError) Code() int
- func (o *PostAPIKeyCollectionInternalServerError) Error() string
- func (o *PostAPIKeyCollectionInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostAPIKeyCollectionInternalServerError) IsClientError() bool
- func (o *PostAPIKeyCollectionInternalServerError) IsCode(code int) bool
- func (o *PostAPIKeyCollectionInternalServerError) IsRedirect() bool
- func (o *PostAPIKeyCollectionInternalServerError) IsServerError() bool
- func (o *PostAPIKeyCollectionInternalServerError) IsSuccess() bool
- func (o *PostAPIKeyCollectionInternalServerError) String() string
- type PostAPIKeyCollectionListBadRequest
- func (o *PostAPIKeyCollectionListBadRequest) Code() int
- func (o *PostAPIKeyCollectionListBadRequest) Error() string
- func (o *PostAPIKeyCollectionListBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostAPIKeyCollectionListBadRequest) IsClientError() bool
- func (o *PostAPIKeyCollectionListBadRequest) IsCode(code int) bool
- func (o *PostAPIKeyCollectionListBadRequest) IsRedirect() bool
- func (o *PostAPIKeyCollectionListBadRequest) IsServerError() bool
- func (o *PostAPIKeyCollectionListBadRequest) IsSuccess() bool
- func (o *PostAPIKeyCollectionListBadRequest) String() string
- type PostAPIKeyCollectionListInternalServerError
- func (o *PostAPIKeyCollectionListInternalServerError) Code() int
- func (o *PostAPIKeyCollectionListInternalServerError) Error() string
- func (o *PostAPIKeyCollectionListInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostAPIKeyCollectionListInternalServerError) IsClientError() bool
- func (o *PostAPIKeyCollectionListInternalServerError) IsCode(code int) bool
- func (o *PostAPIKeyCollectionListInternalServerError) IsRedirect() bool
- func (o *PostAPIKeyCollectionListInternalServerError) IsServerError() bool
- func (o *PostAPIKeyCollectionListInternalServerError) IsSuccess() bool
- func (o *PostAPIKeyCollectionListInternalServerError) String() string
- type PostAPIKeyCollectionListOK
- func (o *PostAPIKeyCollectionListOK) Code() int
- func (o *PostAPIKeyCollectionListOK) Error() string
- func (o *PostAPIKeyCollectionListOK) GetPayload() *models.ResponseCollectionListResponse
- func (o *PostAPIKeyCollectionListOK) IsClientError() bool
- func (o *PostAPIKeyCollectionListOK) IsCode(code int) bool
- func (o *PostAPIKeyCollectionListOK) IsRedirect() bool
- func (o *PostAPIKeyCollectionListOK) IsServerError() bool
- func (o *PostAPIKeyCollectionListOK) IsSuccess() bool
- func (o *PostAPIKeyCollectionListOK) String() string
- type PostAPIKeyCollectionListParams
- func NewPostAPIKeyCollectionListParams() *PostAPIKeyCollectionListParams
- func NewPostAPIKeyCollectionListParamsWithContext(ctx context.Context) *PostAPIKeyCollectionListParams
- func NewPostAPIKeyCollectionListParamsWithHTTPClient(client *http.Client) *PostAPIKeyCollectionListParams
- func NewPostAPIKeyCollectionListParamsWithTimeout(timeout time.Duration) *PostAPIKeyCollectionListParams
- func (o *PostAPIKeyCollectionListParams) SetContext(ctx context.Context)
- func (o *PostAPIKeyCollectionListParams) SetDefaults()
- func (o *PostAPIKeyCollectionListParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIKeyCollectionListParams) SetInput(input *models.RequestGetListCollectionRequest)
- func (o *PostAPIKeyCollectionListParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIKeyCollectionListParams) WithContext(ctx context.Context) *PostAPIKeyCollectionListParams
- func (o *PostAPIKeyCollectionListParams) WithDefaults() *PostAPIKeyCollectionListParams
- func (o *PostAPIKeyCollectionListParams) WithHTTPClient(client *http.Client) *PostAPIKeyCollectionListParams
- func (o *PostAPIKeyCollectionListParams) WithInput(input *models.RequestGetListCollectionRequest) *PostAPIKeyCollectionListParams
- func (o *PostAPIKeyCollectionListParams) WithTimeout(timeout time.Duration) *PostAPIKeyCollectionListParams
- func (o *PostAPIKeyCollectionListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIKeyCollectionListReader
- type PostAPIKeyCollectionOK
- func (o *PostAPIKeyCollectionOK) Code() int
- func (o *PostAPIKeyCollectionOK) Error() string
- func (o *PostAPIKeyCollectionOK) GetPayload() *models.ResponseCollectionReponse
- func (o *PostAPIKeyCollectionOK) IsClientError() bool
- func (o *PostAPIKeyCollectionOK) IsCode(code int) bool
- func (o *PostAPIKeyCollectionOK) IsRedirect() bool
- func (o *PostAPIKeyCollectionOK) IsServerError() bool
- func (o *PostAPIKeyCollectionOK) IsSuccess() bool
- func (o *PostAPIKeyCollectionOK) String() string
- type PostAPIKeyCollectionParams
- func NewPostAPIKeyCollectionParams() *PostAPIKeyCollectionParams
- func NewPostAPIKeyCollectionParamsWithContext(ctx context.Context) *PostAPIKeyCollectionParams
- func NewPostAPIKeyCollectionParamsWithHTTPClient(client *http.Client) *PostAPIKeyCollectionParams
- func NewPostAPIKeyCollectionParamsWithTimeout(timeout time.Duration) *PostAPIKeyCollectionParams
- func (o *PostAPIKeyCollectionParams) SetContext(ctx context.Context)
- func (o *PostAPIKeyCollectionParams) SetDefaults()
- func (o *PostAPIKeyCollectionParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIKeyCollectionParams) SetInput(input *models.RequestCreateCollectionRequest)
- func (o *PostAPIKeyCollectionParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIKeyCollectionParams) WithContext(ctx context.Context) *PostAPIKeyCollectionParams
- func (o *PostAPIKeyCollectionParams) WithDefaults() *PostAPIKeyCollectionParams
- func (o *PostAPIKeyCollectionParams) WithHTTPClient(client *http.Client) *PostAPIKeyCollectionParams
- func (o *PostAPIKeyCollectionParams) WithInput(input *models.RequestCreateCollectionRequest) *PostAPIKeyCollectionParams
- func (o *PostAPIKeyCollectionParams) WithTimeout(timeout time.Duration) *PostAPIKeyCollectionParams
- func (o *PostAPIKeyCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIKeyCollectionReader
- type PostAPIKeyCollectionUsernameListBadRequest
- func (o *PostAPIKeyCollectionUsernameListBadRequest) Code() int
- func (o *PostAPIKeyCollectionUsernameListBadRequest) Error() string
- func (o *PostAPIKeyCollectionUsernameListBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostAPIKeyCollectionUsernameListBadRequest) IsClientError() bool
- func (o *PostAPIKeyCollectionUsernameListBadRequest) IsCode(code int) bool
- func (o *PostAPIKeyCollectionUsernameListBadRequest) IsRedirect() bool
- func (o *PostAPIKeyCollectionUsernameListBadRequest) IsServerError() bool
- func (o *PostAPIKeyCollectionUsernameListBadRequest) IsSuccess() bool
- func (o *PostAPIKeyCollectionUsernameListBadRequest) String() string
- type PostAPIKeyCollectionUsernameListInternalServerError
- func (o *PostAPIKeyCollectionUsernameListInternalServerError) Code() int
- func (o *PostAPIKeyCollectionUsernameListInternalServerError) Error() string
- func (o *PostAPIKeyCollectionUsernameListInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostAPIKeyCollectionUsernameListInternalServerError) IsClientError() bool
- func (o *PostAPIKeyCollectionUsernameListInternalServerError) IsCode(code int) bool
- func (o *PostAPIKeyCollectionUsernameListInternalServerError) IsRedirect() bool
- func (o *PostAPIKeyCollectionUsernameListInternalServerError) IsServerError() bool
- func (o *PostAPIKeyCollectionUsernameListInternalServerError) IsSuccess() bool
- func (o *PostAPIKeyCollectionUsernameListInternalServerError) String() string
- type PostAPIKeyCollectionUsernameListOK
- func (o *PostAPIKeyCollectionUsernameListOK) Code() int
- func (o *PostAPIKeyCollectionUsernameListOK) Error() string
- func (o *PostAPIKeyCollectionUsernameListOK) GetPayload() *models.ResponseCollectionListResponse
- func (o *PostAPIKeyCollectionUsernameListOK) IsClientError() bool
- func (o *PostAPIKeyCollectionUsernameListOK) IsCode(code int) bool
- func (o *PostAPIKeyCollectionUsernameListOK) IsRedirect() bool
- func (o *PostAPIKeyCollectionUsernameListOK) IsServerError() bool
- func (o *PostAPIKeyCollectionUsernameListOK) IsSuccess() bool
- func (o *PostAPIKeyCollectionUsernameListOK) String() string
- type PostAPIKeyCollectionUsernameListParams
- func NewPostAPIKeyCollectionUsernameListParams() *PostAPIKeyCollectionUsernameListParams
- func NewPostAPIKeyCollectionUsernameListParamsWithContext(ctx context.Context) *PostAPIKeyCollectionUsernameListParams
- func NewPostAPIKeyCollectionUsernameListParamsWithHTTPClient(client *http.Client) *PostAPIKeyCollectionUsernameListParams
- func NewPostAPIKeyCollectionUsernameListParamsWithTimeout(timeout time.Duration) *PostAPIKeyCollectionUsernameListParams
- func (o *PostAPIKeyCollectionUsernameListParams) SetContext(ctx context.Context)
- func (o *PostAPIKeyCollectionUsernameListParams) SetDefaults()
- func (o *PostAPIKeyCollectionUsernameListParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIKeyCollectionUsernameListParams) SetInput(input *models.RequestGetListCollectionByUsernameRequest)
- func (o *PostAPIKeyCollectionUsernameListParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIKeyCollectionUsernameListParams) SetUsername(username string)
- func (o *PostAPIKeyCollectionUsernameListParams) WithContext(ctx context.Context) *PostAPIKeyCollectionUsernameListParams
- func (o *PostAPIKeyCollectionUsernameListParams) WithDefaults() *PostAPIKeyCollectionUsernameListParams
- func (o *PostAPIKeyCollectionUsernameListParams) WithHTTPClient(client *http.Client) *PostAPIKeyCollectionUsernameListParams
- func (o *PostAPIKeyCollectionUsernameListParams) WithInput(input *models.RequestGetListCollectionByUsernameRequest) *PostAPIKeyCollectionUsernameListParams
- func (o *PostAPIKeyCollectionUsernameListParams) WithTimeout(timeout time.Duration) *PostAPIKeyCollectionUsernameListParams
- func (o *PostAPIKeyCollectionUsernameListParams) WithUsername(username string) *PostAPIKeyCollectionUsernameListParams
- func (o *PostAPIKeyCollectionUsernameListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIKeyCollectionUsernameListReader
- type PutAPIKeyCollectionIDBadRequest
- func (o *PutAPIKeyCollectionIDBadRequest) Code() int
- func (o *PutAPIKeyCollectionIDBadRequest) Error() string
- func (o *PutAPIKeyCollectionIDBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PutAPIKeyCollectionIDBadRequest) IsClientError() bool
- func (o *PutAPIKeyCollectionIDBadRequest) IsCode(code int) bool
- func (o *PutAPIKeyCollectionIDBadRequest) IsRedirect() bool
- func (o *PutAPIKeyCollectionIDBadRequest) IsServerError() bool
- func (o *PutAPIKeyCollectionIDBadRequest) IsSuccess() bool
- func (o *PutAPIKeyCollectionIDBadRequest) String() string
- type PutAPIKeyCollectionIDInternalServerError
- func (o *PutAPIKeyCollectionIDInternalServerError) Code() int
- func (o *PutAPIKeyCollectionIDInternalServerError) Error() string
- func (o *PutAPIKeyCollectionIDInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PutAPIKeyCollectionIDInternalServerError) IsClientError() bool
- func (o *PutAPIKeyCollectionIDInternalServerError) IsCode(code int) bool
- func (o *PutAPIKeyCollectionIDInternalServerError) IsRedirect() bool
- func (o *PutAPIKeyCollectionIDInternalServerError) IsServerError() bool
- func (o *PutAPIKeyCollectionIDInternalServerError) IsSuccess() bool
- func (o *PutAPIKeyCollectionIDInternalServerError) String() string
- type PutAPIKeyCollectionIDOK
- func (o *PutAPIKeyCollectionIDOK) Code() int
- func (o *PutAPIKeyCollectionIDOK) Error() string
- func (o *PutAPIKeyCollectionIDOK) GetPayload() *models.ResponseCollectionReponse
- func (o *PutAPIKeyCollectionIDOK) IsClientError() bool
- func (o *PutAPIKeyCollectionIDOK) IsCode(code int) bool
- func (o *PutAPIKeyCollectionIDOK) IsRedirect() bool
- func (o *PutAPIKeyCollectionIDOK) IsServerError() bool
- func (o *PutAPIKeyCollectionIDOK) IsSuccess() bool
- func (o *PutAPIKeyCollectionIDOK) String() string
- type PutAPIKeyCollectionIDParams
- func NewPutAPIKeyCollectionIDParams() *PutAPIKeyCollectionIDParams
- func NewPutAPIKeyCollectionIDParamsWithContext(ctx context.Context) *PutAPIKeyCollectionIDParams
- func NewPutAPIKeyCollectionIDParamsWithHTTPClient(client *http.Client) *PutAPIKeyCollectionIDParams
- func NewPutAPIKeyCollectionIDParamsWithTimeout(timeout time.Duration) *PutAPIKeyCollectionIDParams
- func (o *PutAPIKeyCollectionIDParams) SetContext(ctx context.Context)
- func (o *PutAPIKeyCollectionIDParams) SetDefaults()
- func (o *PutAPIKeyCollectionIDParams) SetHTTPClient(client *http.Client)
- func (o *PutAPIKeyCollectionIDParams) SetID(id string)
- func (o *PutAPIKeyCollectionIDParams) SetInput(input *models.RequestUpdateCollectionRequest)
- func (o *PutAPIKeyCollectionIDParams) SetTimeout(timeout time.Duration)
- func (o *PutAPIKeyCollectionIDParams) WithContext(ctx context.Context) *PutAPIKeyCollectionIDParams
- func (o *PutAPIKeyCollectionIDParams) WithDefaults() *PutAPIKeyCollectionIDParams
- func (o *PutAPIKeyCollectionIDParams) WithHTTPClient(client *http.Client) *PutAPIKeyCollectionIDParams
- func (o *PutAPIKeyCollectionIDParams) WithID(id string) *PutAPIKeyCollectionIDParams
- func (o *PutAPIKeyCollectionIDParams) WithInput(input *models.RequestUpdateCollectionRequest) *PutAPIKeyCollectionIDParams
- func (o *PutAPIKeyCollectionIDParams) WithTimeout(timeout time.Duration) *PutAPIKeyCollectionIDParams
- func (o *PutAPIKeyCollectionIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutAPIKeyCollectionIDReader
- type PutAPIKeyCollectionIDVoteBadRequest
- func (o *PutAPIKeyCollectionIDVoteBadRequest) Code() int
- func (o *PutAPIKeyCollectionIDVoteBadRequest) Error() string
- func (o *PutAPIKeyCollectionIDVoteBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PutAPIKeyCollectionIDVoteBadRequest) IsClientError() bool
- func (o *PutAPIKeyCollectionIDVoteBadRequest) IsCode(code int) bool
- func (o *PutAPIKeyCollectionIDVoteBadRequest) IsRedirect() bool
- func (o *PutAPIKeyCollectionIDVoteBadRequest) IsServerError() bool
- func (o *PutAPIKeyCollectionIDVoteBadRequest) IsSuccess() bool
- func (o *PutAPIKeyCollectionIDVoteBadRequest) String() string
- type PutAPIKeyCollectionIDVoteInternalServerError
- func (o *PutAPIKeyCollectionIDVoteInternalServerError) Code() int
- func (o *PutAPIKeyCollectionIDVoteInternalServerError) Error() string
- func (o *PutAPIKeyCollectionIDVoteInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PutAPIKeyCollectionIDVoteInternalServerError) IsClientError() bool
- func (o *PutAPIKeyCollectionIDVoteInternalServerError) IsCode(code int) bool
- func (o *PutAPIKeyCollectionIDVoteInternalServerError) IsRedirect() bool
- func (o *PutAPIKeyCollectionIDVoteInternalServerError) IsServerError() bool
- func (o *PutAPIKeyCollectionIDVoteInternalServerError) IsSuccess() bool
- func (o *PutAPIKeyCollectionIDVoteInternalServerError) String() string
- type PutAPIKeyCollectionIDVoteOK
- func (o *PutAPIKeyCollectionIDVoteOK) Code() int
- func (o *PutAPIKeyCollectionIDVoteOK) Error() string
- func (o *PutAPIKeyCollectionIDVoteOK) GetPayload() *models.ResponseCollectionReponse
- func (o *PutAPIKeyCollectionIDVoteOK) IsClientError() bool
- func (o *PutAPIKeyCollectionIDVoteOK) IsCode(code int) bool
- func (o *PutAPIKeyCollectionIDVoteOK) IsRedirect() bool
- func (o *PutAPIKeyCollectionIDVoteOK) IsServerError() bool
- func (o *PutAPIKeyCollectionIDVoteOK) IsSuccess() bool
- func (o *PutAPIKeyCollectionIDVoteOK) String() string
- type PutAPIKeyCollectionIDVoteParams
- func NewPutAPIKeyCollectionIDVoteParams() *PutAPIKeyCollectionIDVoteParams
- func NewPutAPIKeyCollectionIDVoteParamsWithContext(ctx context.Context) *PutAPIKeyCollectionIDVoteParams
- func NewPutAPIKeyCollectionIDVoteParamsWithHTTPClient(client *http.Client) *PutAPIKeyCollectionIDVoteParams
- func NewPutAPIKeyCollectionIDVoteParamsWithTimeout(timeout time.Duration) *PutAPIKeyCollectionIDVoteParams
- func (o *PutAPIKeyCollectionIDVoteParams) SetContext(ctx context.Context)
- func (o *PutAPIKeyCollectionIDVoteParams) SetDefaults()
- func (o *PutAPIKeyCollectionIDVoteParams) SetHTTPClient(client *http.Client)
- func (o *PutAPIKeyCollectionIDVoteParams) SetID(id string)
- func (o *PutAPIKeyCollectionIDVoteParams) SetTimeout(timeout time.Duration)
- func (o *PutAPIKeyCollectionIDVoteParams) WithContext(ctx context.Context) *PutAPIKeyCollectionIDVoteParams
- func (o *PutAPIKeyCollectionIDVoteParams) WithDefaults() *PutAPIKeyCollectionIDVoteParams
- func (o *PutAPIKeyCollectionIDVoteParams) WithHTTPClient(client *http.Client) *PutAPIKeyCollectionIDVoteParams
- func (o *PutAPIKeyCollectionIDVoteParams) WithID(id string) *PutAPIKeyCollectionIDVoteParams
- func (o *PutAPIKeyCollectionIDVoteParams) WithTimeout(timeout time.Duration) *PutAPIKeyCollectionIDVoteParams
- func (o *PutAPIKeyCollectionIDVoteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutAPIKeyCollectionIDVoteReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeApplicationxWwwFormUrlencoded ¶
func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for api key collection API
func (*Client) DeleteAPIKeyCollectionID ¶
func (a *Client) DeleteAPIKeyCollectionID(params *DeleteAPIKeyCollectionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyCollectionIDOK, error)
DeleteAPIKeyCollectionID deletes collection by Api key
func (*Client) DeleteAPIKeyCollectionIDItem ¶
func (a *Client) DeleteAPIKeyCollectionIDItem(params *DeleteAPIKeyCollectionIDItemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyCollectionIDItemOK, error)
DeleteAPIKeyCollectionIDItem removes item from collection by Api key
func (*Client) GetAPIKeyCollectionID ¶
func (a *Client) GetAPIKeyCollectionID(params *GetAPIKeyCollectionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyCollectionIDOK, error)
GetAPIKeyCollectionID gets collection by Id by Api key
func (*Client) PostAPIKeyCollection ¶
func (a *Client) PostAPIKeyCollection(params *PostAPIKeyCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCollectionOK, error)
PostAPIKeyCollection creates collection by Api key
func (*Client) PostAPIKeyCollectionIDItem ¶
func (a *Client) PostAPIKeyCollectionIDItem(params *PostAPIKeyCollectionIDItemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCollectionIDItemOK, error)
PostAPIKeyCollectionIDItem adds item to collection by Api key
func (*Client) PostAPIKeyCollectionList ¶
func (a *Client) PostAPIKeyCollectionList(params *PostAPIKeyCollectionListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCollectionListOK, error)
PostAPIKeyCollectionList gets list collection by Api key
func (*Client) PostAPIKeyCollectionUsernameList ¶
func (a *Client) PostAPIKeyCollectionUsernameList(params *PostAPIKeyCollectionUsernameListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCollectionUsernameListOK, error)
PostAPIKeyCollectionUsernameList gets collection list by username by Api key
func (*Client) PutAPIKeyCollectionID ¶
func (a *Client) PutAPIKeyCollectionID(params *PutAPIKeyCollectionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyCollectionIDOK, error)
PutAPIKeyCollectionID updates collection by Api key
func (*Client) PutAPIKeyCollectionIDVote ¶
func (a *Client) PutAPIKeyCollectionIDVote(params *PutAPIKeyCollectionIDVoteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyCollectionIDVoteOK, error)
PutAPIKeyCollectionIDVote votes collection by Api key
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
DeleteAPIKeyCollectionID(params *DeleteAPIKeyCollectionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyCollectionIDOK, error)
DeleteAPIKeyCollectionIDItem(params *DeleteAPIKeyCollectionIDItemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyCollectionIDItemOK, error)
GetAPIKeyCollectionID(params *GetAPIKeyCollectionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyCollectionIDOK, error)
PostAPIKeyCollection(params *PostAPIKeyCollectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCollectionOK, error)
PostAPIKeyCollectionIDItem(params *PostAPIKeyCollectionIDItemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCollectionIDItemOK, error)
PostAPIKeyCollectionList(params *PostAPIKeyCollectionListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCollectionListOK, error)
PostAPIKeyCollectionUsernameList(params *PostAPIKeyCollectionUsernameListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCollectionUsernameListOK, error)
PutAPIKeyCollectionID(params *PutAPIKeyCollectionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyCollectionIDOK, error)
PutAPIKeyCollectionIDVote(params *PutAPIKeyCollectionIDVoteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyCollectionIDVoteOK, 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 api key collection API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new api key collection API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new api key collection API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type DeleteAPIKeyCollectionIDBadRequest ¶
type DeleteAPIKeyCollectionIDBadRequest struct {
Payload *models.ResponseFailResponse
}
DeleteAPIKeyCollectionIDBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteAPIKeyCollectionIDBadRequest ¶
func NewDeleteAPIKeyCollectionIDBadRequest() *DeleteAPIKeyCollectionIDBadRequest
NewDeleteAPIKeyCollectionIDBadRequest creates a DeleteAPIKeyCollectionIDBadRequest with default headers values
func (*DeleteAPIKeyCollectionIDBadRequest) Code ¶
func (o *DeleteAPIKeyCollectionIDBadRequest) Code() int
Code gets the status code for the delete Api key collection Id bad request response
func (*DeleteAPIKeyCollectionIDBadRequest) Error ¶
func (o *DeleteAPIKeyCollectionIDBadRequest) Error() string
func (*DeleteAPIKeyCollectionIDBadRequest) GetPayload ¶
func (o *DeleteAPIKeyCollectionIDBadRequest) GetPayload() *models.ResponseFailResponse
func (*DeleteAPIKeyCollectionIDBadRequest) IsClientError ¶
func (o *DeleteAPIKeyCollectionIDBadRequest) IsClientError() bool
IsClientError returns true when this delete Api key collection Id bad request response has a 4xx status code
func (*DeleteAPIKeyCollectionIDBadRequest) IsCode ¶
func (o *DeleteAPIKeyCollectionIDBadRequest) IsCode(code int) bool
IsCode returns true when this delete Api key collection Id bad request response a status code equal to that given
func (*DeleteAPIKeyCollectionIDBadRequest) IsRedirect ¶
func (o *DeleteAPIKeyCollectionIDBadRequest) IsRedirect() bool
IsRedirect returns true when this delete Api key collection Id bad request response has a 3xx status code
func (*DeleteAPIKeyCollectionIDBadRequest) IsServerError ¶
func (o *DeleteAPIKeyCollectionIDBadRequest) IsServerError() bool
IsServerError returns true when this delete Api key collection Id bad request response has a 5xx status code
func (*DeleteAPIKeyCollectionIDBadRequest) IsSuccess ¶
func (o *DeleteAPIKeyCollectionIDBadRequest) IsSuccess() bool
IsSuccess returns true when this delete Api key collection Id bad request response has a 2xx status code
func (*DeleteAPIKeyCollectionIDBadRequest) String ¶
func (o *DeleteAPIKeyCollectionIDBadRequest) String() string
type DeleteAPIKeyCollectionIDInternalServerError ¶
type DeleteAPIKeyCollectionIDInternalServerError struct {
Payload *models.ResponseErrorResponse
}
DeleteAPIKeyCollectionIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewDeleteAPIKeyCollectionIDInternalServerError ¶
func NewDeleteAPIKeyCollectionIDInternalServerError() *DeleteAPIKeyCollectionIDInternalServerError
NewDeleteAPIKeyCollectionIDInternalServerError creates a DeleteAPIKeyCollectionIDInternalServerError with default headers values
func (*DeleteAPIKeyCollectionIDInternalServerError) Code ¶
func (o *DeleteAPIKeyCollectionIDInternalServerError) Code() int
Code gets the status code for the delete Api key collection Id internal server error response
func (*DeleteAPIKeyCollectionIDInternalServerError) Error ¶
func (o *DeleteAPIKeyCollectionIDInternalServerError) Error() string
func (*DeleteAPIKeyCollectionIDInternalServerError) GetPayload ¶
func (o *DeleteAPIKeyCollectionIDInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*DeleteAPIKeyCollectionIDInternalServerError) IsClientError ¶
func (o *DeleteAPIKeyCollectionIDInternalServerError) IsClientError() bool
IsClientError returns true when this delete Api key collection Id internal server error response has a 4xx status code
func (*DeleteAPIKeyCollectionIDInternalServerError) IsCode ¶
func (o *DeleteAPIKeyCollectionIDInternalServerError) IsCode(code int) bool
IsCode returns true when this delete Api key collection Id internal server error response a status code equal to that given
func (*DeleteAPIKeyCollectionIDInternalServerError) IsRedirect ¶
func (o *DeleteAPIKeyCollectionIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete Api key collection Id internal server error response has a 3xx status code
func (*DeleteAPIKeyCollectionIDInternalServerError) IsServerError ¶
func (o *DeleteAPIKeyCollectionIDInternalServerError) IsServerError() bool
IsServerError returns true when this delete Api key collection Id internal server error response has a 5xx status code
func (*DeleteAPIKeyCollectionIDInternalServerError) IsSuccess ¶
func (o *DeleteAPIKeyCollectionIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete Api key collection Id internal server error response has a 2xx status code
func (*DeleteAPIKeyCollectionIDInternalServerError) String ¶
func (o *DeleteAPIKeyCollectionIDInternalServerError) String() string
type DeleteAPIKeyCollectionIDItemBadRequest ¶
type DeleteAPIKeyCollectionIDItemBadRequest struct {
Payload *models.ResponseFailResponse
}
DeleteAPIKeyCollectionIDItemBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteAPIKeyCollectionIDItemBadRequest ¶
func NewDeleteAPIKeyCollectionIDItemBadRequest() *DeleteAPIKeyCollectionIDItemBadRequest
NewDeleteAPIKeyCollectionIDItemBadRequest creates a DeleteAPIKeyCollectionIDItemBadRequest with default headers values
func (*DeleteAPIKeyCollectionIDItemBadRequest) Code ¶
func (o *DeleteAPIKeyCollectionIDItemBadRequest) Code() int
Code gets the status code for the delete Api key collection Id item bad request response
func (*DeleteAPIKeyCollectionIDItemBadRequest) Error ¶
func (o *DeleteAPIKeyCollectionIDItemBadRequest) Error() string
func (*DeleteAPIKeyCollectionIDItemBadRequest) GetPayload ¶
func (o *DeleteAPIKeyCollectionIDItemBadRequest) GetPayload() *models.ResponseFailResponse
func (*DeleteAPIKeyCollectionIDItemBadRequest) IsClientError ¶
func (o *DeleteAPIKeyCollectionIDItemBadRequest) IsClientError() bool
IsClientError returns true when this delete Api key collection Id item bad request response has a 4xx status code
func (*DeleteAPIKeyCollectionIDItemBadRequest) IsCode ¶
func (o *DeleteAPIKeyCollectionIDItemBadRequest) IsCode(code int) bool
IsCode returns true when this delete Api key collection Id item bad request response a status code equal to that given
func (*DeleteAPIKeyCollectionIDItemBadRequest) IsRedirect ¶
func (o *DeleteAPIKeyCollectionIDItemBadRequest) IsRedirect() bool
IsRedirect returns true when this delete Api key collection Id item bad request response has a 3xx status code
func (*DeleteAPIKeyCollectionIDItemBadRequest) IsServerError ¶
func (o *DeleteAPIKeyCollectionIDItemBadRequest) IsServerError() bool
IsServerError returns true when this delete Api key collection Id item bad request response has a 5xx status code
func (*DeleteAPIKeyCollectionIDItemBadRequest) IsSuccess ¶
func (o *DeleteAPIKeyCollectionIDItemBadRequest) IsSuccess() bool
IsSuccess returns true when this delete Api key collection Id item bad request response has a 2xx status code
func (*DeleteAPIKeyCollectionIDItemBadRequest) String ¶
func (o *DeleteAPIKeyCollectionIDItemBadRequest) String() string
type DeleteAPIKeyCollectionIDItemInternalServerError ¶
type DeleteAPIKeyCollectionIDItemInternalServerError struct {
Payload *models.ResponseErrorResponse
}
DeleteAPIKeyCollectionIDItemInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewDeleteAPIKeyCollectionIDItemInternalServerError ¶
func NewDeleteAPIKeyCollectionIDItemInternalServerError() *DeleteAPIKeyCollectionIDItemInternalServerError
NewDeleteAPIKeyCollectionIDItemInternalServerError creates a DeleteAPIKeyCollectionIDItemInternalServerError with default headers values
func (*DeleteAPIKeyCollectionIDItemInternalServerError) Code ¶
func (o *DeleteAPIKeyCollectionIDItemInternalServerError) Code() int
Code gets the status code for the delete Api key collection Id item internal server error response
func (*DeleteAPIKeyCollectionIDItemInternalServerError) Error ¶
func (o *DeleteAPIKeyCollectionIDItemInternalServerError) Error() string
func (*DeleteAPIKeyCollectionIDItemInternalServerError) GetPayload ¶
func (o *DeleteAPIKeyCollectionIDItemInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*DeleteAPIKeyCollectionIDItemInternalServerError) IsClientError ¶
func (o *DeleteAPIKeyCollectionIDItemInternalServerError) IsClientError() bool
IsClientError returns true when this delete Api key collection Id item internal server error response has a 4xx status code
func (*DeleteAPIKeyCollectionIDItemInternalServerError) IsCode ¶
func (o *DeleteAPIKeyCollectionIDItemInternalServerError) IsCode(code int) bool
IsCode returns true when this delete Api key collection Id item internal server error response a status code equal to that given
func (*DeleteAPIKeyCollectionIDItemInternalServerError) IsRedirect ¶
func (o *DeleteAPIKeyCollectionIDItemInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete Api key collection Id item internal server error response has a 3xx status code
func (*DeleteAPIKeyCollectionIDItemInternalServerError) IsServerError ¶
func (o *DeleteAPIKeyCollectionIDItemInternalServerError) IsServerError() bool
IsServerError returns true when this delete Api key collection Id item internal server error response has a 5xx status code
func (*DeleteAPIKeyCollectionIDItemInternalServerError) IsSuccess ¶
func (o *DeleteAPIKeyCollectionIDItemInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete Api key collection Id item internal server error response has a 2xx status code
func (*DeleteAPIKeyCollectionIDItemInternalServerError) String ¶
func (o *DeleteAPIKeyCollectionIDItemInternalServerError) String() string
type DeleteAPIKeyCollectionIDItemOK ¶
type DeleteAPIKeyCollectionIDItemOK struct {
Payload *models.ResponseCollectionReponse
}
DeleteAPIKeyCollectionIDItemOK describes a response with status code 200, with default header values.
OK
func NewDeleteAPIKeyCollectionIDItemOK ¶
func NewDeleteAPIKeyCollectionIDItemOK() *DeleteAPIKeyCollectionIDItemOK
NewDeleteAPIKeyCollectionIDItemOK creates a DeleteAPIKeyCollectionIDItemOK with default headers values
func (*DeleteAPIKeyCollectionIDItemOK) Code ¶
func (o *DeleteAPIKeyCollectionIDItemOK) Code() int
Code gets the status code for the delete Api key collection Id item o k response
func (*DeleteAPIKeyCollectionIDItemOK) Error ¶
func (o *DeleteAPIKeyCollectionIDItemOK) Error() string
func (*DeleteAPIKeyCollectionIDItemOK) GetPayload ¶
func (o *DeleteAPIKeyCollectionIDItemOK) GetPayload() *models.ResponseCollectionReponse
func (*DeleteAPIKeyCollectionIDItemOK) IsClientError ¶
func (o *DeleteAPIKeyCollectionIDItemOK) IsClientError() bool
IsClientError returns true when this delete Api key collection Id item o k response has a 4xx status code
func (*DeleteAPIKeyCollectionIDItemOK) IsCode ¶
func (o *DeleteAPIKeyCollectionIDItemOK) IsCode(code int) bool
IsCode returns true when this delete Api key collection Id item o k response a status code equal to that given
func (*DeleteAPIKeyCollectionIDItemOK) IsRedirect ¶
func (o *DeleteAPIKeyCollectionIDItemOK) IsRedirect() bool
IsRedirect returns true when this delete Api key collection Id item o k response has a 3xx status code
func (*DeleteAPIKeyCollectionIDItemOK) IsServerError ¶
func (o *DeleteAPIKeyCollectionIDItemOK) IsServerError() bool
IsServerError returns true when this delete Api key collection Id item o k response has a 5xx status code
func (*DeleteAPIKeyCollectionIDItemOK) IsSuccess ¶
func (o *DeleteAPIKeyCollectionIDItemOK) IsSuccess() bool
IsSuccess returns true when this delete Api key collection Id item o k response has a 2xx status code
func (*DeleteAPIKeyCollectionIDItemOK) String ¶
func (o *DeleteAPIKeyCollectionIDItemOK) String() string
type DeleteAPIKeyCollectionIDItemParams ¶
type DeleteAPIKeyCollectionIDItemParams struct {
/* ID.
Collection's id
*/
ID string
/* Input.
Remove Item From Collection Request
*/
Input *models.RequestRemoveItemFromCollectionRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteAPIKeyCollectionIDItemParams contains all the parameters to send to the API endpoint
for the delete API key collection ID item operation. Typically these are written to a http.Request.
func NewDeleteAPIKeyCollectionIDItemParams ¶
func NewDeleteAPIKeyCollectionIDItemParams() *DeleteAPIKeyCollectionIDItemParams
NewDeleteAPIKeyCollectionIDItemParams creates a new DeleteAPIKeyCollectionIDItemParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteAPIKeyCollectionIDItemParamsWithContext ¶
func NewDeleteAPIKeyCollectionIDItemParamsWithContext(ctx context.Context) *DeleteAPIKeyCollectionIDItemParams
NewDeleteAPIKeyCollectionIDItemParamsWithContext creates a new DeleteAPIKeyCollectionIDItemParams object with the ability to set a context for a request.
func NewDeleteAPIKeyCollectionIDItemParamsWithHTTPClient ¶
func NewDeleteAPIKeyCollectionIDItemParamsWithHTTPClient(client *http.Client) *DeleteAPIKeyCollectionIDItemParams
NewDeleteAPIKeyCollectionIDItemParamsWithHTTPClient creates a new DeleteAPIKeyCollectionIDItemParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAPIKeyCollectionIDItemParamsWithTimeout ¶
func NewDeleteAPIKeyCollectionIDItemParamsWithTimeout(timeout time.Duration) *DeleteAPIKeyCollectionIDItemParams
NewDeleteAPIKeyCollectionIDItemParamsWithTimeout creates a new DeleteAPIKeyCollectionIDItemParams object with the ability to set a timeout on a request.
func (*DeleteAPIKeyCollectionIDItemParams) SetContext ¶
func (o *DeleteAPIKeyCollectionIDItemParams) SetContext(ctx context.Context)
SetContext adds the context to the delete API key collection ID item params
func (*DeleteAPIKeyCollectionIDItemParams) SetDefaults ¶
func (o *DeleteAPIKeyCollectionIDItemParams) SetDefaults()
SetDefaults hydrates default values in the delete API key collection ID item params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPIKeyCollectionIDItemParams) SetHTTPClient ¶
func (o *DeleteAPIKeyCollectionIDItemParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete API key collection ID item params
func (*DeleteAPIKeyCollectionIDItemParams) SetID ¶
func (o *DeleteAPIKeyCollectionIDItemParams) SetID(id string)
SetID adds the id to the delete API key collection ID item params
func (*DeleteAPIKeyCollectionIDItemParams) SetInput ¶
func (o *DeleteAPIKeyCollectionIDItemParams) SetInput(input *models.RequestRemoveItemFromCollectionRequest)
SetInput adds the input to the delete API key collection ID item params
func (*DeleteAPIKeyCollectionIDItemParams) SetTimeout ¶
func (o *DeleteAPIKeyCollectionIDItemParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete API key collection ID item params
func (*DeleteAPIKeyCollectionIDItemParams) WithContext ¶
func (o *DeleteAPIKeyCollectionIDItemParams) WithContext(ctx context.Context) *DeleteAPIKeyCollectionIDItemParams
WithContext adds the context to the delete API key collection ID item params
func (*DeleteAPIKeyCollectionIDItemParams) WithDefaults ¶
func (o *DeleteAPIKeyCollectionIDItemParams) WithDefaults() *DeleteAPIKeyCollectionIDItemParams
WithDefaults hydrates default values in the delete API key collection ID item params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPIKeyCollectionIDItemParams) WithHTTPClient ¶
func (o *DeleteAPIKeyCollectionIDItemParams) WithHTTPClient(client *http.Client) *DeleteAPIKeyCollectionIDItemParams
WithHTTPClient adds the HTTPClient to the delete API key collection ID item params
func (*DeleteAPIKeyCollectionIDItemParams) WithID ¶
func (o *DeleteAPIKeyCollectionIDItemParams) WithID(id string) *DeleteAPIKeyCollectionIDItemParams
WithID adds the id to the delete API key collection ID item params
func (*DeleteAPIKeyCollectionIDItemParams) WithInput ¶
func (o *DeleteAPIKeyCollectionIDItemParams) WithInput(input *models.RequestRemoveItemFromCollectionRequest) *DeleteAPIKeyCollectionIDItemParams
WithInput adds the input to the delete API key collection ID item params
func (*DeleteAPIKeyCollectionIDItemParams) WithTimeout ¶
func (o *DeleteAPIKeyCollectionIDItemParams) WithTimeout(timeout time.Duration) *DeleteAPIKeyCollectionIDItemParams
WithTimeout adds the timeout to the delete API key collection ID item params
func (*DeleteAPIKeyCollectionIDItemParams) WriteToRequest ¶
func (o *DeleteAPIKeyCollectionIDItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPIKeyCollectionIDItemReader ¶
type DeleteAPIKeyCollectionIDItemReader struct {
// contains filtered or unexported fields
}
DeleteAPIKeyCollectionIDItemReader is a Reader for the DeleteAPIKeyCollectionIDItem structure.
func (*DeleteAPIKeyCollectionIDItemReader) ReadResponse ¶
func (o *DeleteAPIKeyCollectionIDItemReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DeleteAPIKeyCollectionIDOK ¶
type DeleteAPIKeyCollectionIDOK struct {
Payload *models.ResponseCollectionReponse
}
DeleteAPIKeyCollectionIDOK describes a response with status code 200, with default header values.
OK
func NewDeleteAPIKeyCollectionIDOK ¶
func NewDeleteAPIKeyCollectionIDOK() *DeleteAPIKeyCollectionIDOK
NewDeleteAPIKeyCollectionIDOK creates a DeleteAPIKeyCollectionIDOK with default headers values
func (*DeleteAPIKeyCollectionIDOK) Code ¶
func (o *DeleteAPIKeyCollectionIDOK) Code() int
Code gets the status code for the delete Api key collection Id o k response
func (*DeleteAPIKeyCollectionIDOK) Error ¶
func (o *DeleteAPIKeyCollectionIDOK) Error() string
func (*DeleteAPIKeyCollectionIDOK) GetPayload ¶
func (o *DeleteAPIKeyCollectionIDOK) GetPayload() *models.ResponseCollectionReponse
func (*DeleteAPIKeyCollectionIDOK) IsClientError ¶
func (o *DeleteAPIKeyCollectionIDOK) IsClientError() bool
IsClientError returns true when this delete Api key collection Id o k response has a 4xx status code
func (*DeleteAPIKeyCollectionIDOK) IsCode ¶
func (o *DeleteAPIKeyCollectionIDOK) IsCode(code int) bool
IsCode returns true when this delete Api key collection Id o k response a status code equal to that given
func (*DeleteAPIKeyCollectionIDOK) IsRedirect ¶
func (o *DeleteAPIKeyCollectionIDOK) IsRedirect() bool
IsRedirect returns true when this delete Api key collection Id o k response has a 3xx status code
func (*DeleteAPIKeyCollectionIDOK) IsServerError ¶
func (o *DeleteAPIKeyCollectionIDOK) IsServerError() bool
IsServerError returns true when this delete Api key collection Id o k response has a 5xx status code
func (*DeleteAPIKeyCollectionIDOK) IsSuccess ¶
func (o *DeleteAPIKeyCollectionIDOK) IsSuccess() bool
IsSuccess returns true when this delete Api key collection Id o k response has a 2xx status code
func (*DeleteAPIKeyCollectionIDOK) String ¶
func (o *DeleteAPIKeyCollectionIDOK) String() string
type DeleteAPIKeyCollectionIDParams ¶
type DeleteAPIKeyCollectionIDParams struct {
/* ID.
Collection's id
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteAPIKeyCollectionIDParams contains all the parameters to send to the API endpoint
for the delete API key collection ID operation. Typically these are written to a http.Request.
func NewDeleteAPIKeyCollectionIDParams ¶
func NewDeleteAPIKeyCollectionIDParams() *DeleteAPIKeyCollectionIDParams
NewDeleteAPIKeyCollectionIDParams creates a new DeleteAPIKeyCollectionIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteAPIKeyCollectionIDParamsWithContext ¶
func NewDeleteAPIKeyCollectionIDParamsWithContext(ctx context.Context) *DeleteAPIKeyCollectionIDParams
NewDeleteAPIKeyCollectionIDParamsWithContext creates a new DeleteAPIKeyCollectionIDParams object with the ability to set a context for a request.
func NewDeleteAPIKeyCollectionIDParamsWithHTTPClient ¶
func NewDeleteAPIKeyCollectionIDParamsWithHTTPClient(client *http.Client) *DeleteAPIKeyCollectionIDParams
NewDeleteAPIKeyCollectionIDParamsWithHTTPClient creates a new DeleteAPIKeyCollectionIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAPIKeyCollectionIDParamsWithTimeout ¶
func NewDeleteAPIKeyCollectionIDParamsWithTimeout(timeout time.Duration) *DeleteAPIKeyCollectionIDParams
NewDeleteAPIKeyCollectionIDParamsWithTimeout creates a new DeleteAPIKeyCollectionIDParams object with the ability to set a timeout on a request.
func (*DeleteAPIKeyCollectionIDParams) SetContext ¶
func (o *DeleteAPIKeyCollectionIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete API key collection ID params
func (*DeleteAPIKeyCollectionIDParams) SetDefaults ¶
func (o *DeleteAPIKeyCollectionIDParams) SetDefaults()
SetDefaults hydrates default values in the delete API key collection ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPIKeyCollectionIDParams) SetHTTPClient ¶
func (o *DeleteAPIKeyCollectionIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete API key collection ID params
func (*DeleteAPIKeyCollectionIDParams) SetID ¶
func (o *DeleteAPIKeyCollectionIDParams) SetID(id string)
SetID adds the id to the delete API key collection ID params
func (*DeleteAPIKeyCollectionIDParams) SetTimeout ¶
func (o *DeleteAPIKeyCollectionIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete API key collection ID params
func (*DeleteAPIKeyCollectionIDParams) WithContext ¶
func (o *DeleteAPIKeyCollectionIDParams) WithContext(ctx context.Context) *DeleteAPIKeyCollectionIDParams
WithContext adds the context to the delete API key collection ID params
func (*DeleteAPIKeyCollectionIDParams) WithDefaults ¶
func (o *DeleteAPIKeyCollectionIDParams) WithDefaults() *DeleteAPIKeyCollectionIDParams
WithDefaults hydrates default values in the delete API key collection ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPIKeyCollectionIDParams) WithHTTPClient ¶
func (o *DeleteAPIKeyCollectionIDParams) WithHTTPClient(client *http.Client) *DeleteAPIKeyCollectionIDParams
WithHTTPClient adds the HTTPClient to the delete API key collection ID params
func (*DeleteAPIKeyCollectionIDParams) WithID ¶
func (o *DeleteAPIKeyCollectionIDParams) WithID(id string) *DeleteAPIKeyCollectionIDParams
WithID adds the id to the delete API key collection ID params
func (*DeleteAPIKeyCollectionIDParams) WithTimeout ¶
func (o *DeleteAPIKeyCollectionIDParams) WithTimeout(timeout time.Duration) *DeleteAPIKeyCollectionIDParams
WithTimeout adds the timeout to the delete API key collection ID params
func (*DeleteAPIKeyCollectionIDParams) WriteToRequest ¶
func (o *DeleteAPIKeyCollectionIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPIKeyCollectionIDReader ¶
type DeleteAPIKeyCollectionIDReader struct {
// contains filtered or unexported fields
}
DeleteAPIKeyCollectionIDReader is a Reader for the DeleteAPIKeyCollectionID structure.
func (*DeleteAPIKeyCollectionIDReader) ReadResponse ¶
func (o *DeleteAPIKeyCollectionIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetAPIKeyCollectionIDBadRequest ¶
type GetAPIKeyCollectionIDBadRequest struct {
Payload *models.ResponseFailResponse
}
GetAPIKeyCollectionIDBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAPIKeyCollectionIDBadRequest ¶
func NewGetAPIKeyCollectionIDBadRequest() *GetAPIKeyCollectionIDBadRequest
NewGetAPIKeyCollectionIDBadRequest creates a GetAPIKeyCollectionIDBadRequest with default headers values
func (*GetAPIKeyCollectionIDBadRequest) Code ¶
func (o *GetAPIKeyCollectionIDBadRequest) Code() int
Code gets the status code for the get Api key collection Id bad request response
func (*GetAPIKeyCollectionIDBadRequest) Error ¶
func (o *GetAPIKeyCollectionIDBadRequest) Error() string
func (*GetAPIKeyCollectionIDBadRequest) GetPayload ¶
func (o *GetAPIKeyCollectionIDBadRequest) GetPayload() *models.ResponseFailResponse
func (*GetAPIKeyCollectionIDBadRequest) IsClientError ¶
func (o *GetAPIKeyCollectionIDBadRequest) IsClientError() bool
IsClientError returns true when this get Api key collection Id bad request response has a 4xx status code
func (*GetAPIKeyCollectionIDBadRequest) IsCode ¶
func (o *GetAPIKeyCollectionIDBadRequest) IsCode(code int) bool
IsCode returns true when this get Api key collection Id bad request response a status code equal to that given
func (*GetAPIKeyCollectionIDBadRequest) IsRedirect ¶
func (o *GetAPIKeyCollectionIDBadRequest) IsRedirect() bool
IsRedirect returns true when this get Api key collection Id bad request response has a 3xx status code
func (*GetAPIKeyCollectionIDBadRequest) IsServerError ¶
func (o *GetAPIKeyCollectionIDBadRequest) IsServerError() bool
IsServerError returns true when this get Api key collection Id bad request response has a 5xx status code
func (*GetAPIKeyCollectionIDBadRequest) IsSuccess ¶
func (o *GetAPIKeyCollectionIDBadRequest) IsSuccess() bool
IsSuccess returns true when this get Api key collection Id bad request response has a 2xx status code
func (*GetAPIKeyCollectionIDBadRequest) String ¶
func (o *GetAPIKeyCollectionIDBadRequest) String() string
type GetAPIKeyCollectionIDInternalServerError ¶
type GetAPIKeyCollectionIDInternalServerError struct {
Payload *models.ResponseErrorResponse
}
GetAPIKeyCollectionIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAPIKeyCollectionIDInternalServerError ¶
func NewGetAPIKeyCollectionIDInternalServerError() *GetAPIKeyCollectionIDInternalServerError
NewGetAPIKeyCollectionIDInternalServerError creates a GetAPIKeyCollectionIDInternalServerError with default headers values
func (*GetAPIKeyCollectionIDInternalServerError) Code ¶
func (o *GetAPIKeyCollectionIDInternalServerError) Code() int
Code gets the status code for the get Api key collection Id internal server error response
func (*GetAPIKeyCollectionIDInternalServerError) Error ¶
func (o *GetAPIKeyCollectionIDInternalServerError) Error() string
func (*GetAPIKeyCollectionIDInternalServerError) GetPayload ¶
func (o *GetAPIKeyCollectionIDInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*GetAPIKeyCollectionIDInternalServerError) IsClientError ¶
func (o *GetAPIKeyCollectionIDInternalServerError) IsClientError() bool
IsClientError returns true when this get Api key collection Id internal server error response has a 4xx status code
func (*GetAPIKeyCollectionIDInternalServerError) IsCode ¶
func (o *GetAPIKeyCollectionIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get Api key collection Id internal server error response a status code equal to that given
func (*GetAPIKeyCollectionIDInternalServerError) IsRedirect ¶
func (o *GetAPIKeyCollectionIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get Api key collection Id internal server error response has a 3xx status code
func (*GetAPIKeyCollectionIDInternalServerError) IsServerError ¶
func (o *GetAPIKeyCollectionIDInternalServerError) IsServerError() bool
IsServerError returns true when this get Api key collection Id internal server error response has a 5xx status code
func (*GetAPIKeyCollectionIDInternalServerError) IsSuccess ¶
func (o *GetAPIKeyCollectionIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get Api key collection Id internal server error response has a 2xx status code
func (*GetAPIKeyCollectionIDInternalServerError) String ¶
func (o *GetAPIKeyCollectionIDInternalServerError) String() string
type GetAPIKeyCollectionIDOK ¶
type GetAPIKeyCollectionIDOK struct {
Payload *models.ResponseCollectionReponse
}
GetAPIKeyCollectionIDOK describes a response with status code 200, with default header values.
OK
func NewGetAPIKeyCollectionIDOK ¶
func NewGetAPIKeyCollectionIDOK() *GetAPIKeyCollectionIDOK
NewGetAPIKeyCollectionIDOK creates a GetAPIKeyCollectionIDOK with default headers values
func (*GetAPIKeyCollectionIDOK) Code ¶
func (o *GetAPIKeyCollectionIDOK) Code() int
Code gets the status code for the get Api key collection Id o k response
func (*GetAPIKeyCollectionIDOK) Error ¶
func (o *GetAPIKeyCollectionIDOK) Error() string
func (*GetAPIKeyCollectionIDOK) GetPayload ¶
func (o *GetAPIKeyCollectionIDOK) GetPayload() *models.ResponseCollectionReponse
func (*GetAPIKeyCollectionIDOK) IsClientError ¶
func (o *GetAPIKeyCollectionIDOK) IsClientError() bool
IsClientError returns true when this get Api key collection Id o k response has a 4xx status code
func (*GetAPIKeyCollectionIDOK) IsCode ¶
func (o *GetAPIKeyCollectionIDOK) IsCode(code int) bool
IsCode returns true when this get Api key collection Id o k response a status code equal to that given
func (*GetAPIKeyCollectionIDOK) IsRedirect ¶
func (o *GetAPIKeyCollectionIDOK) IsRedirect() bool
IsRedirect returns true when this get Api key collection Id o k response has a 3xx status code
func (*GetAPIKeyCollectionIDOK) IsServerError ¶
func (o *GetAPIKeyCollectionIDOK) IsServerError() bool
IsServerError returns true when this get Api key collection Id o k response has a 5xx status code
func (*GetAPIKeyCollectionIDOK) IsSuccess ¶
func (o *GetAPIKeyCollectionIDOK) IsSuccess() bool
IsSuccess returns true when this get Api key collection Id o k response has a 2xx status code
func (*GetAPIKeyCollectionIDOK) String ¶
func (o *GetAPIKeyCollectionIDOK) String() string
type GetAPIKeyCollectionIDParams ¶
type GetAPIKeyCollectionIDParams struct {
/* ID.
Collection's id
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetAPIKeyCollectionIDParams contains all the parameters to send to the API endpoint
for the get API key collection ID operation. Typically these are written to a http.Request.
func NewGetAPIKeyCollectionIDParams ¶
func NewGetAPIKeyCollectionIDParams() *GetAPIKeyCollectionIDParams
NewGetAPIKeyCollectionIDParams creates a new GetAPIKeyCollectionIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAPIKeyCollectionIDParamsWithContext ¶
func NewGetAPIKeyCollectionIDParamsWithContext(ctx context.Context) *GetAPIKeyCollectionIDParams
NewGetAPIKeyCollectionIDParamsWithContext creates a new GetAPIKeyCollectionIDParams object with the ability to set a context for a request.
func NewGetAPIKeyCollectionIDParamsWithHTTPClient ¶
func NewGetAPIKeyCollectionIDParamsWithHTTPClient(client *http.Client) *GetAPIKeyCollectionIDParams
NewGetAPIKeyCollectionIDParamsWithHTTPClient creates a new GetAPIKeyCollectionIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIKeyCollectionIDParamsWithTimeout ¶
func NewGetAPIKeyCollectionIDParamsWithTimeout(timeout time.Duration) *GetAPIKeyCollectionIDParams
NewGetAPIKeyCollectionIDParamsWithTimeout creates a new GetAPIKeyCollectionIDParams object with the ability to set a timeout on a request.
func (*GetAPIKeyCollectionIDParams) SetContext ¶
func (o *GetAPIKeyCollectionIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get API key collection ID params
func (*GetAPIKeyCollectionIDParams) SetDefaults ¶
func (o *GetAPIKeyCollectionIDParams) SetDefaults()
SetDefaults hydrates default values in the get API key collection ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIKeyCollectionIDParams) SetHTTPClient ¶
func (o *GetAPIKeyCollectionIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API key collection ID params
func (*GetAPIKeyCollectionIDParams) SetID ¶
func (o *GetAPIKeyCollectionIDParams) SetID(id string)
SetID adds the id to the get API key collection ID params
func (*GetAPIKeyCollectionIDParams) SetTimeout ¶
func (o *GetAPIKeyCollectionIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API key collection ID params
func (*GetAPIKeyCollectionIDParams) WithContext ¶
func (o *GetAPIKeyCollectionIDParams) WithContext(ctx context.Context) *GetAPIKeyCollectionIDParams
WithContext adds the context to the get API key collection ID params
func (*GetAPIKeyCollectionIDParams) WithDefaults ¶
func (o *GetAPIKeyCollectionIDParams) WithDefaults() *GetAPIKeyCollectionIDParams
WithDefaults hydrates default values in the get API key collection ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIKeyCollectionIDParams) WithHTTPClient ¶
func (o *GetAPIKeyCollectionIDParams) WithHTTPClient(client *http.Client) *GetAPIKeyCollectionIDParams
WithHTTPClient adds the HTTPClient to the get API key collection ID params
func (*GetAPIKeyCollectionIDParams) WithID ¶
func (o *GetAPIKeyCollectionIDParams) WithID(id string) *GetAPIKeyCollectionIDParams
WithID adds the id to the get API key collection ID params
func (*GetAPIKeyCollectionIDParams) WithTimeout ¶
func (o *GetAPIKeyCollectionIDParams) WithTimeout(timeout time.Duration) *GetAPIKeyCollectionIDParams
WithTimeout adds the timeout to the get API key collection ID params
func (*GetAPIKeyCollectionIDParams) WriteToRequest ¶
func (o *GetAPIKeyCollectionIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIKeyCollectionIDReader ¶
type GetAPIKeyCollectionIDReader struct {
// contains filtered or unexported fields
}
GetAPIKeyCollectionIDReader is a Reader for the GetAPIKeyCollectionID structure.
func (*GetAPIKeyCollectionIDReader) ReadResponse ¶
func (o *GetAPIKeyCollectionIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostAPIKeyCollectionBadRequest ¶
type PostAPIKeyCollectionBadRequest struct {
Payload *models.ResponseFailResponse
}
PostAPIKeyCollectionBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAPIKeyCollectionBadRequest ¶
func NewPostAPIKeyCollectionBadRequest() *PostAPIKeyCollectionBadRequest
NewPostAPIKeyCollectionBadRequest creates a PostAPIKeyCollectionBadRequest with default headers values
func (*PostAPIKeyCollectionBadRequest) Code ¶
func (o *PostAPIKeyCollectionBadRequest) Code() int
Code gets the status code for the post Api key collection bad request response
func (*PostAPIKeyCollectionBadRequest) Error ¶
func (o *PostAPIKeyCollectionBadRequest) Error() string
func (*PostAPIKeyCollectionBadRequest) GetPayload ¶
func (o *PostAPIKeyCollectionBadRequest) GetPayload() *models.ResponseFailResponse
func (*PostAPIKeyCollectionBadRequest) IsClientError ¶
func (o *PostAPIKeyCollectionBadRequest) IsClientError() bool
IsClientError returns true when this post Api key collection bad request response has a 4xx status code
func (*PostAPIKeyCollectionBadRequest) IsCode ¶
func (o *PostAPIKeyCollectionBadRequest) IsCode(code int) bool
IsCode returns true when this post Api key collection bad request response a status code equal to that given
func (*PostAPIKeyCollectionBadRequest) IsRedirect ¶
func (o *PostAPIKeyCollectionBadRequest) IsRedirect() bool
IsRedirect returns true when this post Api key collection bad request response has a 3xx status code
func (*PostAPIKeyCollectionBadRequest) IsServerError ¶
func (o *PostAPIKeyCollectionBadRequest) IsServerError() bool
IsServerError returns true when this post Api key collection bad request response has a 5xx status code
func (*PostAPIKeyCollectionBadRequest) IsSuccess ¶
func (o *PostAPIKeyCollectionBadRequest) IsSuccess() bool
IsSuccess returns true when this post Api key collection bad request response has a 2xx status code
func (*PostAPIKeyCollectionBadRequest) String ¶
func (o *PostAPIKeyCollectionBadRequest) String() string
type PostAPIKeyCollectionIDItemBadRequest ¶
type PostAPIKeyCollectionIDItemBadRequest struct {
Payload *models.ResponseFailResponse
}
PostAPIKeyCollectionIDItemBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAPIKeyCollectionIDItemBadRequest ¶
func NewPostAPIKeyCollectionIDItemBadRequest() *PostAPIKeyCollectionIDItemBadRequest
NewPostAPIKeyCollectionIDItemBadRequest creates a PostAPIKeyCollectionIDItemBadRequest with default headers values
func (*PostAPIKeyCollectionIDItemBadRequest) Code ¶
func (o *PostAPIKeyCollectionIDItemBadRequest) Code() int
Code gets the status code for the post Api key collection Id item bad request response
func (*PostAPIKeyCollectionIDItemBadRequest) Error ¶
func (o *PostAPIKeyCollectionIDItemBadRequest) Error() string
func (*PostAPIKeyCollectionIDItemBadRequest) GetPayload ¶
func (o *PostAPIKeyCollectionIDItemBadRequest) GetPayload() *models.ResponseFailResponse
func (*PostAPIKeyCollectionIDItemBadRequest) IsClientError ¶
func (o *PostAPIKeyCollectionIDItemBadRequest) IsClientError() bool
IsClientError returns true when this post Api key collection Id item bad request response has a 4xx status code
func (*PostAPIKeyCollectionIDItemBadRequest) IsCode ¶
func (o *PostAPIKeyCollectionIDItemBadRequest) IsCode(code int) bool
IsCode returns true when this post Api key collection Id item bad request response a status code equal to that given
func (*PostAPIKeyCollectionIDItemBadRequest) IsRedirect ¶
func (o *PostAPIKeyCollectionIDItemBadRequest) IsRedirect() bool
IsRedirect returns true when this post Api key collection Id item bad request response has a 3xx status code
func (*PostAPIKeyCollectionIDItemBadRequest) IsServerError ¶
func (o *PostAPIKeyCollectionIDItemBadRequest) IsServerError() bool
IsServerError returns true when this post Api key collection Id item bad request response has a 5xx status code
func (*PostAPIKeyCollectionIDItemBadRequest) IsSuccess ¶
func (o *PostAPIKeyCollectionIDItemBadRequest) IsSuccess() bool
IsSuccess returns true when this post Api key collection Id item bad request response has a 2xx status code
func (*PostAPIKeyCollectionIDItemBadRequest) String ¶
func (o *PostAPIKeyCollectionIDItemBadRequest) String() string
type PostAPIKeyCollectionIDItemInternalServerError ¶
type PostAPIKeyCollectionIDItemInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PostAPIKeyCollectionIDItemInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAPIKeyCollectionIDItemInternalServerError ¶
func NewPostAPIKeyCollectionIDItemInternalServerError() *PostAPIKeyCollectionIDItemInternalServerError
NewPostAPIKeyCollectionIDItemInternalServerError creates a PostAPIKeyCollectionIDItemInternalServerError with default headers values
func (*PostAPIKeyCollectionIDItemInternalServerError) Code ¶
func (o *PostAPIKeyCollectionIDItemInternalServerError) Code() int
Code gets the status code for the post Api key collection Id item internal server error response
func (*PostAPIKeyCollectionIDItemInternalServerError) Error ¶
func (o *PostAPIKeyCollectionIDItemInternalServerError) Error() string
func (*PostAPIKeyCollectionIDItemInternalServerError) GetPayload ¶
func (o *PostAPIKeyCollectionIDItemInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostAPIKeyCollectionIDItemInternalServerError) IsClientError ¶
func (o *PostAPIKeyCollectionIDItemInternalServerError) IsClientError() bool
IsClientError returns true when this post Api key collection Id item internal server error response has a 4xx status code
func (*PostAPIKeyCollectionIDItemInternalServerError) IsCode ¶
func (o *PostAPIKeyCollectionIDItemInternalServerError) IsCode(code int) bool
IsCode returns true when this post Api key collection Id item internal server error response a status code equal to that given
func (*PostAPIKeyCollectionIDItemInternalServerError) IsRedirect ¶
func (o *PostAPIKeyCollectionIDItemInternalServerError) IsRedirect() bool
IsRedirect returns true when this post Api key collection Id item internal server error response has a 3xx status code
func (*PostAPIKeyCollectionIDItemInternalServerError) IsServerError ¶
func (o *PostAPIKeyCollectionIDItemInternalServerError) IsServerError() bool
IsServerError returns true when this post Api key collection Id item internal server error response has a 5xx status code
func (*PostAPIKeyCollectionIDItemInternalServerError) IsSuccess ¶
func (o *PostAPIKeyCollectionIDItemInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api key collection Id item internal server error response has a 2xx status code
func (*PostAPIKeyCollectionIDItemInternalServerError) String ¶
func (o *PostAPIKeyCollectionIDItemInternalServerError) String() string
type PostAPIKeyCollectionIDItemOK ¶
type PostAPIKeyCollectionIDItemOK struct {
Payload *models.ResponseCollectionReponse
}
PostAPIKeyCollectionIDItemOK describes a response with status code 200, with default header values.
OK
func NewPostAPIKeyCollectionIDItemOK ¶
func NewPostAPIKeyCollectionIDItemOK() *PostAPIKeyCollectionIDItemOK
NewPostAPIKeyCollectionIDItemOK creates a PostAPIKeyCollectionIDItemOK with default headers values
func (*PostAPIKeyCollectionIDItemOK) Code ¶
func (o *PostAPIKeyCollectionIDItemOK) Code() int
Code gets the status code for the post Api key collection Id item o k response
func (*PostAPIKeyCollectionIDItemOK) Error ¶
func (o *PostAPIKeyCollectionIDItemOK) Error() string
func (*PostAPIKeyCollectionIDItemOK) GetPayload ¶
func (o *PostAPIKeyCollectionIDItemOK) GetPayload() *models.ResponseCollectionReponse
func (*PostAPIKeyCollectionIDItemOK) IsClientError ¶
func (o *PostAPIKeyCollectionIDItemOK) IsClientError() bool
IsClientError returns true when this post Api key collection Id item o k response has a 4xx status code
func (*PostAPIKeyCollectionIDItemOK) IsCode ¶
func (o *PostAPIKeyCollectionIDItemOK) IsCode(code int) bool
IsCode returns true when this post Api key collection Id item o k response a status code equal to that given
func (*PostAPIKeyCollectionIDItemOK) IsRedirect ¶
func (o *PostAPIKeyCollectionIDItemOK) IsRedirect() bool
IsRedirect returns true when this post Api key collection Id item o k response has a 3xx status code
func (*PostAPIKeyCollectionIDItemOK) IsServerError ¶
func (o *PostAPIKeyCollectionIDItemOK) IsServerError() bool
IsServerError returns true when this post Api key collection Id item o k response has a 5xx status code
func (*PostAPIKeyCollectionIDItemOK) IsSuccess ¶
func (o *PostAPIKeyCollectionIDItemOK) IsSuccess() bool
IsSuccess returns true when this post Api key collection Id item o k response has a 2xx status code
func (*PostAPIKeyCollectionIDItemOK) String ¶
func (o *PostAPIKeyCollectionIDItemOK) String() string
type PostAPIKeyCollectionIDItemParams ¶
type PostAPIKeyCollectionIDItemParams struct {
/* ID.
Collection's id
*/
ID string
/* Input.
Add Item To Collection Request
*/
Input *models.RequestAddItemToCollectionRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostAPIKeyCollectionIDItemParams contains all the parameters to send to the API endpoint
for the post API key collection ID item operation. Typically these are written to a http.Request.
func NewPostAPIKeyCollectionIDItemParams ¶
func NewPostAPIKeyCollectionIDItemParams() *PostAPIKeyCollectionIDItemParams
NewPostAPIKeyCollectionIDItemParams creates a new PostAPIKeyCollectionIDItemParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAPIKeyCollectionIDItemParamsWithContext ¶
func NewPostAPIKeyCollectionIDItemParamsWithContext(ctx context.Context) *PostAPIKeyCollectionIDItemParams
NewPostAPIKeyCollectionIDItemParamsWithContext creates a new PostAPIKeyCollectionIDItemParams object with the ability to set a context for a request.
func NewPostAPIKeyCollectionIDItemParamsWithHTTPClient ¶
func NewPostAPIKeyCollectionIDItemParamsWithHTTPClient(client *http.Client) *PostAPIKeyCollectionIDItemParams
NewPostAPIKeyCollectionIDItemParamsWithHTTPClient creates a new PostAPIKeyCollectionIDItemParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPIKeyCollectionIDItemParamsWithTimeout ¶
func NewPostAPIKeyCollectionIDItemParamsWithTimeout(timeout time.Duration) *PostAPIKeyCollectionIDItemParams
NewPostAPIKeyCollectionIDItemParamsWithTimeout creates a new PostAPIKeyCollectionIDItemParams object with the ability to set a timeout on a request.
func (*PostAPIKeyCollectionIDItemParams) SetContext ¶
func (o *PostAPIKeyCollectionIDItemParams) SetContext(ctx context.Context)
SetContext adds the context to the post API key collection ID item params
func (*PostAPIKeyCollectionIDItemParams) SetDefaults ¶
func (o *PostAPIKeyCollectionIDItemParams) SetDefaults()
SetDefaults hydrates default values in the post API key collection ID item params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCollectionIDItemParams) SetHTTPClient ¶
func (o *PostAPIKeyCollectionIDItemParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API key collection ID item params
func (*PostAPIKeyCollectionIDItemParams) SetID ¶
func (o *PostAPIKeyCollectionIDItemParams) SetID(id string)
SetID adds the id to the post API key collection ID item params
func (*PostAPIKeyCollectionIDItemParams) SetInput ¶
func (o *PostAPIKeyCollectionIDItemParams) SetInput(input *models.RequestAddItemToCollectionRequest)
SetInput adds the input to the post API key collection ID item params
func (*PostAPIKeyCollectionIDItemParams) SetTimeout ¶
func (o *PostAPIKeyCollectionIDItemParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API key collection ID item params
func (*PostAPIKeyCollectionIDItemParams) WithContext ¶
func (o *PostAPIKeyCollectionIDItemParams) WithContext(ctx context.Context) *PostAPIKeyCollectionIDItemParams
WithContext adds the context to the post API key collection ID item params
func (*PostAPIKeyCollectionIDItemParams) WithDefaults ¶
func (o *PostAPIKeyCollectionIDItemParams) WithDefaults() *PostAPIKeyCollectionIDItemParams
WithDefaults hydrates default values in the post API key collection ID item params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCollectionIDItemParams) WithHTTPClient ¶
func (o *PostAPIKeyCollectionIDItemParams) WithHTTPClient(client *http.Client) *PostAPIKeyCollectionIDItemParams
WithHTTPClient adds the HTTPClient to the post API key collection ID item params
func (*PostAPIKeyCollectionIDItemParams) WithID ¶
func (o *PostAPIKeyCollectionIDItemParams) WithID(id string) *PostAPIKeyCollectionIDItemParams
WithID adds the id to the post API key collection ID item params
func (*PostAPIKeyCollectionIDItemParams) WithInput ¶
func (o *PostAPIKeyCollectionIDItemParams) WithInput(input *models.RequestAddItemToCollectionRequest) *PostAPIKeyCollectionIDItemParams
WithInput adds the input to the post API key collection ID item params
func (*PostAPIKeyCollectionIDItemParams) WithTimeout ¶
func (o *PostAPIKeyCollectionIDItemParams) WithTimeout(timeout time.Duration) *PostAPIKeyCollectionIDItemParams
WithTimeout adds the timeout to the post API key collection ID item params
func (*PostAPIKeyCollectionIDItemParams) WriteToRequest ¶
func (o *PostAPIKeyCollectionIDItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIKeyCollectionIDItemReader ¶
type PostAPIKeyCollectionIDItemReader struct {
// contains filtered or unexported fields
}
PostAPIKeyCollectionIDItemReader is a Reader for the PostAPIKeyCollectionIDItem structure.
func (*PostAPIKeyCollectionIDItemReader) ReadResponse ¶
func (o *PostAPIKeyCollectionIDItemReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostAPIKeyCollectionInternalServerError ¶
type PostAPIKeyCollectionInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PostAPIKeyCollectionInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAPIKeyCollectionInternalServerError ¶
func NewPostAPIKeyCollectionInternalServerError() *PostAPIKeyCollectionInternalServerError
NewPostAPIKeyCollectionInternalServerError creates a PostAPIKeyCollectionInternalServerError with default headers values
func (*PostAPIKeyCollectionInternalServerError) Code ¶
func (o *PostAPIKeyCollectionInternalServerError) Code() int
Code gets the status code for the post Api key collection internal server error response
func (*PostAPIKeyCollectionInternalServerError) Error ¶
func (o *PostAPIKeyCollectionInternalServerError) Error() string
func (*PostAPIKeyCollectionInternalServerError) GetPayload ¶
func (o *PostAPIKeyCollectionInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostAPIKeyCollectionInternalServerError) IsClientError ¶
func (o *PostAPIKeyCollectionInternalServerError) IsClientError() bool
IsClientError returns true when this post Api key collection internal server error response has a 4xx status code
func (*PostAPIKeyCollectionInternalServerError) IsCode ¶
func (o *PostAPIKeyCollectionInternalServerError) IsCode(code int) bool
IsCode returns true when this post Api key collection internal server error response a status code equal to that given
func (*PostAPIKeyCollectionInternalServerError) IsRedirect ¶
func (o *PostAPIKeyCollectionInternalServerError) IsRedirect() bool
IsRedirect returns true when this post Api key collection internal server error response has a 3xx status code
func (*PostAPIKeyCollectionInternalServerError) IsServerError ¶
func (o *PostAPIKeyCollectionInternalServerError) IsServerError() bool
IsServerError returns true when this post Api key collection internal server error response has a 5xx status code
func (*PostAPIKeyCollectionInternalServerError) IsSuccess ¶
func (o *PostAPIKeyCollectionInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api key collection internal server error response has a 2xx status code
func (*PostAPIKeyCollectionInternalServerError) String ¶
func (o *PostAPIKeyCollectionInternalServerError) String() string
type PostAPIKeyCollectionListBadRequest ¶
type PostAPIKeyCollectionListBadRequest struct {
Payload *models.ResponseFailResponse
}
PostAPIKeyCollectionListBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAPIKeyCollectionListBadRequest ¶
func NewPostAPIKeyCollectionListBadRequest() *PostAPIKeyCollectionListBadRequest
NewPostAPIKeyCollectionListBadRequest creates a PostAPIKeyCollectionListBadRequest with default headers values
func (*PostAPIKeyCollectionListBadRequest) Code ¶
func (o *PostAPIKeyCollectionListBadRequest) Code() int
Code gets the status code for the post Api key collection list bad request response
func (*PostAPIKeyCollectionListBadRequest) Error ¶
func (o *PostAPIKeyCollectionListBadRequest) Error() string
func (*PostAPIKeyCollectionListBadRequest) GetPayload ¶
func (o *PostAPIKeyCollectionListBadRequest) GetPayload() *models.ResponseFailResponse
func (*PostAPIKeyCollectionListBadRequest) IsClientError ¶
func (o *PostAPIKeyCollectionListBadRequest) IsClientError() bool
IsClientError returns true when this post Api key collection list bad request response has a 4xx status code
func (*PostAPIKeyCollectionListBadRequest) IsCode ¶
func (o *PostAPIKeyCollectionListBadRequest) IsCode(code int) bool
IsCode returns true when this post Api key collection list bad request response a status code equal to that given
func (*PostAPIKeyCollectionListBadRequest) IsRedirect ¶
func (o *PostAPIKeyCollectionListBadRequest) IsRedirect() bool
IsRedirect returns true when this post Api key collection list bad request response has a 3xx status code
func (*PostAPIKeyCollectionListBadRequest) IsServerError ¶
func (o *PostAPIKeyCollectionListBadRequest) IsServerError() bool
IsServerError returns true when this post Api key collection list bad request response has a 5xx status code
func (*PostAPIKeyCollectionListBadRequest) IsSuccess ¶
func (o *PostAPIKeyCollectionListBadRequest) IsSuccess() bool
IsSuccess returns true when this post Api key collection list bad request response has a 2xx status code
func (*PostAPIKeyCollectionListBadRequest) String ¶
func (o *PostAPIKeyCollectionListBadRequest) String() string
type PostAPIKeyCollectionListInternalServerError ¶
type PostAPIKeyCollectionListInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PostAPIKeyCollectionListInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAPIKeyCollectionListInternalServerError ¶
func NewPostAPIKeyCollectionListInternalServerError() *PostAPIKeyCollectionListInternalServerError
NewPostAPIKeyCollectionListInternalServerError creates a PostAPIKeyCollectionListInternalServerError with default headers values
func (*PostAPIKeyCollectionListInternalServerError) Code ¶
func (o *PostAPIKeyCollectionListInternalServerError) Code() int
Code gets the status code for the post Api key collection list internal server error response
func (*PostAPIKeyCollectionListInternalServerError) Error ¶
func (o *PostAPIKeyCollectionListInternalServerError) Error() string
func (*PostAPIKeyCollectionListInternalServerError) GetPayload ¶
func (o *PostAPIKeyCollectionListInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostAPIKeyCollectionListInternalServerError) IsClientError ¶
func (o *PostAPIKeyCollectionListInternalServerError) IsClientError() bool
IsClientError returns true when this post Api key collection list internal server error response has a 4xx status code
func (*PostAPIKeyCollectionListInternalServerError) IsCode ¶
func (o *PostAPIKeyCollectionListInternalServerError) IsCode(code int) bool
IsCode returns true when this post Api key collection list internal server error response a status code equal to that given
func (*PostAPIKeyCollectionListInternalServerError) IsRedirect ¶
func (o *PostAPIKeyCollectionListInternalServerError) IsRedirect() bool
IsRedirect returns true when this post Api key collection list internal server error response has a 3xx status code
func (*PostAPIKeyCollectionListInternalServerError) IsServerError ¶
func (o *PostAPIKeyCollectionListInternalServerError) IsServerError() bool
IsServerError returns true when this post Api key collection list internal server error response has a 5xx status code
func (*PostAPIKeyCollectionListInternalServerError) IsSuccess ¶
func (o *PostAPIKeyCollectionListInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api key collection list internal server error response has a 2xx status code
func (*PostAPIKeyCollectionListInternalServerError) String ¶
func (o *PostAPIKeyCollectionListInternalServerError) String() string
type PostAPIKeyCollectionListOK ¶
type PostAPIKeyCollectionListOK struct {
Payload *models.ResponseCollectionListResponse
}
PostAPIKeyCollectionListOK describes a response with status code 200, with default header values.
OK
func NewPostAPIKeyCollectionListOK ¶
func NewPostAPIKeyCollectionListOK() *PostAPIKeyCollectionListOK
NewPostAPIKeyCollectionListOK creates a PostAPIKeyCollectionListOK with default headers values
func (*PostAPIKeyCollectionListOK) Code ¶
func (o *PostAPIKeyCollectionListOK) Code() int
Code gets the status code for the post Api key collection list o k response
func (*PostAPIKeyCollectionListOK) Error ¶
func (o *PostAPIKeyCollectionListOK) Error() string
func (*PostAPIKeyCollectionListOK) GetPayload ¶
func (o *PostAPIKeyCollectionListOK) GetPayload() *models.ResponseCollectionListResponse
func (*PostAPIKeyCollectionListOK) IsClientError ¶
func (o *PostAPIKeyCollectionListOK) IsClientError() bool
IsClientError returns true when this post Api key collection list o k response has a 4xx status code
func (*PostAPIKeyCollectionListOK) IsCode ¶
func (o *PostAPIKeyCollectionListOK) IsCode(code int) bool
IsCode returns true when this post Api key collection list o k response a status code equal to that given
func (*PostAPIKeyCollectionListOK) IsRedirect ¶
func (o *PostAPIKeyCollectionListOK) IsRedirect() bool
IsRedirect returns true when this post Api key collection list o k response has a 3xx status code
func (*PostAPIKeyCollectionListOK) IsServerError ¶
func (o *PostAPIKeyCollectionListOK) IsServerError() bool
IsServerError returns true when this post Api key collection list o k response has a 5xx status code
func (*PostAPIKeyCollectionListOK) IsSuccess ¶
func (o *PostAPIKeyCollectionListOK) IsSuccess() bool
IsSuccess returns true when this post Api key collection list o k response has a 2xx status code
func (*PostAPIKeyCollectionListOK) String ¶
func (o *PostAPIKeyCollectionListOK) String() string
type PostAPIKeyCollectionListParams ¶
type PostAPIKeyCollectionListParams struct {
/* Input.
Get List Collection Request
*/
Input *models.RequestGetListCollectionRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostAPIKeyCollectionListParams contains all the parameters to send to the API endpoint
for the post API key collection list operation. Typically these are written to a http.Request.
func NewPostAPIKeyCollectionListParams ¶
func NewPostAPIKeyCollectionListParams() *PostAPIKeyCollectionListParams
NewPostAPIKeyCollectionListParams creates a new PostAPIKeyCollectionListParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAPIKeyCollectionListParamsWithContext ¶
func NewPostAPIKeyCollectionListParamsWithContext(ctx context.Context) *PostAPIKeyCollectionListParams
NewPostAPIKeyCollectionListParamsWithContext creates a new PostAPIKeyCollectionListParams object with the ability to set a context for a request.
func NewPostAPIKeyCollectionListParamsWithHTTPClient ¶
func NewPostAPIKeyCollectionListParamsWithHTTPClient(client *http.Client) *PostAPIKeyCollectionListParams
NewPostAPIKeyCollectionListParamsWithHTTPClient creates a new PostAPIKeyCollectionListParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPIKeyCollectionListParamsWithTimeout ¶
func NewPostAPIKeyCollectionListParamsWithTimeout(timeout time.Duration) *PostAPIKeyCollectionListParams
NewPostAPIKeyCollectionListParamsWithTimeout creates a new PostAPIKeyCollectionListParams object with the ability to set a timeout on a request.
func (*PostAPIKeyCollectionListParams) SetContext ¶
func (o *PostAPIKeyCollectionListParams) SetContext(ctx context.Context)
SetContext adds the context to the post API key collection list params
func (*PostAPIKeyCollectionListParams) SetDefaults ¶
func (o *PostAPIKeyCollectionListParams) SetDefaults()
SetDefaults hydrates default values in the post API key collection list params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCollectionListParams) SetHTTPClient ¶
func (o *PostAPIKeyCollectionListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API key collection list params
func (*PostAPIKeyCollectionListParams) SetInput ¶
func (o *PostAPIKeyCollectionListParams) SetInput(input *models.RequestGetListCollectionRequest)
SetInput adds the input to the post API key collection list params
func (*PostAPIKeyCollectionListParams) SetTimeout ¶
func (o *PostAPIKeyCollectionListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API key collection list params
func (*PostAPIKeyCollectionListParams) WithContext ¶
func (o *PostAPIKeyCollectionListParams) WithContext(ctx context.Context) *PostAPIKeyCollectionListParams
WithContext adds the context to the post API key collection list params
func (*PostAPIKeyCollectionListParams) WithDefaults ¶
func (o *PostAPIKeyCollectionListParams) WithDefaults() *PostAPIKeyCollectionListParams
WithDefaults hydrates default values in the post API key collection list params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCollectionListParams) WithHTTPClient ¶
func (o *PostAPIKeyCollectionListParams) WithHTTPClient(client *http.Client) *PostAPIKeyCollectionListParams
WithHTTPClient adds the HTTPClient to the post API key collection list params
func (*PostAPIKeyCollectionListParams) WithInput ¶
func (o *PostAPIKeyCollectionListParams) WithInput(input *models.RequestGetListCollectionRequest) *PostAPIKeyCollectionListParams
WithInput adds the input to the post API key collection list params
func (*PostAPIKeyCollectionListParams) WithTimeout ¶
func (o *PostAPIKeyCollectionListParams) WithTimeout(timeout time.Duration) *PostAPIKeyCollectionListParams
WithTimeout adds the timeout to the post API key collection list params
func (*PostAPIKeyCollectionListParams) WriteToRequest ¶
func (o *PostAPIKeyCollectionListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIKeyCollectionListReader ¶
type PostAPIKeyCollectionListReader struct {
// contains filtered or unexported fields
}
PostAPIKeyCollectionListReader is a Reader for the PostAPIKeyCollectionList structure.
func (*PostAPIKeyCollectionListReader) ReadResponse ¶
func (o *PostAPIKeyCollectionListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostAPIKeyCollectionOK ¶
type PostAPIKeyCollectionOK struct {
Payload *models.ResponseCollectionReponse
}
PostAPIKeyCollectionOK describes a response with status code 200, with default header values.
OK
func NewPostAPIKeyCollectionOK ¶
func NewPostAPIKeyCollectionOK() *PostAPIKeyCollectionOK
NewPostAPIKeyCollectionOK creates a PostAPIKeyCollectionOK with default headers values
func (*PostAPIKeyCollectionOK) Code ¶
func (o *PostAPIKeyCollectionOK) Code() int
Code gets the status code for the post Api key collection o k response
func (*PostAPIKeyCollectionOK) Error ¶
func (o *PostAPIKeyCollectionOK) Error() string
func (*PostAPIKeyCollectionOK) GetPayload ¶
func (o *PostAPIKeyCollectionOK) GetPayload() *models.ResponseCollectionReponse
func (*PostAPIKeyCollectionOK) IsClientError ¶
func (o *PostAPIKeyCollectionOK) IsClientError() bool
IsClientError returns true when this post Api key collection o k response has a 4xx status code
func (*PostAPIKeyCollectionOK) IsCode ¶
func (o *PostAPIKeyCollectionOK) IsCode(code int) bool
IsCode returns true when this post Api key collection o k response a status code equal to that given
func (*PostAPIKeyCollectionOK) IsRedirect ¶
func (o *PostAPIKeyCollectionOK) IsRedirect() bool
IsRedirect returns true when this post Api key collection o k response has a 3xx status code
func (*PostAPIKeyCollectionOK) IsServerError ¶
func (o *PostAPIKeyCollectionOK) IsServerError() bool
IsServerError returns true when this post Api key collection o k response has a 5xx status code
func (*PostAPIKeyCollectionOK) IsSuccess ¶
func (o *PostAPIKeyCollectionOK) IsSuccess() bool
IsSuccess returns true when this post Api key collection o k response has a 2xx status code
func (*PostAPIKeyCollectionOK) String ¶
func (o *PostAPIKeyCollectionOK) String() string
type PostAPIKeyCollectionParams ¶
type PostAPIKeyCollectionParams struct {
/* Input.
Create Collection Request
*/
Input *models.RequestCreateCollectionRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostAPIKeyCollectionParams contains all the parameters to send to the API endpoint
for the post API key collection operation. Typically these are written to a http.Request.
func NewPostAPIKeyCollectionParams ¶
func NewPostAPIKeyCollectionParams() *PostAPIKeyCollectionParams
NewPostAPIKeyCollectionParams creates a new PostAPIKeyCollectionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAPIKeyCollectionParamsWithContext ¶
func NewPostAPIKeyCollectionParamsWithContext(ctx context.Context) *PostAPIKeyCollectionParams
NewPostAPIKeyCollectionParamsWithContext creates a new PostAPIKeyCollectionParams object with the ability to set a context for a request.
func NewPostAPIKeyCollectionParamsWithHTTPClient ¶
func NewPostAPIKeyCollectionParamsWithHTTPClient(client *http.Client) *PostAPIKeyCollectionParams
NewPostAPIKeyCollectionParamsWithHTTPClient creates a new PostAPIKeyCollectionParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPIKeyCollectionParamsWithTimeout ¶
func NewPostAPIKeyCollectionParamsWithTimeout(timeout time.Duration) *PostAPIKeyCollectionParams
NewPostAPIKeyCollectionParamsWithTimeout creates a new PostAPIKeyCollectionParams object with the ability to set a timeout on a request.
func (*PostAPIKeyCollectionParams) SetContext ¶
func (o *PostAPIKeyCollectionParams) SetContext(ctx context.Context)
SetContext adds the context to the post API key collection params
func (*PostAPIKeyCollectionParams) SetDefaults ¶
func (o *PostAPIKeyCollectionParams) SetDefaults()
SetDefaults hydrates default values in the post API key collection params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCollectionParams) SetHTTPClient ¶
func (o *PostAPIKeyCollectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API key collection params
func (*PostAPIKeyCollectionParams) SetInput ¶
func (o *PostAPIKeyCollectionParams) SetInput(input *models.RequestCreateCollectionRequest)
SetInput adds the input to the post API key collection params
func (*PostAPIKeyCollectionParams) SetTimeout ¶
func (o *PostAPIKeyCollectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API key collection params
func (*PostAPIKeyCollectionParams) WithContext ¶
func (o *PostAPIKeyCollectionParams) WithContext(ctx context.Context) *PostAPIKeyCollectionParams
WithContext adds the context to the post API key collection params
func (*PostAPIKeyCollectionParams) WithDefaults ¶
func (o *PostAPIKeyCollectionParams) WithDefaults() *PostAPIKeyCollectionParams
WithDefaults hydrates default values in the post API key collection params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCollectionParams) WithHTTPClient ¶
func (o *PostAPIKeyCollectionParams) WithHTTPClient(client *http.Client) *PostAPIKeyCollectionParams
WithHTTPClient adds the HTTPClient to the post API key collection params
func (*PostAPIKeyCollectionParams) WithInput ¶
func (o *PostAPIKeyCollectionParams) WithInput(input *models.RequestCreateCollectionRequest) *PostAPIKeyCollectionParams
WithInput adds the input to the post API key collection params
func (*PostAPIKeyCollectionParams) WithTimeout ¶
func (o *PostAPIKeyCollectionParams) WithTimeout(timeout time.Duration) *PostAPIKeyCollectionParams
WithTimeout adds the timeout to the post API key collection params
func (*PostAPIKeyCollectionParams) WriteToRequest ¶
func (o *PostAPIKeyCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIKeyCollectionReader ¶
type PostAPIKeyCollectionReader struct {
// contains filtered or unexported fields
}
PostAPIKeyCollectionReader is a Reader for the PostAPIKeyCollection structure.
func (*PostAPIKeyCollectionReader) ReadResponse ¶
func (o *PostAPIKeyCollectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostAPIKeyCollectionUsernameListBadRequest ¶
type PostAPIKeyCollectionUsernameListBadRequest struct {
Payload *models.ResponseFailResponse
}
PostAPIKeyCollectionUsernameListBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAPIKeyCollectionUsernameListBadRequest ¶
func NewPostAPIKeyCollectionUsernameListBadRequest() *PostAPIKeyCollectionUsernameListBadRequest
NewPostAPIKeyCollectionUsernameListBadRequest creates a PostAPIKeyCollectionUsernameListBadRequest with default headers values
func (*PostAPIKeyCollectionUsernameListBadRequest) Code ¶
func (o *PostAPIKeyCollectionUsernameListBadRequest) Code() int
Code gets the status code for the post Api key collection username list bad request response
func (*PostAPIKeyCollectionUsernameListBadRequest) Error ¶
func (o *PostAPIKeyCollectionUsernameListBadRequest) Error() string
func (*PostAPIKeyCollectionUsernameListBadRequest) GetPayload ¶
func (o *PostAPIKeyCollectionUsernameListBadRequest) GetPayload() *models.ResponseFailResponse
func (*PostAPIKeyCollectionUsernameListBadRequest) IsClientError ¶
func (o *PostAPIKeyCollectionUsernameListBadRequest) IsClientError() bool
IsClientError returns true when this post Api key collection username list bad request response has a 4xx status code
func (*PostAPIKeyCollectionUsernameListBadRequest) IsCode ¶
func (o *PostAPIKeyCollectionUsernameListBadRequest) IsCode(code int) bool
IsCode returns true when this post Api key collection username list bad request response a status code equal to that given
func (*PostAPIKeyCollectionUsernameListBadRequest) IsRedirect ¶
func (o *PostAPIKeyCollectionUsernameListBadRequest) IsRedirect() bool
IsRedirect returns true when this post Api key collection username list bad request response has a 3xx status code
func (*PostAPIKeyCollectionUsernameListBadRequest) IsServerError ¶
func (o *PostAPIKeyCollectionUsernameListBadRequest) IsServerError() bool
IsServerError returns true when this post Api key collection username list bad request response has a 5xx status code
func (*PostAPIKeyCollectionUsernameListBadRequest) IsSuccess ¶
func (o *PostAPIKeyCollectionUsernameListBadRequest) IsSuccess() bool
IsSuccess returns true when this post Api key collection username list bad request response has a 2xx status code
func (*PostAPIKeyCollectionUsernameListBadRequest) String ¶
func (o *PostAPIKeyCollectionUsernameListBadRequest) String() string
type PostAPIKeyCollectionUsernameListInternalServerError ¶
type PostAPIKeyCollectionUsernameListInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PostAPIKeyCollectionUsernameListInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAPIKeyCollectionUsernameListInternalServerError ¶
func NewPostAPIKeyCollectionUsernameListInternalServerError() *PostAPIKeyCollectionUsernameListInternalServerError
NewPostAPIKeyCollectionUsernameListInternalServerError creates a PostAPIKeyCollectionUsernameListInternalServerError with default headers values
func (*PostAPIKeyCollectionUsernameListInternalServerError) Code ¶
func (o *PostAPIKeyCollectionUsernameListInternalServerError) Code() int
Code gets the status code for the post Api key collection username list internal server error response
func (*PostAPIKeyCollectionUsernameListInternalServerError) Error ¶
func (o *PostAPIKeyCollectionUsernameListInternalServerError) Error() string
func (*PostAPIKeyCollectionUsernameListInternalServerError) GetPayload ¶
func (o *PostAPIKeyCollectionUsernameListInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostAPIKeyCollectionUsernameListInternalServerError) IsClientError ¶
func (o *PostAPIKeyCollectionUsernameListInternalServerError) IsClientError() bool
IsClientError returns true when this post Api key collection username list internal server error response has a 4xx status code
func (*PostAPIKeyCollectionUsernameListInternalServerError) IsCode ¶
func (o *PostAPIKeyCollectionUsernameListInternalServerError) IsCode(code int) bool
IsCode returns true when this post Api key collection username list internal server error response a status code equal to that given
func (*PostAPIKeyCollectionUsernameListInternalServerError) IsRedirect ¶
func (o *PostAPIKeyCollectionUsernameListInternalServerError) IsRedirect() bool
IsRedirect returns true when this post Api key collection username list internal server error response has a 3xx status code
func (*PostAPIKeyCollectionUsernameListInternalServerError) IsServerError ¶
func (o *PostAPIKeyCollectionUsernameListInternalServerError) IsServerError() bool
IsServerError returns true when this post Api key collection username list internal server error response has a 5xx status code
func (*PostAPIKeyCollectionUsernameListInternalServerError) IsSuccess ¶
func (o *PostAPIKeyCollectionUsernameListInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api key collection username list internal server error response has a 2xx status code
func (*PostAPIKeyCollectionUsernameListInternalServerError) String ¶
func (o *PostAPIKeyCollectionUsernameListInternalServerError) String() string
type PostAPIKeyCollectionUsernameListOK ¶
type PostAPIKeyCollectionUsernameListOK struct {
Payload *models.ResponseCollectionListResponse
}
PostAPIKeyCollectionUsernameListOK describes a response with status code 200, with default header values.
OK
func NewPostAPIKeyCollectionUsernameListOK ¶
func NewPostAPIKeyCollectionUsernameListOK() *PostAPIKeyCollectionUsernameListOK
NewPostAPIKeyCollectionUsernameListOK creates a PostAPIKeyCollectionUsernameListOK with default headers values
func (*PostAPIKeyCollectionUsernameListOK) Code ¶
func (o *PostAPIKeyCollectionUsernameListOK) Code() int
Code gets the status code for the post Api key collection username list o k response
func (*PostAPIKeyCollectionUsernameListOK) Error ¶
func (o *PostAPIKeyCollectionUsernameListOK) Error() string
func (*PostAPIKeyCollectionUsernameListOK) GetPayload ¶
func (o *PostAPIKeyCollectionUsernameListOK) GetPayload() *models.ResponseCollectionListResponse
func (*PostAPIKeyCollectionUsernameListOK) IsClientError ¶
func (o *PostAPIKeyCollectionUsernameListOK) IsClientError() bool
IsClientError returns true when this post Api key collection username list o k response has a 4xx status code
func (*PostAPIKeyCollectionUsernameListOK) IsCode ¶
func (o *PostAPIKeyCollectionUsernameListOK) IsCode(code int) bool
IsCode returns true when this post Api key collection username list o k response a status code equal to that given
func (*PostAPIKeyCollectionUsernameListOK) IsRedirect ¶
func (o *PostAPIKeyCollectionUsernameListOK) IsRedirect() bool
IsRedirect returns true when this post Api key collection username list o k response has a 3xx status code
func (*PostAPIKeyCollectionUsernameListOK) IsServerError ¶
func (o *PostAPIKeyCollectionUsernameListOK) IsServerError() bool
IsServerError returns true when this post Api key collection username list o k response has a 5xx status code
func (*PostAPIKeyCollectionUsernameListOK) IsSuccess ¶
func (o *PostAPIKeyCollectionUsernameListOK) IsSuccess() bool
IsSuccess returns true when this post Api key collection username list o k response has a 2xx status code
func (*PostAPIKeyCollectionUsernameListOK) String ¶
func (o *PostAPIKeyCollectionUsernameListOK) String() string
type PostAPIKeyCollectionUsernameListParams ¶
type PostAPIKeyCollectionUsernameListParams struct {
/* Input.
Get List Collection By Username Request
*/
Input *models.RequestGetListCollectionByUsernameRequest
/* Username.
Username
*/
Username string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostAPIKeyCollectionUsernameListParams contains all the parameters to send to the API endpoint
for the post API key collection username list operation. Typically these are written to a http.Request.
func NewPostAPIKeyCollectionUsernameListParams ¶
func NewPostAPIKeyCollectionUsernameListParams() *PostAPIKeyCollectionUsernameListParams
NewPostAPIKeyCollectionUsernameListParams creates a new PostAPIKeyCollectionUsernameListParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAPIKeyCollectionUsernameListParamsWithContext ¶
func NewPostAPIKeyCollectionUsernameListParamsWithContext(ctx context.Context) *PostAPIKeyCollectionUsernameListParams
NewPostAPIKeyCollectionUsernameListParamsWithContext creates a new PostAPIKeyCollectionUsernameListParams object with the ability to set a context for a request.
func NewPostAPIKeyCollectionUsernameListParamsWithHTTPClient ¶
func NewPostAPIKeyCollectionUsernameListParamsWithHTTPClient(client *http.Client) *PostAPIKeyCollectionUsernameListParams
NewPostAPIKeyCollectionUsernameListParamsWithHTTPClient creates a new PostAPIKeyCollectionUsernameListParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPIKeyCollectionUsernameListParamsWithTimeout ¶
func NewPostAPIKeyCollectionUsernameListParamsWithTimeout(timeout time.Duration) *PostAPIKeyCollectionUsernameListParams
NewPostAPIKeyCollectionUsernameListParamsWithTimeout creates a new PostAPIKeyCollectionUsernameListParams object with the ability to set a timeout on a request.
func (*PostAPIKeyCollectionUsernameListParams) SetContext ¶
func (o *PostAPIKeyCollectionUsernameListParams) SetContext(ctx context.Context)
SetContext adds the context to the post API key collection username list params
func (*PostAPIKeyCollectionUsernameListParams) SetDefaults ¶
func (o *PostAPIKeyCollectionUsernameListParams) SetDefaults()
SetDefaults hydrates default values in the post API key collection username list params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCollectionUsernameListParams) SetHTTPClient ¶
func (o *PostAPIKeyCollectionUsernameListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API key collection username list params
func (*PostAPIKeyCollectionUsernameListParams) SetInput ¶
func (o *PostAPIKeyCollectionUsernameListParams) SetInput(input *models.RequestGetListCollectionByUsernameRequest)
SetInput adds the input to the post API key collection username list params
func (*PostAPIKeyCollectionUsernameListParams) SetTimeout ¶
func (o *PostAPIKeyCollectionUsernameListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API key collection username list params
func (*PostAPIKeyCollectionUsernameListParams) SetUsername ¶
func (o *PostAPIKeyCollectionUsernameListParams) SetUsername(username string)
SetUsername adds the username to the post API key collection username list params
func (*PostAPIKeyCollectionUsernameListParams) WithContext ¶
func (o *PostAPIKeyCollectionUsernameListParams) WithContext(ctx context.Context) *PostAPIKeyCollectionUsernameListParams
WithContext adds the context to the post API key collection username list params
func (*PostAPIKeyCollectionUsernameListParams) WithDefaults ¶
func (o *PostAPIKeyCollectionUsernameListParams) WithDefaults() *PostAPIKeyCollectionUsernameListParams
WithDefaults hydrates default values in the post API key collection username list params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCollectionUsernameListParams) WithHTTPClient ¶
func (o *PostAPIKeyCollectionUsernameListParams) WithHTTPClient(client *http.Client) *PostAPIKeyCollectionUsernameListParams
WithHTTPClient adds the HTTPClient to the post API key collection username list params
func (*PostAPIKeyCollectionUsernameListParams) WithInput ¶
func (o *PostAPIKeyCollectionUsernameListParams) WithInput(input *models.RequestGetListCollectionByUsernameRequest) *PostAPIKeyCollectionUsernameListParams
WithInput adds the input to the post API key collection username list params
func (*PostAPIKeyCollectionUsernameListParams) WithTimeout ¶
func (o *PostAPIKeyCollectionUsernameListParams) WithTimeout(timeout time.Duration) *PostAPIKeyCollectionUsernameListParams
WithTimeout adds the timeout to the post API key collection username list params
func (*PostAPIKeyCollectionUsernameListParams) WithUsername ¶
func (o *PostAPIKeyCollectionUsernameListParams) WithUsername(username string) *PostAPIKeyCollectionUsernameListParams
WithUsername adds the username to the post API key collection username list params
func (*PostAPIKeyCollectionUsernameListParams) WriteToRequest ¶
func (o *PostAPIKeyCollectionUsernameListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIKeyCollectionUsernameListReader ¶
type PostAPIKeyCollectionUsernameListReader struct {
// contains filtered or unexported fields
}
PostAPIKeyCollectionUsernameListReader is a Reader for the PostAPIKeyCollectionUsernameList structure.
func (*PostAPIKeyCollectionUsernameListReader) ReadResponse ¶
func (o *PostAPIKeyCollectionUsernameListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PutAPIKeyCollectionIDBadRequest ¶
type PutAPIKeyCollectionIDBadRequest struct {
Payload *models.ResponseFailResponse
}
PutAPIKeyCollectionIDBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPutAPIKeyCollectionIDBadRequest ¶
func NewPutAPIKeyCollectionIDBadRequest() *PutAPIKeyCollectionIDBadRequest
NewPutAPIKeyCollectionIDBadRequest creates a PutAPIKeyCollectionIDBadRequest with default headers values
func (*PutAPIKeyCollectionIDBadRequest) Code ¶
func (o *PutAPIKeyCollectionIDBadRequest) Code() int
Code gets the status code for the put Api key collection Id bad request response
func (*PutAPIKeyCollectionIDBadRequest) Error ¶
func (o *PutAPIKeyCollectionIDBadRequest) Error() string
func (*PutAPIKeyCollectionIDBadRequest) GetPayload ¶
func (o *PutAPIKeyCollectionIDBadRequest) GetPayload() *models.ResponseFailResponse
func (*PutAPIKeyCollectionIDBadRequest) IsClientError ¶
func (o *PutAPIKeyCollectionIDBadRequest) IsClientError() bool
IsClientError returns true when this put Api key collection Id bad request response has a 4xx status code
func (*PutAPIKeyCollectionIDBadRequest) IsCode ¶
func (o *PutAPIKeyCollectionIDBadRequest) IsCode(code int) bool
IsCode returns true when this put Api key collection Id bad request response a status code equal to that given
func (*PutAPIKeyCollectionIDBadRequest) IsRedirect ¶
func (o *PutAPIKeyCollectionIDBadRequest) IsRedirect() bool
IsRedirect returns true when this put Api key collection Id bad request response has a 3xx status code
func (*PutAPIKeyCollectionIDBadRequest) IsServerError ¶
func (o *PutAPIKeyCollectionIDBadRequest) IsServerError() bool
IsServerError returns true when this put Api key collection Id bad request response has a 5xx status code
func (*PutAPIKeyCollectionIDBadRequest) IsSuccess ¶
func (o *PutAPIKeyCollectionIDBadRequest) IsSuccess() bool
IsSuccess returns true when this put Api key collection Id bad request response has a 2xx status code
func (*PutAPIKeyCollectionIDBadRequest) String ¶
func (o *PutAPIKeyCollectionIDBadRequest) String() string
type PutAPIKeyCollectionIDInternalServerError ¶
type PutAPIKeyCollectionIDInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PutAPIKeyCollectionIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPutAPIKeyCollectionIDInternalServerError ¶
func NewPutAPIKeyCollectionIDInternalServerError() *PutAPIKeyCollectionIDInternalServerError
NewPutAPIKeyCollectionIDInternalServerError creates a PutAPIKeyCollectionIDInternalServerError with default headers values
func (*PutAPIKeyCollectionIDInternalServerError) Code ¶
func (o *PutAPIKeyCollectionIDInternalServerError) Code() int
Code gets the status code for the put Api key collection Id internal server error response
func (*PutAPIKeyCollectionIDInternalServerError) Error ¶
func (o *PutAPIKeyCollectionIDInternalServerError) Error() string
func (*PutAPIKeyCollectionIDInternalServerError) GetPayload ¶
func (o *PutAPIKeyCollectionIDInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PutAPIKeyCollectionIDInternalServerError) IsClientError ¶
func (o *PutAPIKeyCollectionIDInternalServerError) IsClientError() bool
IsClientError returns true when this put Api key collection Id internal server error response has a 4xx status code
func (*PutAPIKeyCollectionIDInternalServerError) IsCode ¶
func (o *PutAPIKeyCollectionIDInternalServerError) IsCode(code int) bool
IsCode returns true when this put Api key collection Id internal server error response a status code equal to that given
func (*PutAPIKeyCollectionIDInternalServerError) IsRedirect ¶
func (o *PutAPIKeyCollectionIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this put Api key collection Id internal server error response has a 3xx status code
func (*PutAPIKeyCollectionIDInternalServerError) IsServerError ¶
func (o *PutAPIKeyCollectionIDInternalServerError) IsServerError() bool
IsServerError returns true when this put Api key collection Id internal server error response has a 5xx status code
func (*PutAPIKeyCollectionIDInternalServerError) IsSuccess ¶
func (o *PutAPIKeyCollectionIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this put Api key collection Id internal server error response has a 2xx status code
func (*PutAPIKeyCollectionIDInternalServerError) String ¶
func (o *PutAPIKeyCollectionIDInternalServerError) String() string
type PutAPIKeyCollectionIDOK ¶
type PutAPIKeyCollectionIDOK struct {
Payload *models.ResponseCollectionReponse
}
PutAPIKeyCollectionIDOK describes a response with status code 200, with default header values.
OK
func NewPutAPIKeyCollectionIDOK ¶
func NewPutAPIKeyCollectionIDOK() *PutAPIKeyCollectionIDOK
NewPutAPIKeyCollectionIDOK creates a PutAPIKeyCollectionIDOK with default headers values
func (*PutAPIKeyCollectionIDOK) Code ¶
func (o *PutAPIKeyCollectionIDOK) Code() int
Code gets the status code for the put Api key collection Id o k response
func (*PutAPIKeyCollectionIDOK) Error ¶
func (o *PutAPIKeyCollectionIDOK) Error() string
func (*PutAPIKeyCollectionIDOK) GetPayload ¶
func (o *PutAPIKeyCollectionIDOK) GetPayload() *models.ResponseCollectionReponse
func (*PutAPIKeyCollectionIDOK) IsClientError ¶
func (o *PutAPIKeyCollectionIDOK) IsClientError() bool
IsClientError returns true when this put Api key collection Id o k response has a 4xx status code
func (*PutAPIKeyCollectionIDOK) IsCode ¶
func (o *PutAPIKeyCollectionIDOK) IsCode(code int) bool
IsCode returns true when this put Api key collection Id o k response a status code equal to that given
func (*PutAPIKeyCollectionIDOK) IsRedirect ¶
func (o *PutAPIKeyCollectionIDOK) IsRedirect() bool
IsRedirect returns true when this put Api key collection Id o k response has a 3xx status code
func (*PutAPIKeyCollectionIDOK) IsServerError ¶
func (o *PutAPIKeyCollectionIDOK) IsServerError() bool
IsServerError returns true when this put Api key collection Id o k response has a 5xx status code
func (*PutAPIKeyCollectionIDOK) IsSuccess ¶
func (o *PutAPIKeyCollectionIDOK) IsSuccess() bool
IsSuccess returns true when this put Api key collection Id o k response has a 2xx status code
func (*PutAPIKeyCollectionIDOK) String ¶
func (o *PutAPIKeyCollectionIDOK) String() string
type PutAPIKeyCollectionIDParams ¶
type PutAPIKeyCollectionIDParams struct {
/* ID.
Collection's id
*/
ID string
/* Input.
Update Collection Request
*/
Input *models.RequestUpdateCollectionRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PutAPIKeyCollectionIDParams contains all the parameters to send to the API endpoint
for the put API key collection ID operation. Typically these are written to a http.Request.
func NewPutAPIKeyCollectionIDParams ¶
func NewPutAPIKeyCollectionIDParams() *PutAPIKeyCollectionIDParams
NewPutAPIKeyCollectionIDParams creates a new PutAPIKeyCollectionIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutAPIKeyCollectionIDParamsWithContext ¶
func NewPutAPIKeyCollectionIDParamsWithContext(ctx context.Context) *PutAPIKeyCollectionIDParams
NewPutAPIKeyCollectionIDParamsWithContext creates a new PutAPIKeyCollectionIDParams object with the ability to set a context for a request.
func NewPutAPIKeyCollectionIDParamsWithHTTPClient ¶
func NewPutAPIKeyCollectionIDParamsWithHTTPClient(client *http.Client) *PutAPIKeyCollectionIDParams
NewPutAPIKeyCollectionIDParamsWithHTTPClient creates a new PutAPIKeyCollectionIDParams object with the ability to set a custom HTTPClient for a request.
func NewPutAPIKeyCollectionIDParamsWithTimeout ¶
func NewPutAPIKeyCollectionIDParamsWithTimeout(timeout time.Duration) *PutAPIKeyCollectionIDParams
NewPutAPIKeyCollectionIDParamsWithTimeout creates a new PutAPIKeyCollectionIDParams object with the ability to set a timeout on a request.
func (*PutAPIKeyCollectionIDParams) SetContext ¶
func (o *PutAPIKeyCollectionIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put API key collection ID params
func (*PutAPIKeyCollectionIDParams) SetDefaults ¶
func (o *PutAPIKeyCollectionIDParams) SetDefaults()
SetDefaults hydrates default values in the put API key collection ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPIKeyCollectionIDParams) SetHTTPClient ¶
func (o *PutAPIKeyCollectionIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put API key collection ID params
func (*PutAPIKeyCollectionIDParams) SetID ¶
func (o *PutAPIKeyCollectionIDParams) SetID(id string)
SetID adds the id to the put API key collection ID params
func (*PutAPIKeyCollectionIDParams) SetInput ¶
func (o *PutAPIKeyCollectionIDParams) SetInput(input *models.RequestUpdateCollectionRequest)
SetInput adds the input to the put API key collection ID params
func (*PutAPIKeyCollectionIDParams) SetTimeout ¶
func (o *PutAPIKeyCollectionIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put API key collection ID params
func (*PutAPIKeyCollectionIDParams) WithContext ¶
func (o *PutAPIKeyCollectionIDParams) WithContext(ctx context.Context) *PutAPIKeyCollectionIDParams
WithContext adds the context to the put API key collection ID params
func (*PutAPIKeyCollectionIDParams) WithDefaults ¶
func (o *PutAPIKeyCollectionIDParams) WithDefaults() *PutAPIKeyCollectionIDParams
WithDefaults hydrates default values in the put API key collection ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPIKeyCollectionIDParams) WithHTTPClient ¶
func (o *PutAPIKeyCollectionIDParams) WithHTTPClient(client *http.Client) *PutAPIKeyCollectionIDParams
WithHTTPClient adds the HTTPClient to the put API key collection ID params
func (*PutAPIKeyCollectionIDParams) WithID ¶
func (o *PutAPIKeyCollectionIDParams) WithID(id string) *PutAPIKeyCollectionIDParams
WithID adds the id to the put API key collection ID params
func (*PutAPIKeyCollectionIDParams) WithInput ¶
func (o *PutAPIKeyCollectionIDParams) WithInput(input *models.RequestUpdateCollectionRequest) *PutAPIKeyCollectionIDParams
WithInput adds the input to the put API key collection ID params
func (*PutAPIKeyCollectionIDParams) WithTimeout ¶
func (o *PutAPIKeyCollectionIDParams) WithTimeout(timeout time.Duration) *PutAPIKeyCollectionIDParams
WithTimeout adds the timeout to the put API key collection ID params
func (*PutAPIKeyCollectionIDParams) WriteToRequest ¶
func (o *PutAPIKeyCollectionIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutAPIKeyCollectionIDReader ¶
type PutAPIKeyCollectionIDReader struct {
// contains filtered or unexported fields
}
PutAPIKeyCollectionIDReader is a Reader for the PutAPIKeyCollectionID structure.
func (*PutAPIKeyCollectionIDReader) ReadResponse ¶
func (o *PutAPIKeyCollectionIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PutAPIKeyCollectionIDVoteBadRequest ¶
type PutAPIKeyCollectionIDVoteBadRequest struct {
Payload *models.ResponseFailResponse
}
PutAPIKeyCollectionIDVoteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPutAPIKeyCollectionIDVoteBadRequest ¶
func NewPutAPIKeyCollectionIDVoteBadRequest() *PutAPIKeyCollectionIDVoteBadRequest
NewPutAPIKeyCollectionIDVoteBadRequest creates a PutAPIKeyCollectionIDVoteBadRequest with default headers values
func (*PutAPIKeyCollectionIDVoteBadRequest) Code ¶
func (o *PutAPIKeyCollectionIDVoteBadRequest) Code() int
Code gets the status code for the put Api key collection Id vote bad request response
func (*PutAPIKeyCollectionIDVoteBadRequest) Error ¶
func (o *PutAPIKeyCollectionIDVoteBadRequest) Error() string
func (*PutAPIKeyCollectionIDVoteBadRequest) GetPayload ¶
func (o *PutAPIKeyCollectionIDVoteBadRequest) GetPayload() *models.ResponseFailResponse
func (*PutAPIKeyCollectionIDVoteBadRequest) IsClientError ¶
func (o *PutAPIKeyCollectionIDVoteBadRequest) IsClientError() bool
IsClientError returns true when this put Api key collection Id vote bad request response has a 4xx status code
func (*PutAPIKeyCollectionIDVoteBadRequest) IsCode ¶
func (o *PutAPIKeyCollectionIDVoteBadRequest) IsCode(code int) bool
IsCode returns true when this put Api key collection Id vote bad request response a status code equal to that given
func (*PutAPIKeyCollectionIDVoteBadRequest) IsRedirect ¶
func (o *PutAPIKeyCollectionIDVoteBadRequest) IsRedirect() bool
IsRedirect returns true when this put Api key collection Id vote bad request response has a 3xx status code
func (*PutAPIKeyCollectionIDVoteBadRequest) IsServerError ¶
func (o *PutAPIKeyCollectionIDVoteBadRequest) IsServerError() bool
IsServerError returns true when this put Api key collection Id vote bad request response has a 5xx status code
func (*PutAPIKeyCollectionIDVoteBadRequest) IsSuccess ¶
func (o *PutAPIKeyCollectionIDVoteBadRequest) IsSuccess() bool
IsSuccess returns true when this put Api key collection Id vote bad request response has a 2xx status code
func (*PutAPIKeyCollectionIDVoteBadRequest) String ¶
func (o *PutAPIKeyCollectionIDVoteBadRequest) String() string
type PutAPIKeyCollectionIDVoteInternalServerError ¶
type PutAPIKeyCollectionIDVoteInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PutAPIKeyCollectionIDVoteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPutAPIKeyCollectionIDVoteInternalServerError ¶
func NewPutAPIKeyCollectionIDVoteInternalServerError() *PutAPIKeyCollectionIDVoteInternalServerError
NewPutAPIKeyCollectionIDVoteInternalServerError creates a PutAPIKeyCollectionIDVoteInternalServerError with default headers values
func (*PutAPIKeyCollectionIDVoteInternalServerError) Code ¶
func (o *PutAPIKeyCollectionIDVoteInternalServerError) Code() int
Code gets the status code for the put Api key collection Id vote internal server error response
func (*PutAPIKeyCollectionIDVoteInternalServerError) Error ¶
func (o *PutAPIKeyCollectionIDVoteInternalServerError) Error() string
func (*PutAPIKeyCollectionIDVoteInternalServerError) GetPayload ¶
func (o *PutAPIKeyCollectionIDVoteInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PutAPIKeyCollectionIDVoteInternalServerError) IsClientError ¶
func (o *PutAPIKeyCollectionIDVoteInternalServerError) IsClientError() bool
IsClientError returns true when this put Api key collection Id vote internal server error response has a 4xx status code
func (*PutAPIKeyCollectionIDVoteInternalServerError) IsCode ¶
func (o *PutAPIKeyCollectionIDVoteInternalServerError) IsCode(code int) bool
IsCode returns true when this put Api key collection Id vote internal server error response a status code equal to that given
func (*PutAPIKeyCollectionIDVoteInternalServerError) IsRedirect ¶
func (o *PutAPIKeyCollectionIDVoteInternalServerError) IsRedirect() bool
IsRedirect returns true when this put Api key collection Id vote internal server error response has a 3xx status code
func (*PutAPIKeyCollectionIDVoteInternalServerError) IsServerError ¶
func (o *PutAPIKeyCollectionIDVoteInternalServerError) IsServerError() bool
IsServerError returns true when this put Api key collection Id vote internal server error response has a 5xx status code
func (*PutAPIKeyCollectionIDVoteInternalServerError) IsSuccess ¶
func (o *PutAPIKeyCollectionIDVoteInternalServerError) IsSuccess() bool
IsSuccess returns true when this put Api key collection Id vote internal server error response has a 2xx status code
func (*PutAPIKeyCollectionIDVoteInternalServerError) String ¶
func (o *PutAPIKeyCollectionIDVoteInternalServerError) String() string
type PutAPIKeyCollectionIDVoteOK ¶
type PutAPIKeyCollectionIDVoteOK struct {
Payload *models.ResponseCollectionReponse
}
PutAPIKeyCollectionIDVoteOK describes a response with status code 200, with default header values.
OK
func NewPutAPIKeyCollectionIDVoteOK ¶
func NewPutAPIKeyCollectionIDVoteOK() *PutAPIKeyCollectionIDVoteOK
NewPutAPIKeyCollectionIDVoteOK creates a PutAPIKeyCollectionIDVoteOK with default headers values
func (*PutAPIKeyCollectionIDVoteOK) Code ¶
func (o *PutAPIKeyCollectionIDVoteOK) Code() int
Code gets the status code for the put Api key collection Id vote o k response
func (*PutAPIKeyCollectionIDVoteOK) Error ¶
func (o *PutAPIKeyCollectionIDVoteOK) Error() string
func (*PutAPIKeyCollectionIDVoteOK) GetPayload ¶
func (o *PutAPIKeyCollectionIDVoteOK) GetPayload() *models.ResponseCollectionReponse
func (*PutAPIKeyCollectionIDVoteOK) IsClientError ¶
func (o *PutAPIKeyCollectionIDVoteOK) IsClientError() bool
IsClientError returns true when this put Api key collection Id vote o k response has a 4xx status code
func (*PutAPIKeyCollectionIDVoteOK) IsCode ¶
func (o *PutAPIKeyCollectionIDVoteOK) IsCode(code int) bool
IsCode returns true when this put Api key collection Id vote o k response a status code equal to that given
func (*PutAPIKeyCollectionIDVoteOK) IsRedirect ¶
func (o *PutAPIKeyCollectionIDVoteOK) IsRedirect() bool
IsRedirect returns true when this put Api key collection Id vote o k response has a 3xx status code
func (*PutAPIKeyCollectionIDVoteOK) IsServerError ¶
func (o *PutAPIKeyCollectionIDVoteOK) IsServerError() bool
IsServerError returns true when this put Api key collection Id vote o k response has a 5xx status code
func (*PutAPIKeyCollectionIDVoteOK) IsSuccess ¶
func (o *PutAPIKeyCollectionIDVoteOK) IsSuccess() bool
IsSuccess returns true when this put Api key collection Id vote o k response has a 2xx status code
func (*PutAPIKeyCollectionIDVoteOK) String ¶
func (o *PutAPIKeyCollectionIDVoteOK) String() string
type PutAPIKeyCollectionIDVoteParams ¶
type PutAPIKeyCollectionIDVoteParams struct {
/* ID.
Collection's id
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PutAPIKeyCollectionIDVoteParams contains all the parameters to send to the API endpoint
for the put API key collection ID vote operation. Typically these are written to a http.Request.
func NewPutAPIKeyCollectionIDVoteParams ¶
func NewPutAPIKeyCollectionIDVoteParams() *PutAPIKeyCollectionIDVoteParams
NewPutAPIKeyCollectionIDVoteParams creates a new PutAPIKeyCollectionIDVoteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutAPIKeyCollectionIDVoteParamsWithContext ¶
func NewPutAPIKeyCollectionIDVoteParamsWithContext(ctx context.Context) *PutAPIKeyCollectionIDVoteParams
NewPutAPIKeyCollectionIDVoteParamsWithContext creates a new PutAPIKeyCollectionIDVoteParams object with the ability to set a context for a request.
func NewPutAPIKeyCollectionIDVoteParamsWithHTTPClient ¶
func NewPutAPIKeyCollectionIDVoteParamsWithHTTPClient(client *http.Client) *PutAPIKeyCollectionIDVoteParams
NewPutAPIKeyCollectionIDVoteParamsWithHTTPClient creates a new PutAPIKeyCollectionIDVoteParams object with the ability to set a custom HTTPClient for a request.
func NewPutAPIKeyCollectionIDVoteParamsWithTimeout ¶
func NewPutAPIKeyCollectionIDVoteParamsWithTimeout(timeout time.Duration) *PutAPIKeyCollectionIDVoteParams
NewPutAPIKeyCollectionIDVoteParamsWithTimeout creates a new PutAPIKeyCollectionIDVoteParams object with the ability to set a timeout on a request.
func (*PutAPIKeyCollectionIDVoteParams) SetContext ¶
func (o *PutAPIKeyCollectionIDVoteParams) SetContext(ctx context.Context)
SetContext adds the context to the put API key collection ID vote params
func (*PutAPIKeyCollectionIDVoteParams) SetDefaults ¶
func (o *PutAPIKeyCollectionIDVoteParams) SetDefaults()
SetDefaults hydrates default values in the put API key collection ID vote params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPIKeyCollectionIDVoteParams) SetHTTPClient ¶
func (o *PutAPIKeyCollectionIDVoteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put API key collection ID vote params
func (*PutAPIKeyCollectionIDVoteParams) SetID ¶
func (o *PutAPIKeyCollectionIDVoteParams) SetID(id string)
SetID adds the id to the put API key collection ID vote params
func (*PutAPIKeyCollectionIDVoteParams) SetTimeout ¶
func (o *PutAPIKeyCollectionIDVoteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put API key collection ID vote params
func (*PutAPIKeyCollectionIDVoteParams) WithContext ¶
func (o *PutAPIKeyCollectionIDVoteParams) WithContext(ctx context.Context) *PutAPIKeyCollectionIDVoteParams
WithContext adds the context to the put API key collection ID vote params
func (*PutAPIKeyCollectionIDVoteParams) WithDefaults ¶
func (o *PutAPIKeyCollectionIDVoteParams) WithDefaults() *PutAPIKeyCollectionIDVoteParams
WithDefaults hydrates default values in the put API key collection ID vote params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPIKeyCollectionIDVoteParams) WithHTTPClient ¶
func (o *PutAPIKeyCollectionIDVoteParams) WithHTTPClient(client *http.Client) *PutAPIKeyCollectionIDVoteParams
WithHTTPClient adds the HTTPClient to the put API key collection ID vote params
func (*PutAPIKeyCollectionIDVoteParams) WithID ¶
func (o *PutAPIKeyCollectionIDVoteParams) WithID(id string) *PutAPIKeyCollectionIDVoteParams
WithID adds the id to the put API key collection ID vote params
func (*PutAPIKeyCollectionIDVoteParams) WithTimeout ¶
func (o *PutAPIKeyCollectionIDVoteParams) WithTimeout(timeout time.Duration) *PutAPIKeyCollectionIDVoteParams
WithTimeout adds the timeout to the put API key collection ID vote params
func (*PutAPIKeyCollectionIDVoteParams) WriteToRequest ¶
func (o *PutAPIKeyCollectionIDVoteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutAPIKeyCollectionIDVoteReader ¶
type PutAPIKeyCollectionIDVoteReader struct {
// contains filtered or unexported fields
}
PutAPIKeyCollectionIDVoteReader is a Reader for the PutAPIKeyCollectionIDVote structure.
func (*PutAPIKeyCollectionIDVoteReader) ReadResponse ¶
func (o *PutAPIKeyCollectionIDVoteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- api_key_collection_client.go
- delete_api_key_collection_id_item_parameters.go
- delete_api_key_collection_id_item_responses.go
- delete_api_key_collection_id_parameters.go
- delete_api_key_collection_id_responses.go
- get_api_key_collection_id_parameters.go
- get_api_key_collection_id_responses.go
- post_api_key_collection_id_item_parameters.go
- post_api_key_collection_id_item_responses.go
- post_api_key_collection_list_parameters.go
- post_api_key_collection_list_responses.go
- post_api_key_collection_parameters.go
- post_api_key_collection_responses.go
- post_api_key_collection_username_list_parameters.go
- post_api_key_collection_username_list_responses.go
- put_api_key_collection_id_parameters.go
- put_api_key_collection_id_responses.go
- put_api_key_collection_id_vote_parameters.go
- put_api_key_collection_id_vote_responses.go