Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) DeleteAPIKeyOfferOfferIDRevoke(params *DeleteAPIKeyOfferOfferIDRevokeParams, ...) (*DeleteAPIKeyOfferOfferIDRevokeOK, error)
- func (a *Client) GetAPIKeyOfferOfferIDResend(params *GetAPIKeyOfferOfferIDResendParams, ...) (*GetAPIKeyOfferOfferIDResendOK, error)
- func (a *Client) PostAPIKeyOfferInvite(params *PostAPIKeyOfferInviteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostAPIKeyOfferInviteCreated, error)
- func (a *Client) PostAPIKeyOfferJoin(params *PostAPIKeyOfferJoinParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostAPIKeyOfferJoinOK, error)
- func (a *Client) PutAPIKeyOfferOfferIDAccept(params *PutAPIKeyOfferOfferIDAcceptParams, ...) (*PutAPIKeyOfferOfferIDAcceptOK, error)
- func (a *Client) PutAPIKeyOfferOfferIDDeny(params *PutAPIKeyOfferOfferIDDenyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PutAPIKeyOfferOfferIDDenyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteAPIKeyOfferOfferIDRevokeBadRequest
- func (o *DeleteAPIKeyOfferOfferIDRevokeBadRequest) Code() int
- func (o *DeleteAPIKeyOfferOfferIDRevokeBadRequest) Error() string
- func (o *DeleteAPIKeyOfferOfferIDRevokeBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *DeleteAPIKeyOfferOfferIDRevokeBadRequest) IsClientError() bool
- func (o *DeleteAPIKeyOfferOfferIDRevokeBadRequest) IsCode(code int) bool
- func (o *DeleteAPIKeyOfferOfferIDRevokeBadRequest) IsRedirect() bool
- func (o *DeleteAPIKeyOfferOfferIDRevokeBadRequest) IsServerError() bool
- func (o *DeleteAPIKeyOfferOfferIDRevokeBadRequest) IsSuccess() bool
- func (o *DeleteAPIKeyOfferOfferIDRevokeBadRequest) String() string
- type DeleteAPIKeyOfferOfferIDRevokeInternalServerError
- func (o *DeleteAPIKeyOfferOfferIDRevokeInternalServerError) Code() int
- func (o *DeleteAPIKeyOfferOfferIDRevokeInternalServerError) Error() string
- func (o *DeleteAPIKeyOfferOfferIDRevokeInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *DeleteAPIKeyOfferOfferIDRevokeInternalServerError) IsClientError() bool
- func (o *DeleteAPIKeyOfferOfferIDRevokeInternalServerError) IsCode(code int) bool
- func (o *DeleteAPIKeyOfferOfferIDRevokeInternalServerError) IsRedirect() bool
- func (o *DeleteAPIKeyOfferOfferIDRevokeInternalServerError) IsServerError() bool
- func (o *DeleteAPIKeyOfferOfferIDRevokeInternalServerError) IsSuccess() bool
- func (o *DeleteAPIKeyOfferOfferIDRevokeInternalServerError) String() string
- type DeleteAPIKeyOfferOfferIDRevokeOK
- func (o *DeleteAPIKeyOfferOfferIDRevokeOK) Code() int
- func (o *DeleteAPIKeyOfferOfferIDRevokeOK) Error() string
- func (o *DeleteAPIKeyOfferOfferIDRevokeOK) GetPayload() *models.ResponseSuccessResponse
- func (o *DeleteAPIKeyOfferOfferIDRevokeOK) IsClientError() bool
- func (o *DeleteAPIKeyOfferOfferIDRevokeOK) IsCode(code int) bool
- func (o *DeleteAPIKeyOfferOfferIDRevokeOK) IsRedirect() bool
- func (o *DeleteAPIKeyOfferOfferIDRevokeOK) IsServerError() bool
- func (o *DeleteAPIKeyOfferOfferIDRevokeOK) IsSuccess() bool
- func (o *DeleteAPIKeyOfferOfferIDRevokeOK) String() string
- type DeleteAPIKeyOfferOfferIDRevokeParams
- func NewDeleteAPIKeyOfferOfferIDRevokeParams() *DeleteAPIKeyOfferOfferIDRevokeParams
- func NewDeleteAPIKeyOfferOfferIDRevokeParamsWithContext(ctx context.Context) *DeleteAPIKeyOfferOfferIDRevokeParams
- func NewDeleteAPIKeyOfferOfferIDRevokeParamsWithHTTPClient(client *http.Client) *DeleteAPIKeyOfferOfferIDRevokeParams
- func NewDeleteAPIKeyOfferOfferIDRevokeParamsWithTimeout(timeout time.Duration) *DeleteAPIKeyOfferOfferIDRevokeParams
- func (o *DeleteAPIKeyOfferOfferIDRevokeParams) SetContext(ctx context.Context)
- func (o *DeleteAPIKeyOfferOfferIDRevokeParams) SetDefaults()
- func (o *DeleteAPIKeyOfferOfferIDRevokeParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPIKeyOfferOfferIDRevokeParams) SetOfferID(offerID string)
- func (o *DeleteAPIKeyOfferOfferIDRevokeParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPIKeyOfferOfferIDRevokeParams) WithContext(ctx context.Context) *DeleteAPIKeyOfferOfferIDRevokeParams
- func (o *DeleteAPIKeyOfferOfferIDRevokeParams) WithDefaults() *DeleteAPIKeyOfferOfferIDRevokeParams
- func (o *DeleteAPIKeyOfferOfferIDRevokeParams) WithHTTPClient(client *http.Client) *DeleteAPIKeyOfferOfferIDRevokeParams
- func (o *DeleteAPIKeyOfferOfferIDRevokeParams) WithOfferID(offerID string) *DeleteAPIKeyOfferOfferIDRevokeParams
- func (o *DeleteAPIKeyOfferOfferIDRevokeParams) WithTimeout(timeout time.Duration) *DeleteAPIKeyOfferOfferIDRevokeParams
- func (o *DeleteAPIKeyOfferOfferIDRevokeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPIKeyOfferOfferIDRevokeReader
- type GetAPIKeyOfferOfferIDResendBadRequest
- func (o *GetAPIKeyOfferOfferIDResendBadRequest) Code() int
- func (o *GetAPIKeyOfferOfferIDResendBadRequest) Error() string
- func (o *GetAPIKeyOfferOfferIDResendBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetAPIKeyOfferOfferIDResendBadRequest) IsClientError() bool
- func (o *GetAPIKeyOfferOfferIDResendBadRequest) IsCode(code int) bool
- func (o *GetAPIKeyOfferOfferIDResendBadRequest) IsRedirect() bool
- func (o *GetAPIKeyOfferOfferIDResendBadRequest) IsServerError() bool
- func (o *GetAPIKeyOfferOfferIDResendBadRequest) IsSuccess() bool
- func (o *GetAPIKeyOfferOfferIDResendBadRequest) String() string
- type GetAPIKeyOfferOfferIDResendInternalServerError
- func (o *GetAPIKeyOfferOfferIDResendInternalServerError) Code() int
- func (o *GetAPIKeyOfferOfferIDResendInternalServerError) Error() string
- func (o *GetAPIKeyOfferOfferIDResendInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetAPIKeyOfferOfferIDResendInternalServerError) IsClientError() bool
- func (o *GetAPIKeyOfferOfferIDResendInternalServerError) IsCode(code int) bool
- func (o *GetAPIKeyOfferOfferIDResendInternalServerError) IsRedirect() bool
- func (o *GetAPIKeyOfferOfferIDResendInternalServerError) IsServerError() bool
- func (o *GetAPIKeyOfferOfferIDResendInternalServerError) IsSuccess() bool
- func (o *GetAPIKeyOfferOfferIDResendInternalServerError) String() string
- type GetAPIKeyOfferOfferIDResendOK
- func (o *GetAPIKeyOfferOfferIDResendOK) Code() int
- func (o *GetAPIKeyOfferOfferIDResendOK) Error() string
- func (o *GetAPIKeyOfferOfferIDResendOK) GetPayload() *models.ResponseSuccessResponse
- func (o *GetAPIKeyOfferOfferIDResendOK) IsClientError() bool
- func (o *GetAPIKeyOfferOfferIDResendOK) IsCode(code int) bool
- func (o *GetAPIKeyOfferOfferIDResendOK) IsRedirect() bool
- func (o *GetAPIKeyOfferOfferIDResendOK) IsServerError() bool
- func (o *GetAPIKeyOfferOfferIDResendOK) IsSuccess() bool
- func (o *GetAPIKeyOfferOfferIDResendOK) String() string
- type GetAPIKeyOfferOfferIDResendParams
- func NewGetAPIKeyOfferOfferIDResendParams() *GetAPIKeyOfferOfferIDResendParams
- func NewGetAPIKeyOfferOfferIDResendParamsWithContext(ctx context.Context) *GetAPIKeyOfferOfferIDResendParams
- func NewGetAPIKeyOfferOfferIDResendParamsWithHTTPClient(client *http.Client) *GetAPIKeyOfferOfferIDResendParams
- func NewGetAPIKeyOfferOfferIDResendParamsWithTimeout(timeout time.Duration) *GetAPIKeyOfferOfferIDResendParams
- func (o *GetAPIKeyOfferOfferIDResendParams) SetContext(ctx context.Context)
- func (o *GetAPIKeyOfferOfferIDResendParams) SetDefaults()
- func (o *GetAPIKeyOfferOfferIDResendParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIKeyOfferOfferIDResendParams) SetOfferID(offerID string)
- func (o *GetAPIKeyOfferOfferIDResendParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIKeyOfferOfferIDResendParams) WithContext(ctx context.Context) *GetAPIKeyOfferOfferIDResendParams
- func (o *GetAPIKeyOfferOfferIDResendParams) WithDefaults() *GetAPIKeyOfferOfferIDResendParams
- func (o *GetAPIKeyOfferOfferIDResendParams) WithHTTPClient(client *http.Client) *GetAPIKeyOfferOfferIDResendParams
- func (o *GetAPIKeyOfferOfferIDResendParams) WithOfferID(offerID string) *GetAPIKeyOfferOfferIDResendParams
- func (o *GetAPIKeyOfferOfferIDResendParams) WithTimeout(timeout time.Duration) *GetAPIKeyOfferOfferIDResendParams
- func (o *GetAPIKeyOfferOfferIDResendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIKeyOfferOfferIDResendReader
- type PostAPIKeyOfferInviteBadRequest
- func (o *PostAPIKeyOfferInviteBadRequest) Code() int
- func (o *PostAPIKeyOfferInviteBadRequest) Error() string
- func (o *PostAPIKeyOfferInviteBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostAPIKeyOfferInviteBadRequest) IsClientError() bool
- func (o *PostAPIKeyOfferInviteBadRequest) IsCode(code int) bool
- func (o *PostAPIKeyOfferInviteBadRequest) IsRedirect() bool
- func (o *PostAPIKeyOfferInviteBadRequest) IsServerError() bool
- func (o *PostAPIKeyOfferInviteBadRequest) IsSuccess() bool
- func (o *PostAPIKeyOfferInviteBadRequest) String() string
- type PostAPIKeyOfferInviteCreated
- func (o *PostAPIKeyOfferInviteCreated) Code() int
- func (o *PostAPIKeyOfferInviteCreated) Error() string
- func (o *PostAPIKeyOfferInviteCreated) GetPayload() *models.ResponseMakeOfferResponse
- func (o *PostAPIKeyOfferInviteCreated) IsClientError() bool
- func (o *PostAPIKeyOfferInviteCreated) IsCode(code int) bool
- func (o *PostAPIKeyOfferInviteCreated) IsRedirect() bool
- func (o *PostAPIKeyOfferInviteCreated) IsServerError() bool
- func (o *PostAPIKeyOfferInviteCreated) IsSuccess() bool
- func (o *PostAPIKeyOfferInviteCreated) String() string
- type PostAPIKeyOfferInviteInternalServerError
- func (o *PostAPIKeyOfferInviteInternalServerError) Code() int
- func (o *PostAPIKeyOfferInviteInternalServerError) Error() string
- func (o *PostAPIKeyOfferInviteInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostAPIKeyOfferInviteInternalServerError) IsClientError() bool
- func (o *PostAPIKeyOfferInviteInternalServerError) IsCode(code int) bool
- func (o *PostAPIKeyOfferInviteInternalServerError) IsRedirect() bool
- func (o *PostAPIKeyOfferInviteInternalServerError) IsServerError() bool
- func (o *PostAPIKeyOfferInviteInternalServerError) IsSuccess() bool
- func (o *PostAPIKeyOfferInviteInternalServerError) String() string
- type PostAPIKeyOfferInviteParams
- func NewPostAPIKeyOfferInviteParams() *PostAPIKeyOfferInviteParams
- func NewPostAPIKeyOfferInviteParamsWithContext(ctx context.Context) *PostAPIKeyOfferInviteParams
- func NewPostAPIKeyOfferInviteParamsWithHTTPClient(client *http.Client) *PostAPIKeyOfferInviteParams
- func NewPostAPIKeyOfferInviteParamsWithTimeout(timeout time.Duration) *PostAPIKeyOfferInviteParams
- func (o *PostAPIKeyOfferInviteParams) SetContext(ctx context.Context)
- func (o *PostAPIKeyOfferInviteParams) SetData(data *models.RequestMakeInviteOfferRequest)
- func (o *PostAPIKeyOfferInviteParams) SetDefaults()
- func (o *PostAPIKeyOfferInviteParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIKeyOfferInviteParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIKeyOfferInviteParams) WithContext(ctx context.Context) *PostAPIKeyOfferInviteParams
- func (o *PostAPIKeyOfferInviteParams) WithData(data *models.RequestMakeInviteOfferRequest) *PostAPIKeyOfferInviteParams
- func (o *PostAPIKeyOfferInviteParams) WithDefaults() *PostAPIKeyOfferInviteParams
- func (o *PostAPIKeyOfferInviteParams) WithHTTPClient(client *http.Client) *PostAPIKeyOfferInviteParams
- func (o *PostAPIKeyOfferInviteParams) WithTimeout(timeout time.Duration) *PostAPIKeyOfferInviteParams
- func (o *PostAPIKeyOfferInviteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIKeyOfferInviteReader
- type PostAPIKeyOfferJoinBadRequest
- func (o *PostAPIKeyOfferJoinBadRequest) Code() int
- func (o *PostAPIKeyOfferJoinBadRequest) Error() string
- func (o *PostAPIKeyOfferJoinBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostAPIKeyOfferJoinBadRequest) IsClientError() bool
- func (o *PostAPIKeyOfferJoinBadRequest) IsCode(code int) bool
- func (o *PostAPIKeyOfferJoinBadRequest) IsRedirect() bool
- func (o *PostAPIKeyOfferJoinBadRequest) IsServerError() bool
- func (o *PostAPIKeyOfferJoinBadRequest) IsSuccess() bool
- func (o *PostAPIKeyOfferJoinBadRequest) String() string
- type PostAPIKeyOfferJoinInternalServerError
- func (o *PostAPIKeyOfferJoinInternalServerError) Code() int
- func (o *PostAPIKeyOfferJoinInternalServerError) Error() string
- func (o *PostAPIKeyOfferJoinInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostAPIKeyOfferJoinInternalServerError) IsClientError() bool
- func (o *PostAPIKeyOfferJoinInternalServerError) IsCode(code int) bool
- func (o *PostAPIKeyOfferJoinInternalServerError) IsRedirect() bool
- func (o *PostAPIKeyOfferJoinInternalServerError) IsServerError() bool
- func (o *PostAPIKeyOfferJoinInternalServerError) IsSuccess() bool
- func (o *PostAPIKeyOfferJoinInternalServerError) String() string
- type PostAPIKeyOfferJoinOK
- func (o *PostAPIKeyOfferJoinOK) Code() int
- func (o *PostAPIKeyOfferJoinOK) Error() string
- func (o *PostAPIKeyOfferJoinOK) GetPayload() *models.ResponseMakeOfferResponse
- func (o *PostAPIKeyOfferJoinOK) IsClientError() bool
- func (o *PostAPIKeyOfferJoinOK) IsCode(code int) bool
- func (o *PostAPIKeyOfferJoinOK) IsRedirect() bool
- func (o *PostAPIKeyOfferJoinOK) IsServerError() bool
- func (o *PostAPIKeyOfferJoinOK) IsSuccess() bool
- func (o *PostAPIKeyOfferJoinOK) String() string
- type PostAPIKeyOfferJoinParams
- func NewPostAPIKeyOfferJoinParams() *PostAPIKeyOfferJoinParams
- func NewPostAPIKeyOfferJoinParamsWithContext(ctx context.Context) *PostAPIKeyOfferJoinParams
- func NewPostAPIKeyOfferJoinParamsWithHTTPClient(client *http.Client) *PostAPIKeyOfferJoinParams
- func NewPostAPIKeyOfferJoinParamsWithTimeout(timeout time.Duration) *PostAPIKeyOfferJoinParams
- func (o *PostAPIKeyOfferJoinParams) SetContext(ctx context.Context)
- func (o *PostAPIKeyOfferJoinParams) SetData(data *models.RequestMakeJoinOfferRequest)
- func (o *PostAPIKeyOfferJoinParams) SetDefaults()
- func (o *PostAPIKeyOfferJoinParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIKeyOfferJoinParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIKeyOfferJoinParams) WithContext(ctx context.Context) *PostAPIKeyOfferJoinParams
- func (o *PostAPIKeyOfferJoinParams) WithData(data *models.RequestMakeJoinOfferRequest) *PostAPIKeyOfferJoinParams
- func (o *PostAPIKeyOfferJoinParams) WithDefaults() *PostAPIKeyOfferJoinParams
- func (o *PostAPIKeyOfferJoinParams) WithHTTPClient(client *http.Client) *PostAPIKeyOfferJoinParams
- func (o *PostAPIKeyOfferJoinParams) WithTimeout(timeout time.Duration) *PostAPIKeyOfferJoinParams
- func (o *PostAPIKeyOfferJoinParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIKeyOfferJoinReader
- type PutAPIKeyOfferOfferIDAcceptBadRequest
- func (o *PutAPIKeyOfferOfferIDAcceptBadRequest) Code() int
- func (o *PutAPIKeyOfferOfferIDAcceptBadRequest) Error() string
- func (o *PutAPIKeyOfferOfferIDAcceptBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PutAPIKeyOfferOfferIDAcceptBadRequest) IsClientError() bool
- func (o *PutAPIKeyOfferOfferIDAcceptBadRequest) IsCode(code int) bool
- func (o *PutAPIKeyOfferOfferIDAcceptBadRequest) IsRedirect() bool
- func (o *PutAPIKeyOfferOfferIDAcceptBadRequest) IsServerError() bool
- func (o *PutAPIKeyOfferOfferIDAcceptBadRequest) IsSuccess() bool
- func (o *PutAPIKeyOfferOfferIDAcceptBadRequest) String() string
- type PutAPIKeyOfferOfferIDAcceptInternalServerError
- func (o *PutAPIKeyOfferOfferIDAcceptInternalServerError) Code() int
- func (o *PutAPIKeyOfferOfferIDAcceptInternalServerError) Error() string
- func (o *PutAPIKeyOfferOfferIDAcceptInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PutAPIKeyOfferOfferIDAcceptInternalServerError) IsClientError() bool
- func (o *PutAPIKeyOfferOfferIDAcceptInternalServerError) IsCode(code int) bool
- func (o *PutAPIKeyOfferOfferIDAcceptInternalServerError) IsRedirect() bool
- func (o *PutAPIKeyOfferOfferIDAcceptInternalServerError) IsServerError() bool
- func (o *PutAPIKeyOfferOfferIDAcceptInternalServerError) IsSuccess() bool
- func (o *PutAPIKeyOfferOfferIDAcceptInternalServerError) String() string
- type PutAPIKeyOfferOfferIDAcceptOK
- func (o *PutAPIKeyOfferOfferIDAcceptOK) Code() int
- func (o *PutAPIKeyOfferOfferIDAcceptOK) Error() string
- func (o *PutAPIKeyOfferOfferIDAcceptOK) GetPayload() *models.ResponseSuccessResponse
- func (o *PutAPIKeyOfferOfferIDAcceptOK) IsClientError() bool
- func (o *PutAPIKeyOfferOfferIDAcceptOK) IsCode(code int) bool
- func (o *PutAPIKeyOfferOfferIDAcceptOK) IsRedirect() bool
- func (o *PutAPIKeyOfferOfferIDAcceptOK) IsServerError() bool
- func (o *PutAPIKeyOfferOfferIDAcceptOK) IsSuccess() bool
- func (o *PutAPIKeyOfferOfferIDAcceptOK) String() string
- type PutAPIKeyOfferOfferIDAcceptParams
- func NewPutAPIKeyOfferOfferIDAcceptParams() *PutAPIKeyOfferOfferIDAcceptParams
- func NewPutAPIKeyOfferOfferIDAcceptParamsWithContext(ctx context.Context) *PutAPIKeyOfferOfferIDAcceptParams
- func NewPutAPIKeyOfferOfferIDAcceptParamsWithHTTPClient(client *http.Client) *PutAPIKeyOfferOfferIDAcceptParams
- func NewPutAPIKeyOfferOfferIDAcceptParamsWithTimeout(timeout time.Duration) *PutAPIKeyOfferOfferIDAcceptParams
- func (o *PutAPIKeyOfferOfferIDAcceptParams) SetContext(ctx context.Context)
- func (o *PutAPIKeyOfferOfferIDAcceptParams) SetDefaults()
- func (o *PutAPIKeyOfferOfferIDAcceptParams) SetHTTPClient(client *http.Client)
- func (o *PutAPIKeyOfferOfferIDAcceptParams) SetOfferID(offerID string)
- func (o *PutAPIKeyOfferOfferIDAcceptParams) SetTimeout(timeout time.Duration)
- func (o *PutAPIKeyOfferOfferIDAcceptParams) WithContext(ctx context.Context) *PutAPIKeyOfferOfferIDAcceptParams
- func (o *PutAPIKeyOfferOfferIDAcceptParams) WithDefaults() *PutAPIKeyOfferOfferIDAcceptParams
- func (o *PutAPIKeyOfferOfferIDAcceptParams) WithHTTPClient(client *http.Client) *PutAPIKeyOfferOfferIDAcceptParams
- func (o *PutAPIKeyOfferOfferIDAcceptParams) WithOfferID(offerID string) *PutAPIKeyOfferOfferIDAcceptParams
- func (o *PutAPIKeyOfferOfferIDAcceptParams) WithTimeout(timeout time.Duration) *PutAPIKeyOfferOfferIDAcceptParams
- func (o *PutAPIKeyOfferOfferIDAcceptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutAPIKeyOfferOfferIDAcceptReader
- type PutAPIKeyOfferOfferIDDenyBadRequest
- func (o *PutAPIKeyOfferOfferIDDenyBadRequest) Code() int
- func (o *PutAPIKeyOfferOfferIDDenyBadRequest) Error() string
- func (o *PutAPIKeyOfferOfferIDDenyBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PutAPIKeyOfferOfferIDDenyBadRequest) IsClientError() bool
- func (o *PutAPIKeyOfferOfferIDDenyBadRequest) IsCode(code int) bool
- func (o *PutAPIKeyOfferOfferIDDenyBadRequest) IsRedirect() bool
- func (o *PutAPIKeyOfferOfferIDDenyBadRequest) IsServerError() bool
- func (o *PutAPIKeyOfferOfferIDDenyBadRequest) IsSuccess() bool
- func (o *PutAPIKeyOfferOfferIDDenyBadRequest) String() string
- type PutAPIKeyOfferOfferIDDenyInternalServerError
- func (o *PutAPIKeyOfferOfferIDDenyInternalServerError) Code() int
- func (o *PutAPIKeyOfferOfferIDDenyInternalServerError) Error() string
- func (o *PutAPIKeyOfferOfferIDDenyInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PutAPIKeyOfferOfferIDDenyInternalServerError) IsClientError() bool
- func (o *PutAPIKeyOfferOfferIDDenyInternalServerError) IsCode(code int) bool
- func (o *PutAPIKeyOfferOfferIDDenyInternalServerError) IsRedirect() bool
- func (o *PutAPIKeyOfferOfferIDDenyInternalServerError) IsServerError() bool
- func (o *PutAPIKeyOfferOfferIDDenyInternalServerError) IsSuccess() bool
- func (o *PutAPIKeyOfferOfferIDDenyInternalServerError) String() string
- type PutAPIKeyOfferOfferIDDenyOK
- func (o *PutAPIKeyOfferOfferIDDenyOK) Code() int
- func (o *PutAPIKeyOfferOfferIDDenyOK) Error() string
- func (o *PutAPIKeyOfferOfferIDDenyOK) GetPayload() *models.ResponseSuccessResponse
- func (o *PutAPIKeyOfferOfferIDDenyOK) IsClientError() bool
- func (o *PutAPIKeyOfferOfferIDDenyOK) IsCode(code int) bool
- func (o *PutAPIKeyOfferOfferIDDenyOK) IsRedirect() bool
- func (o *PutAPIKeyOfferOfferIDDenyOK) IsServerError() bool
- func (o *PutAPIKeyOfferOfferIDDenyOK) IsSuccess() bool
- func (o *PutAPIKeyOfferOfferIDDenyOK) String() string
- type PutAPIKeyOfferOfferIDDenyParams
- func NewPutAPIKeyOfferOfferIDDenyParams() *PutAPIKeyOfferOfferIDDenyParams
- func NewPutAPIKeyOfferOfferIDDenyParamsWithContext(ctx context.Context) *PutAPIKeyOfferOfferIDDenyParams
- func NewPutAPIKeyOfferOfferIDDenyParamsWithHTTPClient(client *http.Client) *PutAPIKeyOfferOfferIDDenyParams
- func NewPutAPIKeyOfferOfferIDDenyParamsWithTimeout(timeout time.Duration) *PutAPIKeyOfferOfferIDDenyParams
- func (o *PutAPIKeyOfferOfferIDDenyParams) SetContext(ctx context.Context)
- func (o *PutAPIKeyOfferOfferIDDenyParams) SetDefaults()
- func (o *PutAPIKeyOfferOfferIDDenyParams) SetHTTPClient(client *http.Client)
- func (o *PutAPIKeyOfferOfferIDDenyParams) SetOfferID(offerID string)
- func (o *PutAPIKeyOfferOfferIDDenyParams) SetTimeout(timeout time.Duration)
- func (o *PutAPIKeyOfferOfferIDDenyParams) WithContext(ctx context.Context) *PutAPIKeyOfferOfferIDDenyParams
- func (o *PutAPIKeyOfferOfferIDDenyParams) WithDefaults() *PutAPIKeyOfferOfferIDDenyParams
- func (o *PutAPIKeyOfferOfferIDDenyParams) WithHTTPClient(client *http.Client) *PutAPIKeyOfferOfferIDDenyParams
- func (o *PutAPIKeyOfferOfferIDDenyParams) WithOfferID(offerID string) *PutAPIKeyOfferOfferIDDenyParams
- func (o *PutAPIKeyOfferOfferIDDenyParams) WithTimeout(timeout time.Duration) *PutAPIKeyOfferOfferIDDenyParams
- func (o *PutAPIKeyOfferOfferIDDenyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutAPIKeyOfferOfferIDDenyReader
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 offer API
func (*Client) DeleteAPIKeyOfferOfferIDRevoke ¶
func (a *Client) DeleteAPIKeyOfferOfferIDRevoke(params *DeleteAPIKeyOfferOfferIDRevokeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyOfferOfferIDRevokeOK, error)
DeleteAPIKeyOfferOfferIDRevoke revokes offer by Api key
func (*Client) GetAPIKeyOfferOfferIDResend ¶
func (a *Client) GetAPIKeyOfferOfferIDResend(params *GetAPIKeyOfferOfferIDResendParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyOfferOfferIDResendOK, error)
GetAPIKeyOfferOfferIDResend resends offer by Api key
func (*Client) PostAPIKeyOfferInvite ¶
func (a *Client) PostAPIKeyOfferInvite(params *PostAPIKeyOfferInviteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyOfferInviteCreated, error)
PostAPIKeyOfferInvite creates invite to join organization by Api key
func (*Client) PostAPIKeyOfferJoin ¶
func (a *Client) PostAPIKeyOfferJoin(params *PostAPIKeyOfferJoinParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyOfferJoinOK, error)
PostAPIKeyOfferJoin requests to join organization by Api key
func (*Client) PutAPIKeyOfferOfferIDAccept ¶
func (a *Client) PutAPIKeyOfferOfferIDAccept(params *PutAPIKeyOfferOfferIDAcceptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyOfferOfferIDAcceptOK, error)
PutAPIKeyOfferOfferIDAccept accepts offer by Api key
func (*Client) PutAPIKeyOfferOfferIDDeny ¶
func (a *Client) PutAPIKeyOfferOfferIDDeny(params *PutAPIKeyOfferOfferIDDenyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyOfferOfferIDDenyOK, error)
PutAPIKeyOfferOfferIDDeny denies offer 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 {
DeleteAPIKeyOfferOfferIDRevoke(params *DeleteAPIKeyOfferOfferIDRevokeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyOfferOfferIDRevokeOK, error)
GetAPIKeyOfferOfferIDResend(params *GetAPIKeyOfferOfferIDResendParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyOfferOfferIDResendOK, error)
PostAPIKeyOfferInvite(params *PostAPIKeyOfferInviteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyOfferInviteCreated, error)
PostAPIKeyOfferJoin(params *PostAPIKeyOfferJoinParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyOfferJoinOK, error)
PutAPIKeyOfferOfferIDAccept(params *PutAPIKeyOfferOfferIDAcceptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyOfferOfferIDAcceptOK, error)
PutAPIKeyOfferOfferIDDeny(params *PutAPIKeyOfferOfferIDDenyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyOfferOfferIDDenyOK, 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 offer API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new api key offer 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 offer 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 DeleteAPIKeyOfferOfferIDRevokeBadRequest ¶
type DeleteAPIKeyOfferOfferIDRevokeBadRequest struct {
Payload *models.ResponseFailResponse
}
DeleteAPIKeyOfferOfferIDRevokeBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteAPIKeyOfferOfferIDRevokeBadRequest ¶
func NewDeleteAPIKeyOfferOfferIDRevokeBadRequest() *DeleteAPIKeyOfferOfferIDRevokeBadRequest
NewDeleteAPIKeyOfferOfferIDRevokeBadRequest creates a DeleteAPIKeyOfferOfferIDRevokeBadRequest with default headers values
func (*DeleteAPIKeyOfferOfferIDRevokeBadRequest) Code ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeBadRequest) Code() int
Code gets the status code for the delete Api key offer offer Id revoke bad request response
func (*DeleteAPIKeyOfferOfferIDRevokeBadRequest) Error ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeBadRequest) Error() string
func (*DeleteAPIKeyOfferOfferIDRevokeBadRequest) GetPayload ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeBadRequest) GetPayload() *models.ResponseFailResponse
func (*DeleteAPIKeyOfferOfferIDRevokeBadRequest) IsClientError ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeBadRequest) IsClientError() bool
IsClientError returns true when this delete Api key offer offer Id revoke bad request response has a 4xx status code
func (*DeleteAPIKeyOfferOfferIDRevokeBadRequest) IsCode ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeBadRequest) IsCode(code int) bool
IsCode returns true when this delete Api key offer offer Id revoke bad request response a status code equal to that given
func (*DeleteAPIKeyOfferOfferIDRevokeBadRequest) IsRedirect ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeBadRequest) IsRedirect() bool
IsRedirect returns true when this delete Api key offer offer Id revoke bad request response has a 3xx status code
func (*DeleteAPIKeyOfferOfferIDRevokeBadRequest) IsServerError ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeBadRequest) IsServerError() bool
IsServerError returns true when this delete Api key offer offer Id revoke bad request response has a 5xx status code
func (*DeleteAPIKeyOfferOfferIDRevokeBadRequest) IsSuccess ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeBadRequest) IsSuccess() bool
IsSuccess returns true when this delete Api key offer offer Id revoke bad request response has a 2xx status code
func (*DeleteAPIKeyOfferOfferIDRevokeBadRequest) String ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeBadRequest) String() string
type DeleteAPIKeyOfferOfferIDRevokeInternalServerError ¶
type DeleteAPIKeyOfferOfferIDRevokeInternalServerError struct {
Payload *models.ResponseErrorResponse
}
DeleteAPIKeyOfferOfferIDRevokeInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewDeleteAPIKeyOfferOfferIDRevokeInternalServerError ¶
func NewDeleteAPIKeyOfferOfferIDRevokeInternalServerError() *DeleteAPIKeyOfferOfferIDRevokeInternalServerError
NewDeleteAPIKeyOfferOfferIDRevokeInternalServerError creates a DeleteAPIKeyOfferOfferIDRevokeInternalServerError with default headers values
func (*DeleteAPIKeyOfferOfferIDRevokeInternalServerError) Code ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeInternalServerError) Code() int
Code gets the status code for the delete Api key offer offer Id revoke internal server error response
func (*DeleteAPIKeyOfferOfferIDRevokeInternalServerError) Error ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeInternalServerError) Error() string
func (*DeleteAPIKeyOfferOfferIDRevokeInternalServerError) GetPayload ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*DeleteAPIKeyOfferOfferIDRevokeInternalServerError) IsClientError ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeInternalServerError) IsClientError() bool
IsClientError returns true when this delete Api key offer offer Id revoke internal server error response has a 4xx status code
func (*DeleteAPIKeyOfferOfferIDRevokeInternalServerError) IsCode ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeInternalServerError) IsCode(code int) bool
IsCode returns true when this delete Api key offer offer Id revoke internal server error response a status code equal to that given
func (*DeleteAPIKeyOfferOfferIDRevokeInternalServerError) IsRedirect ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete Api key offer offer Id revoke internal server error response has a 3xx status code
func (*DeleteAPIKeyOfferOfferIDRevokeInternalServerError) IsServerError ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeInternalServerError) IsServerError() bool
IsServerError returns true when this delete Api key offer offer Id revoke internal server error response has a 5xx status code
func (*DeleteAPIKeyOfferOfferIDRevokeInternalServerError) IsSuccess ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete Api key offer offer Id revoke internal server error response has a 2xx status code
func (*DeleteAPIKeyOfferOfferIDRevokeInternalServerError) String ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeInternalServerError) String() string
type DeleteAPIKeyOfferOfferIDRevokeOK ¶
type DeleteAPIKeyOfferOfferIDRevokeOK struct {
Payload *models.ResponseSuccessResponse
}
DeleteAPIKeyOfferOfferIDRevokeOK describes a response with status code 200, with default header values.
OK
func NewDeleteAPIKeyOfferOfferIDRevokeOK ¶
func NewDeleteAPIKeyOfferOfferIDRevokeOK() *DeleteAPIKeyOfferOfferIDRevokeOK
NewDeleteAPIKeyOfferOfferIDRevokeOK creates a DeleteAPIKeyOfferOfferIDRevokeOK with default headers values
func (*DeleteAPIKeyOfferOfferIDRevokeOK) Code ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeOK) Code() int
Code gets the status code for the delete Api key offer offer Id revoke o k response
func (*DeleteAPIKeyOfferOfferIDRevokeOK) Error ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeOK) Error() string
func (*DeleteAPIKeyOfferOfferIDRevokeOK) GetPayload ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeOK) GetPayload() *models.ResponseSuccessResponse
func (*DeleteAPIKeyOfferOfferIDRevokeOK) IsClientError ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeOK) IsClientError() bool
IsClientError returns true when this delete Api key offer offer Id revoke o k response has a 4xx status code
func (*DeleteAPIKeyOfferOfferIDRevokeOK) IsCode ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeOK) IsCode(code int) bool
IsCode returns true when this delete Api key offer offer Id revoke o k response a status code equal to that given
func (*DeleteAPIKeyOfferOfferIDRevokeOK) IsRedirect ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeOK) IsRedirect() bool
IsRedirect returns true when this delete Api key offer offer Id revoke o k response has a 3xx status code
func (*DeleteAPIKeyOfferOfferIDRevokeOK) IsServerError ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeOK) IsServerError() bool
IsServerError returns true when this delete Api key offer offer Id revoke o k response has a 5xx status code
func (*DeleteAPIKeyOfferOfferIDRevokeOK) IsSuccess ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeOK) IsSuccess() bool
IsSuccess returns true when this delete Api key offer offer Id revoke o k response has a 2xx status code
func (*DeleteAPIKeyOfferOfferIDRevokeOK) String ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeOK) String() string
type DeleteAPIKeyOfferOfferIDRevokeParams ¶
type DeleteAPIKeyOfferOfferIDRevokeParams struct {
/* OfferID.
offer_id
*/
OfferID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteAPIKeyOfferOfferIDRevokeParams contains all the parameters to send to the API endpoint
for the delete API key offer offer ID revoke operation. Typically these are written to a http.Request.
func NewDeleteAPIKeyOfferOfferIDRevokeParams ¶
func NewDeleteAPIKeyOfferOfferIDRevokeParams() *DeleteAPIKeyOfferOfferIDRevokeParams
NewDeleteAPIKeyOfferOfferIDRevokeParams creates a new DeleteAPIKeyOfferOfferIDRevokeParams 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 NewDeleteAPIKeyOfferOfferIDRevokeParamsWithContext ¶
func NewDeleteAPIKeyOfferOfferIDRevokeParamsWithContext(ctx context.Context) *DeleteAPIKeyOfferOfferIDRevokeParams
NewDeleteAPIKeyOfferOfferIDRevokeParamsWithContext creates a new DeleteAPIKeyOfferOfferIDRevokeParams object with the ability to set a context for a request.
func NewDeleteAPIKeyOfferOfferIDRevokeParamsWithHTTPClient ¶
func NewDeleteAPIKeyOfferOfferIDRevokeParamsWithHTTPClient(client *http.Client) *DeleteAPIKeyOfferOfferIDRevokeParams
NewDeleteAPIKeyOfferOfferIDRevokeParamsWithHTTPClient creates a new DeleteAPIKeyOfferOfferIDRevokeParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAPIKeyOfferOfferIDRevokeParamsWithTimeout ¶
func NewDeleteAPIKeyOfferOfferIDRevokeParamsWithTimeout(timeout time.Duration) *DeleteAPIKeyOfferOfferIDRevokeParams
NewDeleteAPIKeyOfferOfferIDRevokeParamsWithTimeout creates a new DeleteAPIKeyOfferOfferIDRevokeParams object with the ability to set a timeout on a request.
func (*DeleteAPIKeyOfferOfferIDRevokeParams) SetContext ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeParams) SetContext(ctx context.Context)
SetContext adds the context to the delete API key offer offer ID revoke params
func (*DeleteAPIKeyOfferOfferIDRevokeParams) SetDefaults ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeParams) SetDefaults()
SetDefaults hydrates default values in the delete API key offer offer ID revoke params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPIKeyOfferOfferIDRevokeParams) SetHTTPClient ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete API key offer offer ID revoke params
func (*DeleteAPIKeyOfferOfferIDRevokeParams) SetOfferID ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeParams) SetOfferID(offerID string)
SetOfferID adds the offerId to the delete API key offer offer ID revoke params
func (*DeleteAPIKeyOfferOfferIDRevokeParams) SetTimeout ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete API key offer offer ID revoke params
func (*DeleteAPIKeyOfferOfferIDRevokeParams) WithContext ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeParams) WithContext(ctx context.Context) *DeleteAPIKeyOfferOfferIDRevokeParams
WithContext adds the context to the delete API key offer offer ID revoke params
func (*DeleteAPIKeyOfferOfferIDRevokeParams) WithDefaults ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeParams) WithDefaults() *DeleteAPIKeyOfferOfferIDRevokeParams
WithDefaults hydrates default values in the delete API key offer offer ID revoke params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPIKeyOfferOfferIDRevokeParams) WithHTTPClient ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeParams) WithHTTPClient(client *http.Client) *DeleteAPIKeyOfferOfferIDRevokeParams
WithHTTPClient adds the HTTPClient to the delete API key offer offer ID revoke params
func (*DeleteAPIKeyOfferOfferIDRevokeParams) WithOfferID ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeParams) WithOfferID(offerID string) *DeleteAPIKeyOfferOfferIDRevokeParams
WithOfferID adds the offerID to the delete API key offer offer ID revoke params
func (*DeleteAPIKeyOfferOfferIDRevokeParams) WithTimeout ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeParams) WithTimeout(timeout time.Duration) *DeleteAPIKeyOfferOfferIDRevokeParams
WithTimeout adds the timeout to the delete API key offer offer ID revoke params
func (*DeleteAPIKeyOfferOfferIDRevokeParams) WriteToRequest ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPIKeyOfferOfferIDRevokeReader ¶
type DeleteAPIKeyOfferOfferIDRevokeReader struct {
// contains filtered or unexported fields
}
DeleteAPIKeyOfferOfferIDRevokeReader is a Reader for the DeleteAPIKeyOfferOfferIDRevoke structure.
func (*DeleteAPIKeyOfferOfferIDRevokeReader) ReadResponse ¶
func (o *DeleteAPIKeyOfferOfferIDRevokeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetAPIKeyOfferOfferIDResendBadRequest ¶
type GetAPIKeyOfferOfferIDResendBadRequest struct {
Payload *models.ResponseFailResponse
}
GetAPIKeyOfferOfferIDResendBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAPIKeyOfferOfferIDResendBadRequest ¶
func NewGetAPIKeyOfferOfferIDResendBadRequest() *GetAPIKeyOfferOfferIDResendBadRequest
NewGetAPIKeyOfferOfferIDResendBadRequest creates a GetAPIKeyOfferOfferIDResendBadRequest with default headers values
func (*GetAPIKeyOfferOfferIDResendBadRequest) Code ¶
func (o *GetAPIKeyOfferOfferIDResendBadRequest) Code() int
Code gets the status code for the get Api key offer offer Id resend bad request response
func (*GetAPIKeyOfferOfferIDResendBadRequest) Error ¶
func (o *GetAPIKeyOfferOfferIDResendBadRequest) Error() string
func (*GetAPIKeyOfferOfferIDResendBadRequest) GetPayload ¶
func (o *GetAPIKeyOfferOfferIDResendBadRequest) GetPayload() *models.ResponseFailResponse
func (*GetAPIKeyOfferOfferIDResendBadRequest) IsClientError ¶
func (o *GetAPIKeyOfferOfferIDResendBadRequest) IsClientError() bool
IsClientError returns true when this get Api key offer offer Id resend bad request response has a 4xx status code
func (*GetAPIKeyOfferOfferIDResendBadRequest) IsCode ¶
func (o *GetAPIKeyOfferOfferIDResendBadRequest) IsCode(code int) bool
IsCode returns true when this get Api key offer offer Id resend bad request response a status code equal to that given
func (*GetAPIKeyOfferOfferIDResendBadRequest) IsRedirect ¶
func (o *GetAPIKeyOfferOfferIDResendBadRequest) IsRedirect() bool
IsRedirect returns true when this get Api key offer offer Id resend bad request response has a 3xx status code
func (*GetAPIKeyOfferOfferIDResendBadRequest) IsServerError ¶
func (o *GetAPIKeyOfferOfferIDResendBadRequest) IsServerError() bool
IsServerError returns true when this get Api key offer offer Id resend bad request response has a 5xx status code
func (*GetAPIKeyOfferOfferIDResendBadRequest) IsSuccess ¶
func (o *GetAPIKeyOfferOfferIDResendBadRequest) IsSuccess() bool
IsSuccess returns true when this get Api key offer offer Id resend bad request response has a 2xx status code
func (*GetAPIKeyOfferOfferIDResendBadRequest) String ¶
func (o *GetAPIKeyOfferOfferIDResendBadRequest) String() string
type GetAPIKeyOfferOfferIDResendInternalServerError ¶
type GetAPIKeyOfferOfferIDResendInternalServerError struct {
Payload *models.ResponseErrorResponse
}
GetAPIKeyOfferOfferIDResendInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAPIKeyOfferOfferIDResendInternalServerError ¶
func NewGetAPIKeyOfferOfferIDResendInternalServerError() *GetAPIKeyOfferOfferIDResendInternalServerError
NewGetAPIKeyOfferOfferIDResendInternalServerError creates a GetAPIKeyOfferOfferIDResendInternalServerError with default headers values
func (*GetAPIKeyOfferOfferIDResendInternalServerError) Code ¶
func (o *GetAPIKeyOfferOfferIDResendInternalServerError) Code() int
Code gets the status code for the get Api key offer offer Id resend internal server error response
func (*GetAPIKeyOfferOfferIDResendInternalServerError) Error ¶
func (o *GetAPIKeyOfferOfferIDResendInternalServerError) Error() string
func (*GetAPIKeyOfferOfferIDResendInternalServerError) GetPayload ¶
func (o *GetAPIKeyOfferOfferIDResendInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*GetAPIKeyOfferOfferIDResendInternalServerError) IsClientError ¶
func (o *GetAPIKeyOfferOfferIDResendInternalServerError) IsClientError() bool
IsClientError returns true when this get Api key offer offer Id resend internal server error response has a 4xx status code
func (*GetAPIKeyOfferOfferIDResendInternalServerError) IsCode ¶
func (o *GetAPIKeyOfferOfferIDResendInternalServerError) IsCode(code int) bool
IsCode returns true when this get Api key offer offer Id resend internal server error response a status code equal to that given
func (*GetAPIKeyOfferOfferIDResendInternalServerError) IsRedirect ¶
func (o *GetAPIKeyOfferOfferIDResendInternalServerError) IsRedirect() bool
IsRedirect returns true when this get Api key offer offer Id resend internal server error response has a 3xx status code
func (*GetAPIKeyOfferOfferIDResendInternalServerError) IsServerError ¶
func (o *GetAPIKeyOfferOfferIDResendInternalServerError) IsServerError() bool
IsServerError returns true when this get Api key offer offer Id resend internal server error response has a 5xx status code
func (*GetAPIKeyOfferOfferIDResendInternalServerError) IsSuccess ¶
func (o *GetAPIKeyOfferOfferIDResendInternalServerError) IsSuccess() bool
IsSuccess returns true when this get Api key offer offer Id resend internal server error response has a 2xx status code
func (*GetAPIKeyOfferOfferIDResendInternalServerError) String ¶
func (o *GetAPIKeyOfferOfferIDResendInternalServerError) String() string
type GetAPIKeyOfferOfferIDResendOK ¶
type GetAPIKeyOfferOfferIDResendOK struct {
Payload *models.ResponseSuccessResponse
}
GetAPIKeyOfferOfferIDResendOK describes a response with status code 200, with default header values.
OK
func NewGetAPIKeyOfferOfferIDResendOK ¶
func NewGetAPIKeyOfferOfferIDResendOK() *GetAPIKeyOfferOfferIDResendOK
NewGetAPIKeyOfferOfferIDResendOK creates a GetAPIKeyOfferOfferIDResendOK with default headers values
func (*GetAPIKeyOfferOfferIDResendOK) Code ¶
func (o *GetAPIKeyOfferOfferIDResendOK) Code() int
Code gets the status code for the get Api key offer offer Id resend o k response
func (*GetAPIKeyOfferOfferIDResendOK) Error ¶
func (o *GetAPIKeyOfferOfferIDResendOK) Error() string
func (*GetAPIKeyOfferOfferIDResendOK) GetPayload ¶
func (o *GetAPIKeyOfferOfferIDResendOK) GetPayload() *models.ResponseSuccessResponse
func (*GetAPIKeyOfferOfferIDResendOK) IsClientError ¶
func (o *GetAPIKeyOfferOfferIDResendOK) IsClientError() bool
IsClientError returns true when this get Api key offer offer Id resend o k response has a 4xx status code
func (*GetAPIKeyOfferOfferIDResendOK) IsCode ¶
func (o *GetAPIKeyOfferOfferIDResendOK) IsCode(code int) bool
IsCode returns true when this get Api key offer offer Id resend o k response a status code equal to that given
func (*GetAPIKeyOfferOfferIDResendOK) IsRedirect ¶
func (o *GetAPIKeyOfferOfferIDResendOK) IsRedirect() bool
IsRedirect returns true when this get Api key offer offer Id resend o k response has a 3xx status code
func (*GetAPIKeyOfferOfferIDResendOK) IsServerError ¶
func (o *GetAPIKeyOfferOfferIDResendOK) IsServerError() bool
IsServerError returns true when this get Api key offer offer Id resend o k response has a 5xx status code
func (*GetAPIKeyOfferOfferIDResendOK) IsSuccess ¶
func (o *GetAPIKeyOfferOfferIDResendOK) IsSuccess() bool
IsSuccess returns true when this get Api key offer offer Id resend o k response has a 2xx status code
func (*GetAPIKeyOfferOfferIDResendOK) String ¶
func (o *GetAPIKeyOfferOfferIDResendOK) String() string
type GetAPIKeyOfferOfferIDResendParams ¶
type GetAPIKeyOfferOfferIDResendParams struct {
/* OfferID.
offer_id
*/
OfferID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetAPIKeyOfferOfferIDResendParams contains all the parameters to send to the API endpoint
for the get API key offer offer ID resend operation. Typically these are written to a http.Request.
func NewGetAPIKeyOfferOfferIDResendParams ¶
func NewGetAPIKeyOfferOfferIDResendParams() *GetAPIKeyOfferOfferIDResendParams
NewGetAPIKeyOfferOfferIDResendParams creates a new GetAPIKeyOfferOfferIDResendParams 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 NewGetAPIKeyOfferOfferIDResendParamsWithContext ¶
func NewGetAPIKeyOfferOfferIDResendParamsWithContext(ctx context.Context) *GetAPIKeyOfferOfferIDResendParams
NewGetAPIKeyOfferOfferIDResendParamsWithContext creates a new GetAPIKeyOfferOfferIDResendParams object with the ability to set a context for a request.
func NewGetAPIKeyOfferOfferIDResendParamsWithHTTPClient ¶
func NewGetAPIKeyOfferOfferIDResendParamsWithHTTPClient(client *http.Client) *GetAPIKeyOfferOfferIDResendParams
NewGetAPIKeyOfferOfferIDResendParamsWithHTTPClient creates a new GetAPIKeyOfferOfferIDResendParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIKeyOfferOfferIDResendParamsWithTimeout ¶
func NewGetAPIKeyOfferOfferIDResendParamsWithTimeout(timeout time.Duration) *GetAPIKeyOfferOfferIDResendParams
NewGetAPIKeyOfferOfferIDResendParamsWithTimeout creates a new GetAPIKeyOfferOfferIDResendParams object with the ability to set a timeout on a request.
func (*GetAPIKeyOfferOfferIDResendParams) SetContext ¶
func (o *GetAPIKeyOfferOfferIDResendParams) SetContext(ctx context.Context)
SetContext adds the context to the get API key offer offer ID resend params
func (*GetAPIKeyOfferOfferIDResendParams) SetDefaults ¶
func (o *GetAPIKeyOfferOfferIDResendParams) SetDefaults()
SetDefaults hydrates default values in the get API key offer offer ID resend params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIKeyOfferOfferIDResendParams) SetHTTPClient ¶
func (o *GetAPIKeyOfferOfferIDResendParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API key offer offer ID resend params
func (*GetAPIKeyOfferOfferIDResendParams) SetOfferID ¶
func (o *GetAPIKeyOfferOfferIDResendParams) SetOfferID(offerID string)
SetOfferID adds the offerId to the get API key offer offer ID resend params
func (*GetAPIKeyOfferOfferIDResendParams) SetTimeout ¶
func (o *GetAPIKeyOfferOfferIDResendParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API key offer offer ID resend params
func (*GetAPIKeyOfferOfferIDResendParams) WithContext ¶
func (o *GetAPIKeyOfferOfferIDResendParams) WithContext(ctx context.Context) *GetAPIKeyOfferOfferIDResendParams
WithContext adds the context to the get API key offer offer ID resend params
func (*GetAPIKeyOfferOfferIDResendParams) WithDefaults ¶
func (o *GetAPIKeyOfferOfferIDResendParams) WithDefaults() *GetAPIKeyOfferOfferIDResendParams
WithDefaults hydrates default values in the get API key offer offer ID resend params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIKeyOfferOfferIDResendParams) WithHTTPClient ¶
func (o *GetAPIKeyOfferOfferIDResendParams) WithHTTPClient(client *http.Client) *GetAPIKeyOfferOfferIDResendParams
WithHTTPClient adds the HTTPClient to the get API key offer offer ID resend params
func (*GetAPIKeyOfferOfferIDResendParams) WithOfferID ¶
func (o *GetAPIKeyOfferOfferIDResendParams) WithOfferID(offerID string) *GetAPIKeyOfferOfferIDResendParams
WithOfferID adds the offerID to the get API key offer offer ID resend params
func (*GetAPIKeyOfferOfferIDResendParams) WithTimeout ¶
func (o *GetAPIKeyOfferOfferIDResendParams) WithTimeout(timeout time.Duration) *GetAPIKeyOfferOfferIDResendParams
WithTimeout adds the timeout to the get API key offer offer ID resend params
func (*GetAPIKeyOfferOfferIDResendParams) WriteToRequest ¶
func (o *GetAPIKeyOfferOfferIDResendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIKeyOfferOfferIDResendReader ¶
type GetAPIKeyOfferOfferIDResendReader struct {
// contains filtered or unexported fields
}
GetAPIKeyOfferOfferIDResendReader is a Reader for the GetAPIKeyOfferOfferIDResend structure.
func (*GetAPIKeyOfferOfferIDResendReader) ReadResponse ¶
func (o *GetAPIKeyOfferOfferIDResendReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostAPIKeyOfferInviteBadRequest ¶
type PostAPIKeyOfferInviteBadRequest struct {
Payload *models.ResponseFailResponse
}
PostAPIKeyOfferInviteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAPIKeyOfferInviteBadRequest ¶
func NewPostAPIKeyOfferInviteBadRequest() *PostAPIKeyOfferInviteBadRequest
NewPostAPIKeyOfferInviteBadRequest creates a PostAPIKeyOfferInviteBadRequest with default headers values
func (*PostAPIKeyOfferInviteBadRequest) Code ¶
func (o *PostAPIKeyOfferInviteBadRequest) Code() int
Code gets the status code for the post Api key offer invite bad request response
func (*PostAPIKeyOfferInviteBadRequest) Error ¶
func (o *PostAPIKeyOfferInviteBadRequest) Error() string
func (*PostAPIKeyOfferInviteBadRequest) GetPayload ¶
func (o *PostAPIKeyOfferInviteBadRequest) GetPayload() *models.ResponseFailResponse
func (*PostAPIKeyOfferInviteBadRequest) IsClientError ¶
func (o *PostAPIKeyOfferInviteBadRequest) IsClientError() bool
IsClientError returns true when this post Api key offer invite bad request response has a 4xx status code
func (*PostAPIKeyOfferInviteBadRequest) IsCode ¶
func (o *PostAPIKeyOfferInviteBadRequest) IsCode(code int) bool
IsCode returns true when this post Api key offer invite bad request response a status code equal to that given
func (*PostAPIKeyOfferInviteBadRequest) IsRedirect ¶
func (o *PostAPIKeyOfferInviteBadRequest) IsRedirect() bool
IsRedirect returns true when this post Api key offer invite bad request response has a 3xx status code
func (*PostAPIKeyOfferInviteBadRequest) IsServerError ¶
func (o *PostAPIKeyOfferInviteBadRequest) IsServerError() bool
IsServerError returns true when this post Api key offer invite bad request response has a 5xx status code
func (*PostAPIKeyOfferInviteBadRequest) IsSuccess ¶
func (o *PostAPIKeyOfferInviteBadRequest) IsSuccess() bool
IsSuccess returns true when this post Api key offer invite bad request response has a 2xx status code
func (*PostAPIKeyOfferInviteBadRequest) String ¶
func (o *PostAPIKeyOfferInviteBadRequest) String() string
type PostAPIKeyOfferInviteCreated ¶
type PostAPIKeyOfferInviteCreated struct {
Payload *models.ResponseMakeOfferResponse
}
PostAPIKeyOfferInviteCreated describes a response with status code 201, with default header values.
Created
func NewPostAPIKeyOfferInviteCreated ¶
func NewPostAPIKeyOfferInviteCreated() *PostAPIKeyOfferInviteCreated
NewPostAPIKeyOfferInviteCreated creates a PostAPIKeyOfferInviteCreated with default headers values
func (*PostAPIKeyOfferInviteCreated) Code ¶
func (o *PostAPIKeyOfferInviteCreated) Code() int
Code gets the status code for the post Api key offer invite created response
func (*PostAPIKeyOfferInviteCreated) Error ¶
func (o *PostAPIKeyOfferInviteCreated) Error() string
func (*PostAPIKeyOfferInviteCreated) GetPayload ¶
func (o *PostAPIKeyOfferInviteCreated) GetPayload() *models.ResponseMakeOfferResponse
func (*PostAPIKeyOfferInviteCreated) IsClientError ¶
func (o *PostAPIKeyOfferInviteCreated) IsClientError() bool
IsClientError returns true when this post Api key offer invite created response has a 4xx status code
func (*PostAPIKeyOfferInviteCreated) IsCode ¶
func (o *PostAPIKeyOfferInviteCreated) IsCode(code int) bool
IsCode returns true when this post Api key offer invite created response a status code equal to that given
func (*PostAPIKeyOfferInviteCreated) IsRedirect ¶
func (o *PostAPIKeyOfferInviteCreated) IsRedirect() bool
IsRedirect returns true when this post Api key offer invite created response has a 3xx status code
func (*PostAPIKeyOfferInviteCreated) IsServerError ¶
func (o *PostAPIKeyOfferInviteCreated) IsServerError() bool
IsServerError returns true when this post Api key offer invite created response has a 5xx status code
func (*PostAPIKeyOfferInviteCreated) IsSuccess ¶
func (o *PostAPIKeyOfferInviteCreated) IsSuccess() bool
IsSuccess returns true when this post Api key offer invite created response has a 2xx status code
func (*PostAPIKeyOfferInviteCreated) String ¶
func (o *PostAPIKeyOfferInviteCreated) String() string
type PostAPIKeyOfferInviteInternalServerError ¶
type PostAPIKeyOfferInviteInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PostAPIKeyOfferInviteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAPIKeyOfferInviteInternalServerError ¶
func NewPostAPIKeyOfferInviteInternalServerError() *PostAPIKeyOfferInviteInternalServerError
NewPostAPIKeyOfferInviteInternalServerError creates a PostAPIKeyOfferInviteInternalServerError with default headers values
func (*PostAPIKeyOfferInviteInternalServerError) Code ¶
func (o *PostAPIKeyOfferInviteInternalServerError) Code() int
Code gets the status code for the post Api key offer invite internal server error response
func (*PostAPIKeyOfferInviteInternalServerError) Error ¶
func (o *PostAPIKeyOfferInviteInternalServerError) Error() string
func (*PostAPIKeyOfferInviteInternalServerError) GetPayload ¶
func (o *PostAPIKeyOfferInviteInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostAPIKeyOfferInviteInternalServerError) IsClientError ¶
func (o *PostAPIKeyOfferInviteInternalServerError) IsClientError() bool
IsClientError returns true when this post Api key offer invite internal server error response has a 4xx status code
func (*PostAPIKeyOfferInviteInternalServerError) IsCode ¶
func (o *PostAPIKeyOfferInviteInternalServerError) IsCode(code int) bool
IsCode returns true when this post Api key offer invite internal server error response a status code equal to that given
func (*PostAPIKeyOfferInviteInternalServerError) IsRedirect ¶
func (o *PostAPIKeyOfferInviteInternalServerError) IsRedirect() bool
IsRedirect returns true when this post Api key offer invite internal server error response has a 3xx status code
func (*PostAPIKeyOfferInviteInternalServerError) IsServerError ¶
func (o *PostAPIKeyOfferInviteInternalServerError) IsServerError() bool
IsServerError returns true when this post Api key offer invite internal server error response has a 5xx status code
func (*PostAPIKeyOfferInviteInternalServerError) IsSuccess ¶
func (o *PostAPIKeyOfferInviteInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api key offer invite internal server error response has a 2xx status code
func (*PostAPIKeyOfferInviteInternalServerError) String ¶
func (o *PostAPIKeyOfferInviteInternalServerError) String() string
type PostAPIKeyOfferInviteParams ¶
type PostAPIKeyOfferInviteParams struct {
/* Data.
data
*/
Data *models.RequestMakeInviteOfferRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostAPIKeyOfferInviteParams contains all the parameters to send to the API endpoint
for the post API key offer invite operation. Typically these are written to a http.Request.
func NewPostAPIKeyOfferInviteParams ¶
func NewPostAPIKeyOfferInviteParams() *PostAPIKeyOfferInviteParams
NewPostAPIKeyOfferInviteParams creates a new PostAPIKeyOfferInviteParams 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 NewPostAPIKeyOfferInviteParamsWithContext ¶
func NewPostAPIKeyOfferInviteParamsWithContext(ctx context.Context) *PostAPIKeyOfferInviteParams
NewPostAPIKeyOfferInviteParamsWithContext creates a new PostAPIKeyOfferInviteParams object with the ability to set a context for a request.
func NewPostAPIKeyOfferInviteParamsWithHTTPClient ¶
func NewPostAPIKeyOfferInviteParamsWithHTTPClient(client *http.Client) *PostAPIKeyOfferInviteParams
NewPostAPIKeyOfferInviteParamsWithHTTPClient creates a new PostAPIKeyOfferInviteParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPIKeyOfferInviteParamsWithTimeout ¶
func NewPostAPIKeyOfferInviteParamsWithTimeout(timeout time.Duration) *PostAPIKeyOfferInviteParams
NewPostAPIKeyOfferInviteParamsWithTimeout creates a new PostAPIKeyOfferInviteParams object with the ability to set a timeout on a request.
func (*PostAPIKeyOfferInviteParams) SetContext ¶
func (o *PostAPIKeyOfferInviteParams) SetContext(ctx context.Context)
SetContext adds the context to the post API key offer invite params
func (*PostAPIKeyOfferInviteParams) SetData ¶
func (o *PostAPIKeyOfferInviteParams) SetData(data *models.RequestMakeInviteOfferRequest)
SetData adds the data to the post API key offer invite params
func (*PostAPIKeyOfferInviteParams) SetDefaults ¶
func (o *PostAPIKeyOfferInviteParams) SetDefaults()
SetDefaults hydrates default values in the post API key offer invite params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyOfferInviteParams) SetHTTPClient ¶
func (o *PostAPIKeyOfferInviteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API key offer invite params
func (*PostAPIKeyOfferInviteParams) SetTimeout ¶
func (o *PostAPIKeyOfferInviteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API key offer invite params
func (*PostAPIKeyOfferInviteParams) WithContext ¶
func (o *PostAPIKeyOfferInviteParams) WithContext(ctx context.Context) *PostAPIKeyOfferInviteParams
WithContext adds the context to the post API key offer invite params
func (*PostAPIKeyOfferInviteParams) WithData ¶
func (o *PostAPIKeyOfferInviteParams) WithData(data *models.RequestMakeInviteOfferRequest) *PostAPIKeyOfferInviteParams
WithData adds the data to the post API key offer invite params
func (*PostAPIKeyOfferInviteParams) WithDefaults ¶
func (o *PostAPIKeyOfferInviteParams) WithDefaults() *PostAPIKeyOfferInviteParams
WithDefaults hydrates default values in the post API key offer invite params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyOfferInviteParams) WithHTTPClient ¶
func (o *PostAPIKeyOfferInviteParams) WithHTTPClient(client *http.Client) *PostAPIKeyOfferInviteParams
WithHTTPClient adds the HTTPClient to the post API key offer invite params
func (*PostAPIKeyOfferInviteParams) WithTimeout ¶
func (o *PostAPIKeyOfferInviteParams) WithTimeout(timeout time.Duration) *PostAPIKeyOfferInviteParams
WithTimeout adds the timeout to the post API key offer invite params
func (*PostAPIKeyOfferInviteParams) WriteToRequest ¶
func (o *PostAPIKeyOfferInviteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIKeyOfferInviteReader ¶
type PostAPIKeyOfferInviteReader struct {
// contains filtered or unexported fields
}
PostAPIKeyOfferInviteReader is a Reader for the PostAPIKeyOfferInvite structure.
func (*PostAPIKeyOfferInviteReader) ReadResponse ¶
func (o *PostAPIKeyOfferInviteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostAPIKeyOfferJoinBadRequest ¶
type PostAPIKeyOfferJoinBadRequest struct {
Payload *models.ResponseFailResponse
}
PostAPIKeyOfferJoinBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAPIKeyOfferJoinBadRequest ¶
func NewPostAPIKeyOfferJoinBadRequest() *PostAPIKeyOfferJoinBadRequest
NewPostAPIKeyOfferJoinBadRequest creates a PostAPIKeyOfferJoinBadRequest with default headers values
func (*PostAPIKeyOfferJoinBadRequest) Code ¶
func (o *PostAPIKeyOfferJoinBadRequest) Code() int
Code gets the status code for the post Api key offer join bad request response
func (*PostAPIKeyOfferJoinBadRequest) Error ¶
func (o *PostAPIKeyOfferJoinBadRequest) Error() string
func (*PostAPIKeyOfferJoinBadRequest) GetPayload ¶
func (o *PostAPIKeyOfferJoinBadRequest) GetPayload() *models.ResponseFailResponse
func (*PostAPIKeyOfferJoinBadRequest) IsClientError ¶
func (o *PostAPIKeyOfferJoinBadRequest) IsClientError() bool
IsClientError returns true when this post Api key offer join bad request response has a 4xx status code
func (*PostAPIKeyOfferJoinBadRequest) IsCode ¶
func (o *PostAPIKeyOfferJoinBadRequest) IsCode(code int) bool
IsCode returns true when this post Api key offer join bad request response a status code equal to that given
func (*PostAPIKeyOfferJoinBadRequest) IsRedirect ¶
func (o *PostAPIKeyOfferJoinBadRequest) IsRedirect() bool
IsRedirect returns true when this post Api key offer join bad request response has a 3xx status code
func (*PostAPIKeyOfferJoinBadRequest) IsServerError ¶
func (o *PostAPIKeyOfferJoinBadRequest) IsServerError() bool
IsServerError returns true when this post Api key offer join bad request response has a 5xx status code
func (*PostAPIKeyOfferJoinBadRequest) IsSuccess ¶
func (o *PostAPIKeyOfferJoinBadRequest) IsSuccess() bool
IsSuccess returns true when this post Api key offer join bad request response has a 2xx status code
func (*PostAPIKeyOfferJoinBadRequest) String ¶
func (o *PostAPIKeyOfferJoinBadRequest) String() string
type PostAPIKeyOfferJoinInternalServerError ¶
type PostAPIKeyOfferJoinInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PostAPIKeyOfferJoinInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAPIKeyOfferJoinInternalServerError ¶
func NewPostAPIKeyOfferJoinInternalServerError() *PostAPIKeyOfferJoinInternalServerError
NewPostAPIKeyOfferJoinInternalServerError creates a PostAPIKeyOfferJoinInternalServerError with default headers values
func (*PostAPIKeyOfferJoinInternalServerError) Code ¶
func (o *PostAPIKeyOfferJoinInternalServerError) Code() int
Code gets the status code for the post Api key offer join internal server error response
func (*PostAPIKeyOfferJoinInternalServerError) Error ¶
func (o *PostAPIKeyOfferJoinInternalServerError) Error() string
func (*PostAPIKeyOfferJoinInternalServerError) GetPayload ¶
func (o *PostAPIKeyOfferJoinInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostAPIKeyOfferJoinInternalServerError) IsClientError ¶
func (o *PostAPIKeyOfferJoinInternalServerError) IsClientError() bool
IsClientError returns true when this post Api key offer join internal server error response has a 4xx status code
func (*PostAPIKeyOfferJoinInternalServerError) IsCode ¶
func (o *PostAPIKeyOfferJoinInternalServerError) IsCode(code int) bool
IsCode returns true when this post Api key offer join internal server error response a status code equal to that given
func (*PostAPIKeyOfferJoinInternalServerError) IsRedirect ¶
func (o *PostAPIKeyOfferJoinInternalServerError) IsRedirect() bool
IsRedirect returns true when this post Api key offer join internal server error response has a 3xx status code
func (*PostAPIKeyOfferJoinInternalServerError) IsServerError ¶
func (o *PostAPIKeyOfferJoinInternalServerError) IsServerError() bool
IsServerError returns true when this post Api key offer join internal server error response has a 5xx status code
func (*PostAPIKeyOfferJoinInternalServerError) IsSuccess ¶
func (o *PostAPIKeyOfferJoinInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api key offer join internal server error response has a 2xx status code
func (*PostAPIKeyOfferJoinInternalServerError) String ¶
func (o *PostAPIKeyOfferJoinInternalServerError) String() string
type PostAPIKeyOfferJoinOK ¶
type PostAPIKeyOfferJoinOK struct {
Payload *models.ResponseMakeOfferResponse
}
PostAPIKeyOfferJoinOK describes a response with status code 200, with default header values.
OK
func NewPostAPIKeyOfferJoinOK ¶
func NewPostAPIKeyOfferJoinOK() *PostAPIKeyOfferJoinOK
NewPostAPIKeyOfferJoinOK creates a PostAPIKeyOfferJoinOK with default headers values
func (*PostAPIKeyOfferJoinOK) Code ¶
func (o *PostAPIKeyOfferJoinOK) Code() int
Code gets the status code for the post Api key offer join o k response
func (*PostAPIKeyOfferJoinOK) Error ¶
func (o *PostAPIKeyOfferJoinOK) Error() string
func (*PostAPIKeyOfferJoinOK) GetPayload ¶
func (o *PostAPIKeyOfferJoinOK) GetPayload() *models.ResponseMakeOfferResponse
func (*PostAPIKeyOfferJoinOK) IsClientError ¶
func (o *PostAPIKeyOfferJoinOK) IsClientError() bool
IsClientError returns true when this post Api key offer join o k response has a 4xx status code
func (*PostAPIKeyOfferJoinOK) IsCode ¶
func (o *PostAPIKeyOfferJoinOK) IsCode(code int) bool
IsCode returns true when this post Api key offer join o k response a status code equal to that given
func (*PostAPIKeyOfferJoinOK) IsRedirect ¶
func (o *PostAPIKeyOfferJoinOK) IsRedirect() bool
IsRedirect returns true when this post Api key offer join o k response has a 3xx status code
func (*PostAPIKeyOfferJoinOK) IsServerError ¶
func (o *PostAPIKeyOfferJoinOK) IsServerError() bool
IsServerError returns true when this post Api key offer join o k response has a 5xx status code
func (*PostAPIKeyOfferJoinOK) IsSuccess ¶
func (o *PostAPIKeyOfferJoinOK) IsSuccess() bool
IsSuccess returns true when this post Api key offer join o k response has a 2xx status code
func (*PostAPIKeyOfferJoinOK) String ¶
func (o *PostAPIKeyOfferJoinOK) String() string
type PostAPIKeyOfferJoinParams ¶
type PostAPIKeyOfferJoinParams struct {
/* Data.
data
*/
Data *models.RequestMakeJoinOfferRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostAPIKeyOfferJoinParams contains all the parameters to send to the API endpoint
for the post API key offer join operation. Typically these are written to a http.Request.
func NewPostAPIKeyOfferJoinParams ¶
func NewPostAPIKeyOfferJoinParams() *PostAPIKeyOfferJoinParams
NewPostAPIKeyOfferJoinParams creates a new PostAPIKeyOfferJoinParams 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 NewPostAPIKeyOfferJoinParamsWithContext ¶
func NewPostAPIKeyOfferJoinParamsWithContext(ctx context.Context) *PostAPIKeyOfferJoinParams
NewPostAPIKeyOfferJoinParamsWithContext creates a new PostAPIKeyOfferJoinParams object with the ability to set a context for a request.
func NewPostAPIKeyOfferJoinParamsWithHTTPClient ¶
func NewPostAPIKeyOfferJoinParamsWithHTTPClient(client *http.Client) *PostAPIKeyOfferJoinParams
NewPostAPIKeyOfferJoinParamsWithHTTPClient creates a new PostAPIKeyOfferJoinParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPIKeyOfferJoinParamsWithTimeout ¶
func NewPostAPIKeyOfferJoinParamsWithTimeout(timeout time.Duration) *PostAPIKeyOfferJoinParams
NewPostAPIKeyOfferJoinParamsWithTimeout creates a new PostAPIKeyOfferJoinParams object with the ability to set a timeout on a request.
func (*PostAPIKeyOfferJoinParams) SetContext ¶
func (o *PostAPIKeyOfferJoinParams) SetContext(ctx context.Context)
SetContext adds the context to the post API key offer join params
func (*PostAPIKeyOfferJoinParams) SetData ¶
func (o *PostAPIKeyOfferJoinParams) SetData(data *models.RequestMakeJoinOfferRequest)
SetData adds the data to the post API key offer join params
func (*PostAPIKeyOfferJoinParams) SetDefaults ¶
func (o *PostAPIKeyOfferJoinParams) SetDefaults()
SetDefaults hydrates default values in the post API key offer join params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyOfferJoinParams) SetHTTPClient ¶
func (o *PostAPIKeyOfferJoinParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API key offer join params
func (*PostAPIKeyOfferJoinParams) SetTimeout ¶
func (o *PostAPIKeyOfferJoinParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API key offer join params
func (*PostAPIKeyOfferJoinParams) WithContext ¶
func (o *PostAPIKeyOfferJoinParams) WithContext(ctx context.Context) *PostAPIKeyOfferJoinParams
WithContext adds the context to the post API key offer join params
func (*PostAPIKeyOfferJoinParams) WithData ¶
func (o *PostAPIKeyOfferJoinParams) WithData(data *models.RequestMakeJoinOfferRequest) *PostAPIKeyOfferJoinParams
WithData adds the data to the post API key offer join params
func (*PostAPIKeyOfferJoinParams) WithDefaults ¶
func (o *PostAPIKeyOfferJoinParams) WithDefaults() *PostAPIKeyOfferJoinParams
WithDefaults hydrates default values in the post API key offer join params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyOfferJoinParams) WithHTTPClient ¶
func (o *PostAPIKeyOfferJoinParams) WithHTTPClient(client *http.Client) *PostAPIKeyOfferJoinParams
WithHTTPClient adds the HTTPClient to the post API key offer join params
func (*PostAPIKeyOfferJoinParams) WithTimeout ¶
func (o *PostAPIKeyOfferJoinParams) WithTimeout(timeout time.Duration) *PostAPIKeyOfferJoinParams
WithTimeout adds the timeout to the post API key offer join params
func (*PostAPIKeyOfferJoinParams) WriteToRequest ¶
func (o *PostAPIKeyOfferJoinParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIKeyOfferJoinReader ¶
type PostAPIKeyOfferJoinReader struct {
// contains filtered or unexported fields
}
PostAPIKeyOfferJoinReader is a Reader for the PostAPIKeyOfferJoin structure.
func (*PostAPIKeyOfferJoinReader) ReadResponse ¶
func (o *PostAPIKeyOfferJoinReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PutAPIKeyOfferOfferIDAcceptBadRequest ¶
type PutAPIKeyOfferOfferIDAcceptBadRequest struct {
Payload *models.ResponseFailResponse
}
PutAPIKeyOfferOfferIDAcceptBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPutAPIKeyOfferOfferIDAcceptBadRequest ¶
func NewPutAPIKeyOfferOfferIDAcceptBadRequest() *PutAPIKeyOfferOfferIDAcceptBadRequest
NewPutAPIKeyOfferOfferIDAcceptBadRequest creates a PutAPIKeyOfferOfferIDAcceptBadRequest with default headers values
func (*PutAPIKeyOfferOfferIDAcceptBadRequest) Code ¶
func (o *PutAPIKeyOfferOfferIDAcceptBadRequest) Code() int
Code gets the status code for the put Api key offer offer Id accept bad request response
func (*PutAPIKeyOfferOfferIDAcceptBadRequest) Error ¶
func (o *PutAPIKeyOfferOfferIDAcceptBadRequest) Error() string
func (*PutAPIKeyOfferOfferIDAcceptBadRequest) GetPayload ¶
func (o *PutAPIKeyOfferOfferIDAcceptBadRequest) GetPayload() *models.ResponseFailResponse
func (*PutAPIKeyOfferOfferIDAcceptBadRequest) IsClientError ¶
func (o *PutAPIKeyOfferOfferIDAcceptBadRequest) IsClientError() bool
IsClientError returns true when this put Api key offer offer Id accept bad request response has a 4xx status code
func (*PutAPIKeyOfferOfferIDAcceptBadRequest) IsCode ¶
func (o *PutAPIKeyOfferOfferIDAcceptBadRequest) IsCode(code int) bool
IsCode returns true when this put Api key offer offer Id accept bad request response a status code equal to that given
func (*PutAPIKeyOfferOfferIDAcceptBadRequest) IsRedirect ¶
func (o *PutAPIKeyOfferOfferIDAcceptBadRequest) IsRedirect() bool
IsRedirect returns true when this put Api key offer offer Id accept bad request response has a 3xx status code
func (*PutAPIKeyOfferOfferIDAcceptBadRequest) IsServerError ¶
func (o *PutAPIKeyOfferOfferIDAcceptBadRequest) IsServerError() bool
IsServerError returns true when this put Api key offer offer Id accept bad request response has a 5xx status code
func (*PutAPIKeyOfferOfferIDAcceptBadRequest) IsSuccess ¶
func (o *PutAPIKeyOfferOfferIDAcceptBadRequest) IsSuccess() bool
IsSuccess returns true when this put Api key offer offer Id accept bad request response has a 2xx status code
func (*PutAPIKeyOfferOfferIDAcceptBadRequest) String ¶
func (o *PutAPIKeyOfferOfferIDAcceptBadRequest) String() string
type PutAPIKeyOfferOfferIDAcceptInternalServerError ¶
type PutAPIKeyOfferOfferIDAcceptInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PutAPIKeyOfferOfferIDAcceptInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPutAPIKeyOfferOfferIDAcceptInternalServerError ¶
func NewPutAPIKeyOfferOfferIDAcceptInternalServerError() *PutAPIKeyOfferOfferIDAcceptInternalServerError
NewPutAPIKeyOfferOfferIDAcceptInternalServerError creates a PutAPIKeyOfferOfferIDAcceptInternalServerError with default headers values
func (*PutAPIKeyOfferOfferIDAcceptInternalServerError) Code ¶
func (o *PutAPIKeyOfferOfferIDAcceptInternalServerError) Code() int
Code gets the status code for the put Api key offer offer Id accept internal server error response
func (*PutAPIKeyOfferOfferIDAcceptInternalServerError) Error ¶
func (o *PutAPIKeyOfferOfferIDAcceptInternalServerError) Error() string
func (*PutAPIKeyOfferOfferIDAcceptInternalServerError) GetPayload ¶
func (o *PutAPIKeyOfferOfferIDAcceptInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PutAPIKeyOfferOfferIDAcceptInternalServerError) IsClientError ¶
func (o *PutAPIKeyOfferOfferIDAcceptInternalServerError) IsClientError() bool
IsClientError returns true when this put Api key offer offer Id accept internal server error response has a 4xx status code
func (*PutAPIKeyOfferOfferIDAcceptInternalServerError) IsCode ¶
func (o *PutAPIKeyOfferOfferIDAcceptInternalServerError) IsCode(code int) bool
IsCode returns true when this put Api key offer offer Id accept internal server error response a status code equal to that given
func (*PutAPIKeyOfferOfferIDAcceptInternalServerError) IsRedirect ¶
func (o *PutAPIKeyOfferOfferIDAcceptInternalServerError) IsRedirect() bool
IsRedirect returns true when this put Api key offer offer Id accept internal server error response has a 3xx status code
func (*PutAPIKeyOfferOfferIDAcceptInternalServerError) IsServerError ¶
func (o *PutAPIKeyOfferOfferIDAcceptInternalServerError) IsServerError() bool
IsServerError returns true when this put Api key offer offer Id accept internal server error response has a 5xx status code
func (*PutAPIKeyOfferOfferIDAcceptInternalServerError) IsSuccess ¶
func (o *PutAPIKeyOfferOfferIDAcceptInternalServerError) IsSuccess() bool
IsSuccess returns true when this put Api key offer offer Id accept internal server error response has a 2xx status code
func (*PutAPIKeyOfferOfferIDAcceptInternalServerError) String ¶
func (o *PutAPIKeyOfferOfferIDAcceptInternalServerError) String() string
type PutAPIKeyOfferOfferIDAcceptOK ¶
type PutAPIKeyOfferOfferIDAcceptOK struct {
Payload *models.ResponseSuccessResponse
}
PutAPIKeyOfferOfferIDAcceptOK describes a response with status code 200, with default header values.
OK
func NewPutAPIKeyOfferOfferIDAcceptOK ¶
func NewPutAPIKeyOfferOfferIDAcceptOK() *PutAPIKeyOfferOfferIDAcceptOK
NewPutAPIKeyOfferOfferIDAcceptOK creates a PutAPIKeyOfferOfferIDAcceptOK with default headers values
func (*PutAPIKeyOfferOfferIDAcceptOK) Code ¶
func (o *PutAPIKeyOfferOfferIDAcceptOK) Code() int
Code gets the status code for the put Api key offer offer Id accept o k response
func (*PutAPIKeyOfferOfferIDAcceptOK) Error ¶
func (o *PutAPIKeyOfferOfferIDAcceptOK) Error() string
func (*PutAPIKeyOfferOfferIDAcceptOK) GetPayload ¶
func (o *PutAPIKeyOfferOfferIDAcceptOK) GetPayload() *models.ResponseSuccessResponse
func (*PutAPIKeyOfferOfferIDAcceptOK) IsClientError ¶
func (o *PutAPIKeyOfferOfferIDAcceptOK) IsClientError() bool
IsClientError returns true when this put Api key offer offer Id accept o k response has a 4xx status code
func (*PutAPIKeyOfferOfferIDAcceptOK) IsCode ¶
func (o *PutAPIKeyOfferOfferIDAcceptOK) IsCode(code int) bool
IsCode returns true when this put Api key offer offer Id accept o k response a status code equal to that given
func (*PutAPIKeyOfferOfferIDAcceptOK) IsRedirect ¶
func (o *PutAPIKeyOfferOfferIDAcceptOK) IsRedirect() bool
IsRedirect returns true when this put Api key offer offer Id accept o k response has a 3xx status code
func (*PutAPIKeyOfferOfferIDAcceptOK) IsServerError ¶
func (o *PutAPIKeyOfferOfferIDAcceptOK) IsServerError() bool
IsServerError returns true when this put Api key offer offer Id accept o k response has a 5xx status code
func (*PutAPIKeyOfferOfferIDAcceptOK) IsSuccess ¶
func (o *PutAPIKeyOfferOfferIDAcceptOK) IsSuccess() bool
IsSuccess returns true when this put Api key offer offer Id accept o k response has a 2xx status code
func (*PutAPIKeyOfferOfferIDAcceptOK) String ¶
func (o *PutAPIKeyOfferOfferIDAcceptOK) String() string
type PutAPIKeyOfferOfferIDAcceptParams ¶
type PutAPIKeyOfferOfferIDAcceptParams struct {
/* OfferID.
offer_id
*/
OfferID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PutAPIKeyOfferOfferIDAcceptParams contains all the parameters to send to the API endpoint
for the put API key offer offer ID accept operation. Typically these are written to a http.Request.
func NewPutAPIKeyOfferOfferIDAcceptParams ¶
func NewPutAPIKeyOfferOfferIDAcceptParams() *PutAPIKeyOfferOfferIDAcceptParams
NewPutAPIKeyOfferOfferIDAcceptParams creates a new PutAPIKeyOfferOfferIDAcceptParams 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 NewPutAPIKeyOfferOfferIDAcceptParamsWithContext ¶
func NewPutAPIKeyOfferOfferIDAcceptParamsWithContext(ctx context.Context) *PutAPIKeyOfferOfferIDAcceptParams
NewPutAPIKeyOfferOfferIDAcceptParamsWithContext creates a new PutAPIKeyOfferOfferIDAcceptParams object with the ability to set a context for a request.
func NewPutAPIKeyOfferOfferIDAcceptParamsWithHTTPClient ¶
func NewPutAPIKeyOfferOfferIDAcceptParamsWithHTTPClient(client *http.Client) *PutAPIKeyOfferOfferIDAcceptParams
NewPutAPIKeyOfferOfferIDAcceptParamsWithHTTPClient creates a new PutAPIKeyOfferOfferIDAcceptParams object with the ability to set a custom HTTPClient for a request.
func NewPutAPIKeyOfferOfferIDAcceptParamsWithTimeout ¶
func NewPutAPIKeyOfferOfferIDAcceptParamsWithTimeout(timeout time.Duration) *PutAPIKeyOfferOfferIDAcceptParams
NewPutAPIKeyOfferOfferIDAcceptParamsWithTimeout creates a new PutAPIKeyOfferOfferIDAcceptParams object with the ability to set a timeout on a request.
func (*PutAPIKeyOfferOfferIDAcceptParams) SetContext ¶
func (o *PutAPIKeyOfferOfferIDAcceptParams) SetContext(ctx context.Context)
SetContext adds the context to the put API key offer offer ID accept params
func (*PutAPIKeyOfferOfferIDAcceptParams) SetDefaults ¶
func (o *PutAPIKeyOfferOfferIDAcceptParams) SetDefaults()
SetDefaults hydrates default values in the put API key offer offer ID accept params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPIKeyOfferOfferIDAcceptParams) SetHTTPClient ¶
func (o *PutAPIKeyOfferOfferIDAcceptParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put API key offer offer ID accept params
func (*PutAPIKeyOfferOfferIDAcceptParams) SetOfferID ¶
func (o *PutAPIKeyOfferOfferIDAcceptParams) SetOfferID(offerID string)
SetOfferID adds the offerId to the put API key offer offer ID accept params
func (*PutAPIKeyOfferOfferIDAcceptParams) SetTimeout ¶
func (o *PutAPIKeyOfferOfferIDAcceptParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put API key offer offer ID accept params
func (*PutAPIKeyOfferOfferIDAcceptParams) WithContext ¶
func (o *PutAPIKeyOfferOfferIDAcceptParams) WithContext(ctx context.Context) *PutAPIKeyOfferOfferIDAcceptParams
WithContext adds the context to the put API key offer offer ID accept params
func (*PutAPIKeyOfferOfferIDAcceptParams) WithDefaults ¶
func (o *PutAPIKeyOfferOfferIDAcceptParams) WithDefaults() *PutAPIKeyOfferOfferIDAcceptParams
WithDefaults hydrates default values in the put API key offer offer ID accept params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPIKeyOfferOfferIDAcceptParams) WithHTTPClient ¶
func (o *PutAPIKeyOfferOfferIDAcceptParams) WithHTTPClient(client *http.Client) *PutAPIKeyOfferOfferIDAcceptParams
WithHTTPClient adds the HTTPClient to the put API key offer offer ID accept params
func (*PutAPIKeyOfferOfferIDAcceptParams) WithOfferID ¶
func (o *PutAPIKeyOfferOfferIDAcceptParams) WithOfferID(offerID string) *PutAPIKeyOfferOfferIDAcceptParams
WithOfferID adds the offerID to the put API key offer offer ID accept params
func (*PutAPIKeyOfferOfferIDAcceptParams) WithTimeout ¶
func (o *PutAPIKeyOfferOfferIDAcceptParams) WithTimeout(timeout time.Duration) *PutAPIKeyOfferOfferIDAcceptParams
WithTimeout adds the timeout to the put API key offer offer ID accept params
func (*PutAPIKeyOfferOfferIDAcceptParams) WriteToRequest ¶
func (o *PutAPIKeyOfferOfferIDAcceptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutAPIKeyOfferOfferIDAcceptReader ¶
type PutAPIKeyOfferOfferIDAcceptReader struct {
// contains filtered or unexported fields
}
PutAPIKeyOfferOfferIDAcceptReader is a Reader for the PutAPIKeyOfferOfferIDAccept structure.
func (*PutAPIKeyOfferOfferIDAcceptReader) ReadResponse ¶
func (o *PutAPIKeyOfferOfferIDAcceptReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PutAPIKeyOfferOfferIDDenyBadRequest ¶
type PutAPIKeyOfferOfferIDDenyBadRequest struct {
Payload *models.ResponseFailResponse
}
PutAPIKeyOfferOfferIDDenyBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPutAPIKeyOfferOfferIDDenyBadRequest ¶
func NewPutAPIKeyOfferOfferIDDenyBadRequest() *PutAPIKeyOfferOfferIDDenyBadRequest
NewPutAPIKeyOfferOfferIDDenyBadRequest creates a PutAPIKeyOfferOfferIDDenyBadRequest with default headers values
func (*PutAPIKeyOfferOfferIDDenyBadRequest) Code ¶
func (o *PutAPIKeyOfferOfferIDDenyBadRequest) Code() int
Code gets the status code for the put Api key offer offer Id deny bad request response
func (*PutAPIKeyOfferOfferIDDenyBadRequest) Error ¶
func (o *PutAPIKeyOfferOfferIDDenyBadRequest) Error() string
func (*PutAPIKeyOfferOfferIDDenyBadRequest) GetPayload ¶
func (o *PutAPIKeyOfferOfferIDDenyBadRequest) GetPayload() *models.ResponseFailResponse
func (*PutAPIKeyOfferOfferIDDenyBadRequest) IsClientError ¶
func (o *PutAPIKeyOfferOfferIDDenyBadRequest) IsClientError() bool
IsClientError returns true when this put Api key offer offer Id deny bad request response has a 4xx status code
func (*PutAPIKeyOfferOfferIDDenyBadRequest) IsCode ¶
func (o *PutAPIKeyOfferOfferIDDenyBadRequest) IsCode(code int) bool
IsCode returns true when this put Api key offer offer Id deny bad request response a status code equal to that given
func (*PutAPIKeyOfferOfferIDDenyBadRequest) IsRedirect ¶
func (o *PutAPIKeyOfferOfferIDDenyBadRequest) IsRedirect() bool
IsRedirect returns true when this put Api key offer offer Id deny bad request response has a 3xx status code
func (*PutAPIKeyOfferOfferIDDenyBadRequest) IsServerError ¶
func (o *PutAPIKeyOfferOfferIDDenyBadRequest) IsServerError() bool
IsServerError returns true when this put Api key offer offer Id deny bad request response has a 5xx status code
func (*PutAPIKeyOfferOfferIDDenyBadRequest) IsSuccess ¶
func (o *PutAPIKeyOfferOfferIDDenyBadRequest) IsSuccess() bool
IsSuccess returns true when this put Api key offer offer Id deny bad request response has a 2xx status code
func (*PutAPIKeyOfferOfferIDDenyBadRequest) String ¶
func (o *PutAPIKeyOfferOfferIDDenyBadRequest) String() string
type PutAPIKeyOfferOfferIDDenyInternalServerError ¶
type PutAPIKeyOfferOfferIDDenyInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PutAPIKeyOfferOfferIDDenyInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPutAPIKeyOfferOfferIDDenyInternalServerError ¶
func NewPutAPIKeyOfferOfferIDDenyInternalServerError() *PutAPIKeyOfferOfferIDDenyInternalServerError
NewPutAPIKeyOfferOfferIDDenyInternalServerError creates a PutAPIKeyOfferOfferIDDenyInternalServerError with default headers values
func (*PutAPIKeyOfferOfferIDDenyInternalServerError) Code ¶
func (o *PutAPIKeyOfferOfferIDDenyInternalServerError) Code() int
Code gets the status code for the put Api key offer offer Id deny internal server error response
func (*PutAPIKeyOfferOfferIDDenyInternalServerError) Error ¶
func (o *PutAPIKeyOfferOfferIDDenyInternalServerError) Error() string
func (*PutAPIKeyOfferOfferIDDenyInternalServerError) GetPayload ¶
func (o *PutAPIKeyOfferOfferIDDenyInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PutAPIKeyOfferOfferIDDenyInternalServerError) IsClientError ¶
func (o *PutAPIKeyOfferOfferIDDenyInternalServerError) IsClientError() bool
IsClientError returns true when this put Api key offer offer Id deny internal server error response has a 4xx status code
func (*PutAPIKeyOfferOfferIDDenyInternalServerError) IsCode ¶
func (o *PutAPIKeyOfferOfferIDDenyInternalServerError) IsCode(code int) bool
IsCode returns true when this put Api key offer offer Id deny internal server error response a status code equal to that given
func (*PutAPIKeyOfferOfferIDDenyInternalServerError) IsRedirect ¶
func (o *PutAPIKeyOfferOfferIDDenyInternalServerError) IsRedirect() bool
IsRedirect returns true when this put Api key offer offer Id deny internal server error response has a 3xx status code
func (*PutAPIKeyOfferOfferIDDenyInternalServerError) IsServerError ¶
func (o *PutAPIKeyOfferOfferIDDenyInternalServerError) IsServerError() bool
IsServerError returns true when this put Api key offer offer Id deny internal server error response has a 5xx status code
func (*PutAPIKeyOfferOfferIDDenyInternalServerError) IsSuccess ¶
func (o *PutAPIKeyOfferOfferIDDenyInternalServerError) IsSuccess() bool
IsSuccess returns true when this put Api key offer offer Id deny internal server error response has a 2xx status code
func (*PutAPIKeyOfferOfferIDDenyInternalServerError) String ¶
func (o *PutAPIKeyOfferOfferIDDenyInternalServerError) String() string
type PutAPIKeyOfferOfferIDDenyOK ¶
type PutAPIKeyOfferOfferIDDenyOK struct {
Payload *models.ResponseSuccessResponse
}
PutAPIKeyOfferOfferIDDenyOK describes a response with status code 200, with default header values.
OK
func NewPutAPIKeyOfferOfferIDDenyOK ¶
func NewPutAPIKeyOfferOfferIDDenyOK() *PutAPIKeyOfferOfferIDDenyOK
NewPutAPIKeyOfferOfferIDDenyOK creates a PutAPIKeyOfferOfferIDDenyOK with default headers values
func (*PutAPIKeyOfferOfferIDDenyOK) Code ¶
func (o *PutAPIKeyOfferOfferIDDenyOK) Code() int
Code gets the status code for the put Api key offer offer Id deny o k response
func (*PutAPIKeyOfferOfferIDDenyOK) Error ¶
func (o *PutAPIKeyOfferOfferIDDenyOK) Error() string
func (*PutAPIKeyOfferOfferIDDenyOK) GetPayload ¶
func (o *PutAPIKeyOfferOfferIDDenyOK) GetPayload() *models.ResponseSuccessResponse
func (*PutAPIKeyOfferOfferIDDenyOK) IsClientError ¶
func (o *PutAPIKeyOfferOfferIDDenyOK) IsClientError() bool
IsClientError returns true when this put Api key offer offer Id deny o k response has a 4xx status code
func (*PutAPIKeyOfferOfferIDDenyOK) IsCode ¶
func (o *PutAPIKeyOfferOfferIDDenyOK) IsCode(code int) bool
IsCode returns true when this put Api key offer offer Id deny o k response a status code equal to that given
func (*PutAPIKeyOfferOfferIDDenyOK) IsRedirect ¶
func (o *PutAPIKeyOfferOfferIDDenyOK) IsRedirect() bool
IsRedirect returns true when this put Api key offer offer Id deny o k response has a 3xx status code
func (*PutAPIKeyOfferOfferIDDenyOK) IsServerError ¶
func (o *PutAPIKeyOfferOfferIDDenyOK) IsServerError() bool
IsServerError returns true when this put Api key offer offer Id deny o k response has a 5xx status code
func (*PutAPIKeyOfferOfferIDDenyOK) IsSuccess ¶
func (o *PutAPIKeyOfferOfferIDDenyOK) IsSuccess() bool
IsSuccess returns true when this put Api key offer offer Id deny o k response has a 2xx status code
func (*PutAPIKeyOfferOfferIDDenyOK) String ¶
func (o *PutAPIKeyOfferOfferIDDenyOK) String() string
type PutAPIKeyOfferOfferIDDenyParams ¶
type PutAPIKeyOfferOfferIDDenyParams struct {
/* OfferID.
offer_id
*/
OfferID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PutAPIKeyOfferOfferIDDenyParams contains all the parameters to send to the API endpoint
for the put API key offer offer ID deny operation. Typically these are written to a http.Request.
func NewPutAPIKeyOfferOfferIDDenyParams ¶
func NewPutAPIKeyOfferOfferIDDenyParams() *PutAPIKeyOfferOfferIDDenyParams
NewPutAPIKeyOfferOfferIDDenyParams creates a new PutAPIKeyOfferOfferIDDenyParams 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 NewPutAPIKeyOfferOfferIDDenyParamsWithContext ¶
func NewPutAPIKeyOfferOfferIDDenyParamsWithContext(ctx context.Context) *PutAPIKeyOfferOfferIDDenyParams
NewPutAPIKeyOfferOfferIDDenyParamsWithContext creates a new PutAPIKeyOfferOfferIDDenyParams object with the ability to set a context for a request.
func NewPutAPIKeyOfferOfferIDDenyParamsWithHTTPClient ¶
func NewPutAPIKeyOfferOfferIDDenyParamsWithHTTPClient(client *http.Client) *PutAPIKeyOfferOfferIDDenyParams
NewPutAPIKeyOfferOfferIDDenyParamsWithHTTPClient creates a new PutAPIKeyOfferOfferIDDenyParams object with the ability to set a custom HTTPClient for a request.
func NewPutAPIKeyOfferOfferIDDenyParamsWithTimeout ¶
func NewPutAPIKeyOfferOfferIDDenyParamsWithTimeout(timeout time.Duration) *PutAPIKeyOfferOfferIDDenyParams
NewPutAPIKeyOfferOfferIDDenyParamsWithTimeout creates a new PutAPIKeyOfferOfferIDDenyParams object with the ability to set a timeout on a request.
func (*PutAPIKeyOfferOfferIDDenyParams) SetContext ¶
func (o *PutAPIKeyOfferOfferIDDenyParams) SetContext(ctx context.Context)
SetContext adds the context to the put API key offer offer ID deny params
func (*PutAPIKeyOfferOfferIDDenyParams) SetDefaults ¶
func (o *PutAPIKeyOfferOfferIDDenyParams) SetDefaults()
SetDefaults hydrates default values in the put API key offer offer ID deny params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPIKeyOfferOfferIDDenyParams) SetHTTPClient ¶
func (o *PutAPIKeyOfferOfferIDDenyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put API key offer offer ID deny params
func (*PutAPIKeyOfferOfferIDDenyParams) SetOfferID ¶
func (o *PutAPIKeyOfferOfferIDDenyParams) SetOfferID(offerID string)
SetOfferID adds the offerId to the put API key offer offer ID deny params
func (*PutAPIKeyOfferOfferIDDenyParams) SetTimeout ¶
func (o *PutAPIKeyOfferOfferIDDenyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put API key offer offer ID deny params
func (*PutAPIKeyOfferOfferIDDenyParams) WithContext ¶
func (o *PutAPIKeyOfferOfferIDDenyParams) WithContext(ctx context.Context) *PutAPIKeyOfferOfferIDDenyParams
WithContext adds the context to the put API key offer offer ID deny params
func (*PutAPIKeyOfferOfferIDDenyParams) WithDefaults ¶
func (o *PutAPIKeyOfferOfferIDDenyParams) WithDefaults() *PutAPIKeyOfferOfferIDDenyParams
WithDefaults hydrates default values in the put API key offer offer ID deny params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPIKeyOfferOfferIDDenyParams) WithHTTPClient ¶
func (o *PutAPIKeyOfferOfferIDDenyParams) WithHTTPClient(client *http.Client) *PutAPIKeyOfferOfferIDDenyParams
WithHTTPClient adds the HTTPClient to the put API key offer offer ID deny params
func (*PutAPIKeyOfferOfferIDDenyParams) WithOfferID ¶
func (o *PutAPIKeyOfferOfferIDDenyParams) WithOfferID(offerID string) *PutAPIKeyOfferOfferIDDenyParams
WithOfferID adds the offerID to the put API key offer offer ID deny params
func (*PutAPIKeyOfferOfferIDDenyParams) WithTimeout ¶
func (o *PutAPIKeyOfferOfferIDDenyParams) WithTimeout(timeout time.Duration) *PutAPIKeyOfferOfferIDDenyParams
WithTimeout adds the timeout to the put API key offer offer ID deny params
func (*PutAPIKeyOfferOfferIDDenyParams) WriteToRequest ¶
func (o *PutAPIKeyOfferOfferIDDenyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutAPIKeyOfferOfferIDDenyReader ¶
type PutAPIKeyOfferOfferIDDenyReader struct {
// contains filtered or unexported fields
}
PutAPIKeyOfferOfferIDDenyReader is a Reader for the PutAPIKeyOfferOfferIDDeny structure.
func (*PutAPIKeyOfferOfferIDDenyReader) ReadResponse ¶
func (o *PutAPIKeyOfferOfferIDDenyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- api_key_offer_client.go
- delete_api_key_offer_offer_id_revoke_parameters.go
- delete_api_key_offer_offer_id_revoke_responses.go
- get_api_key_offer_offer_id_resend_parameters.go
- get_api_key_offer_offer_id_resend_responses.go
- post_api_key_offer_invite_parameters.go
- post_api_key_offer_invite_responses.go
- post_api_key_offer_join_parameters.go
- post_api_key_offer_join_responses.go
- put_api_key_offer_offer_id_accept_parameters.go
- put_api_key_offer_offer_id_accept_responses.go
- put_api_key_offer_offer_id_deny_parameters.go
- put_api_key_offer_offer_id_deny_responses.go