api_key_offer

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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

Code gets the status code for the delete Api key offer offer Id revoke bad request response

func (*DeleteAPIKeyOfferOfferIDRevokeBadRequest) Error

func (*DeleteAPIKeyOfferOfferIDRevokeBadRequest) GetPayload

func (*DeleteAPIKeyOfferOfferIDRevokeBadRequest) IsClientError

IsClientError returns true when this delete Api key offer offer Id revoke bad request response has a 4xx status code

func (*DeleteAPIKeyOfferOfferIDRevokeBadRequest) IsCode

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

IsRedirect returns true when this delete Api key offer offer Id revoke bad request response has a 3xx status code

func (*DeleteAPIKeyOfferOfferIDRevokeBadRequest) IsServerError

IsServerError returns true when this delete Api key offer offer Id revoke bad request response has a 5xx status code

func (*DeleteAPIKeyOfferOfferIDRevokeBadRequest) IsSuccess

IsSuccess returns true when this delete Api key offer offer Id revoke bad request response has a 2xx status code

func (*DeleteAPIKeyOfferOfferIDRevokeBadRequest) 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

Code gets the status code for the delete Api key offer offer Id revoke internal server error response

func (*DeleteAPIKeyOfferOfferIDRevokeInternalServerError) Error

func (*DeleteAPIKeyOfferOfferIDRevokeInternalServerError) GetPayload

func (*DeleteAPIKeyOfferOfferIDRevokeInternalServerError) IsClientError

IsClientError returns true when this delete Api key offer offer Id revoke internal server error response has a 4xx status code

func (*DeleteAPIKeyOfferOfferIDRevokeInternalServerError) IsCode

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

IsRedirect returns true when this delete Api key offer offer Id revoke internal server error response has a 3xx status code

func (*DeleteAPIKeyOfferOfferIDRevokeInternalServerError) IsServerError

IsServerError returns true when this delete Api key offer offer Id revoke internal server error response has a 5xx status code

func (*DeleteAPIKeyOfferOfferIDRevokeInternalServerError) IsSuccess

IsSuccess returns true when this delete Api key offer offer Id revoke internal server error response has a 2xx status code

func (*DeleteAPIKeyOfferOfferIDRevokeInternalServerError) 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

Code gets the status code for the delete Api key offer offer Id revoke o k response

func (*DeleteAPIKeyOfferOfferIDRevokeOK) Error

func (*DeleteAPIKeyOfferOfferIDRevokeOK) GetPayload

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

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

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

WithContext adds the context to the delete API key offer offer ID revoke params

func (*DeleteAPIKeyOfferOfferIDRevokeParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete API key offer offer ID revoke params

func (*DeleteAPIKeyOfferOfferIDRevokeParams) WithOfferID

WithOfferID adds the offerID to the delete API key offer offer ID revoke params

func (*DeleteAPIKeyOfferOfferIDRevokeParams) WithTimeout

WithTimeout adds the timeout to the delete API key offer offer ID revoke params

func (*DeleteAPIKeyOfferOfferIDRevokeParams) WriteToRequest

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

Code gets the status code for the get Api key offer offer Id resend bad request response

func (*GetAPIKeyOfferOfferIDResendBadRequest) Error

func (*GetAPIKeyOfferOfferIDResendBadRequest) GetPayload

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

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

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

IsSuccess returns true when this get Api key offer offer Id resend bad request response has a 2xx status code

func (*GetAPIKeyOfferOfferIDResendBadRequest) 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

Code gets the status code for the get Api key offer offer Id resend internal server error response

func (*GetAPIKeyOfferOfferIDResendInternalServerError) Error

func (*GetAPIKeyOfferOfferIDResendInternalServerError) GetPayload

func (*GetAPIKeyOfferOfferIDResendInternalServerError) IsClientError

IsClientError returns true when this get Api key offer offer Id resend internal server error response has a 4xx status code

func (*GetAPIKeyOfferOfferIDResendInternalServerError) IsCode

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

IsRedirect returns true when this get Api key offer offer Id resend internal server error response has a 3xx status code

func (*GetAPIKeyOfferOfferIDResendInternalServerError) IsServerError

IsServerError returns true when this get Api key offer offer Id resend internal server error response has a 5xx status code

func (*GetAPIKeyOfferOfferIDResendInternalServerError) IsSuccess

IsSuccess returns true when this get Api key offer offer Id resend internal server error response has a 2xx status code

func (*GetAPIKeyOfferOfferIDResendInternalServerError) 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

Code gets the status code for the get Api key offer offer Id resend o k response

func (*GetAPIKeyOfferOfferIDResendOK) Error

func (*GetAPIKeyOfferOfferIDResendOK) GetPayload

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

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

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

WithContext adds the context to the get API key offer offer ID resend params

func (*GetAPIKeyOfferOfferIDResendParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get API key offer offer ID resend params

func (*GetAPIKeyOfferOfferIDResendParams) WithOfferID

WithOfferID adds the offerID to the get API key offer offer ID resend params

func (*GetAPIKeyOfferOfferIDResendParams) WithTimeout

WithTimeout adds the timeout to the get API key offer offer ID resend params

func (*GetAPIKeyOfferOfferIDResendParams) WriteToRequest

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

Code gets the status code for the post Api key offer invite bad request response

func (*PostAPIKeyOfferInviteBadRequest) Error

func (*PostAPIKeyOfferInviteBadRequest) GetPayload

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

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

Code gets the status code for the post Api key offer invite created response

func (*PostAPIKeyOfferInviteCreated) Error

func (*PostAPIKeyOfferInviteCreated) GetPayload

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

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

Code gets the status code for the post Api key offer invite internal server error response

func (*PostAPIKeyOfferInviteInternalServerError) Error

func (*PostAPIKeyOfferInviteInternalServerError) GetPayload

func (*PostAPIKeyOfferInviteInternalServerError) IsClientError

IsClientError returns true when this post Api key offer invite internal server error response has a 4xx status code

func (*PostAPIKeyOfferInviteInternalServerError) IsCode

IsCode returns true when this post Api key offer invite internal server error response a status code equal to that given

func (*PostAPIKeyOfferInviteInternalServerError) IsRedirect

IsRedirect returns true when this post Api key offer invite internal server error response has a 3xx status code

func (*PostAPIKeyOfferInviteInternalServerError) IsServerError

IsServerError returns true when this post Api key offer invite internal server error response has a 5xx status code

func (*PostAPIKeyOfferInviteInternalServerError) IsSuccess

IsSuccess returns true when this post Api key offer invite internal server error response has a 2xx status code

func (*PostAPIKeyOfferInviteInternalServerError) 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

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

WithContext adds the context to the post API key offer invite params

func (*PostAPIKeyOfferInviteParams) WithData

WithData adds the data to the post API key offer invite params

func (*PostAPIKeyOfferInviteParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the post API key offer invite params

func (*PostAPIKeyOfferInviteParams) WithTimeout

WithTimeout adds the timeout to the post API key offer invite params

func (*PostAPIKeyOfferInviteParams) WriteToRequest

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

Code gets the status code for the post Api key offer join bad request response

func (*PostAPIKeyOfferJoinBadRequest) Error

func (*PostAPIKeyOfferJoinBadRequest) GetPayload

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

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

Code gets the status code for the post Api key offer join internal server error response

func (*PostAPIKeyOfferJoinInternalServerError) Error

func (*PostAPIKeyOfferJoinInternalServerError) GetPayload

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

IsCode returns true when this post Api key offer join internal server error response a status code equal to that given

func (*PostAPIKeyOfferJoinInternalServerError) IsRedirect

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

IsSuccess returns true when this post Api key offer join internal server error response has a 2xx status code

func (*PostAPIKeyOfferJoinInternalServerError) 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 (*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

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

WithContext adds the context to the post API key offer join params

func (*PostAPIKeyOfferJoinParams) WithData

WithData adds the data to the post API key offer join params

func (*PostAPIKeyOfferJoinParams) WithDefaults

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

WithTimeout adds the timeout to the post API key offer join params

func (*PostAPIKeyOfferJoinParams) WriteToRequest

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

Code gets the status code for the put Api key offer offer Id accept bad request response

func (*PutAPIKeyOfferOfferIDAcceptBadRequest) Error

func (*PutAPIKeyOfferOfferIDAcceptBadRequest) GetPayload

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

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

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

IsSuccess returns true when this put Api key offer offer Id accept bad request response has a 2xx status code

func (*PutAPIKeyOfferOfferIDAcceptBadRequest) 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

Code gets the status code for the put Api key offer offer Id accept internal server error response

func (*PutAPIKeyOfferOfferIDAcceptInternalServerError) Error

func (*PutAPIKeyOfferOfferIDAcceptInternalServerError) GetPayload

func (*PutAPIKeyOfferOfferIDAcceptInternalServerError) IsClientError

IsClientError returns true when this put Api key offer offer Id accept internal server error response has a 4xx status code

func (*PutAPIKeyOfferOfferIDAcceptInternalServerError) IsCode

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

IsRedirect returns true when this put Api key offer offer Id accept internal server error response has a 3xx status code

func (*PutAPIKeyOfferOfferIDAcceptInternalServerError) IsServerError

IsServerError returns true when this put Api key offer offer Id accept internal server error response has a 5xx status code

func (*PutAPIKeyOfferOfferIDAcceptInternalServerError) IsSuccess

IsSuccess returns true when this put Api key offer offer Id accept internal server error response has a 2xx status code

func (*PutAPIKeyOfferOfferIDAcceptInternalServerError) 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

Code gets the status code for the put Api key offer offer Id accept o k response

func (*PutAPIKeyOfferOfferIDAcceptOK) Error

func (*PutAPIKeyOfferOfferIDAcceptOK) GetPayload

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

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

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

WithContext adds the context to the put API key offer offer ID accept params

func (*PutAPIKeyOfferOfferIDAcceptParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the put API key offer offer ID accept params

func (*PutAPIKeyOfferOfferIDAcceptParams) WithOfferID

WithOfferID adds the offerID to the put API key offer offer ID accept params

func (*PutAPIKeyOfferOfferIDAcceptParams) WithTimeout

WithTimeout adds the timeout to the put API key offer offer ID accept params

func (*PutAPIKeyOfferOfferIDAcceptParams) WriteToRequest

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

Code gets the status code for the put Api key offer offer Id deny bad request response

func (*PutAPIKeyOfferOfferIDDenyBadRequest) Error

func (*PutAPIKeyOfferOfferIDDenyBadRequest) GetPayload

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

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

IsSuccess returns true when this put Api key offer offer Id deny bad request response has a 2xx status code

func (*PutAPIKeyOfferOfferIDDenyBadRequest) 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

Code gets the status code for the put Api key offer offer Id deny internal server error response

func (*PutAPIKeyOfferOfferIDDenyInternalServerError) Error

func (*PutAPIKeyOfferOfferIDDenyInternalServerError) GetPayload

func (*PutAPIKeyOfferOfferIDDenyInternalServerError) IsClientError

IsClientError returns true when this put Api key offer offer Id deny internal server error response has a 4xx status code

func (*PutAPIKeyOfferOfferIDDenyInternalServerError) IsCode

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

IsRedirect returns true when this put Api key offer offer Id deny internal server error response has a 3xx status code

func (*PutAPIKeyOfferOfferIDDenyInternalServerError) IsServerError

IsServerError returns true when this put Api key offer offer Id deny internal server error response has a 5xx status code

func (*PutAPIKeyOfferOfferIDDenyInternalServerError) IsSuccess

IsSuccess returns true when this put Api key offer offer Id deny internal server error response has a 2xx status code

func (*PutAPIKeyOfferOfferIDDenyInternalServerError) 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 (*PutAPIKeyOfferOfferIDDenyOK) GetPayload

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

WithContext adds the context to the put API key offer offer ID deny params

func (*PutAPIKeyOfferOfferIDDenyParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the put API key offer offer ID deny params

func (*PutAPIKeyOfferOfferIDDenyParams) WithOfferID

WithOfferID adds the offerID to the put API key offer offer ID deny params

func (*PutAPIKeyOfferOfferIDDenyParams) WithTimeout

WithTimeout adds the timeout to the put API key offer offer ID deny params

func (*PutAPIKeyOfferOfferIDDenyParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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