api_key_package

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 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 package API

func (*Client) GetAPIKeyPackageID

func (a *Client) GetAPIKeyPackageID(params *GetAPIKeyPackageIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyPackageIDOK, error)

GetAPIKeyPackageID gets Api package by Api key

func (*Client) PostAPIKeyPackageAPIBuy

func (a *Client) PostAPIKeyPackageAPIBuy(params *PostAPIKeyPackageAPIBuyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyPackageAPIBuyOK, error)

PostAPIKeyPackageAPIBuy buys Api key package by Api key

func (*Client) PostAPIKeyPackageBuyCost

func (a *Client) PostAPIKeyPackageBuyCost(params *PostAPIKeyPackageBuyCostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyPackageBuyCostOK, error)

PostAPIKeyPackageBuyCost calculates cost to buy package by Api key

func (*Client) PostAPIKeyPackageMasterBuyCost

func (a *Client) PostAPIKeyPackageMasterBuyCost(params *PostAPIKeyPackageMasterBuyCostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyPackageMasterBuyCostOK, error)

PostAPIKeyPackageMasterBuyCost calculates cost to buy master package by Api key

func (*Client) PostAPIKeyPackagePlaygroundBuy

func (a *Client) PostAPIKeyPackagePlaygroundBuy(params *PostAPIKeyPackagePlaygroundBuyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyPackagePlaygroundBuyOK, error)

PostAPIKeyPackagePlaygroundBuy unlocks playground package 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 {
	GetAPIKeyPackageID(params *GetAPIKeyPackageIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyPackageIDOK, error)

	PostAPIKeyPackageAPIBuy(params *PostAPIKeyPackageAPIBuyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyPackageAPIBuyOK, error)

	PostAPIKeyPackageBuyCost(params *PostAPIKeyPackageBuyCostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyPackageBuyCostOK, error)

	PostAPIKeyPackageMasterBuyCost(params *PostAPIKeyPackageMasterBuyCostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyPackageMasterBuyCostOK, error)

	PostAPIKeyPackagePlaygroundBuy(params *PostAPIKeyPackagePlaygroundBuyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyPackagePlaygroundBuyOK, 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 package API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new api key package 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 package 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 GetAPIKeyPackageIDBadRequest

type GetAPIKeyPackageIDBadRequest struct {
	Payload *models.ResponseFailResponse
}

GetAPIKeyPackageIDBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetAPIKeyPackageIDBadRequest

func NewGetAPIKeyPackageIDBadRequest() *GetAPIKeyPackageIDBadRequest

NewGetAPIKeyPackageIDBadRequest creates a GetAPIKeyPackageIDBadRequest with default headers values

func (*GetAPIKeyPackageIDBadRequest) Code

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

func (*GetAPIKeyPackageIDBadRequest) Error

func (*GetAPIKeyPackageIDBadRequest) GetPayload

func (*GetAPIKeyPackageIDBadRequest) IsClientError

func (o *GetAPIKeyPackageIDBadRequest) IsClientError() bool

IsClientError returns true when this get Api key package Id bad request response has a 4xx status code

func (*GetAPIKeyPackageIDBadRequest) IsCode

func (o *GetAPIKeyPackageIDBadRequest) IsCode(code int) bool

IsCode returns true when this get Api key package Id bad request response a status code equal to that given

func (*GetAPIKeyPackageIDBadRequest) IsRedirect

func (o *GetAPIKeyPackageIDBadRequest) IsRedirect() bool

IsRedirect returns true when this get Api key package Id bad request response has a 3xx status code

func (*GetAPIKeyPackageIDBadRequest) IsServerError

func (o *GetAPIKeyPackageIDBadRequest) IsServerError() bool

IsServerError returns true when this get Api key package Id bad request response has a 5xx status code

func (*GetAPIKeyPackageIDBadRequest) IsSuccess

func (o *GetAPIKeyPackageIDBadRequest) IsSuccess() bool

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

func (*GetAPIKeyPackageIDBadRequest) String

type GetAPIKeyPackageIDInternalServerError

type GetAPIKeyPackageIDInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

GetAPIKeyPackageIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAPIKeyPackageIDInternalServerError

func NewGetAPIKeyPackageIDInternalServerError() *GetAPIKeyPackageIDInternalServerError

NewGetAPIKeyPackageIDInternalServerError creates a GetAPIKeyPackageIDInternalServerError with default headers values

func (*GetAPIKeyPackageIDInternalServerError) Code

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

func (*GetAPIKeyPackageIDInternalServerError) Error

func (*GetAPIKeyPackageIDInternalServerError) GetPayload

func (*GetAPIKeyPackageIDInternalServerError) IsClientError

func (o *GetAPIKeyPackageIDInternalServerError) IsClientError() bool

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

func (*GetAPIKeyPackageIDInternalServerError) IsCode

IsCode returns true when this get Api key package Id internal server error response a status code equal to that given

func (*GetAPIKeyPackageIDInternalServerError) IsRedirect

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

func (*GetAPIKeyPackageIDInternalServerError) IsServerError

func (o *GetAPIKeyPackageIDInternalServerError) IsServerError() bool

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

func (*GetAPIKeyPackageIDInternalServerError) IsSuccess

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

func (*GetAPIKeyPackageIDInternalServerError) String

type GetAPIKeyPackageIDOK

type GetAPIKeyPackageIDOK struct {
	Payload *models.ResponseAPIPackageResponse
}

GetAPIKeyPackageIDOK describes a response with status code 200, with default header values.

OK

func NewGetAPIKeyPackageIDOK

func NewGetAPIKeyPackageIDOK() *GetAPIKeyPackageIDOK

NewGetAPIKeyPackageIDOK creates a GetAPIKeyPackageIDOK with default headers values

func (*GetAPIKeyPackageIDOK) Code

func (o *GetAPIKeyPackageIDOK) Code() int

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

func (*GetAPIKeyPackageIDOK) Error

func (o *GetAPIKeyPackageIDOK) Error() string

func (*GetAPIKeyPackageIDOK) GetPayload

func (*GetAPIKeyPackageIDOK) IsClientError

func (o *GetAPIKeyPackageIDOK) IsClientError() bool

IsClientError returns true when this get Api key package Id o k response has a 4xx status code

func (*GetAPIKeyPackageIDOK) IsCode

func (o *GetAPIKeyPackageIDOK) IsCode(code int) bool

IsCode returns true when this get Api key package Id o k response a status code equal to that given

func (*GetAPIKeyPackageIDOK) IsRedirect

func (o *GetAPIKeyPackageIDOK) IsRedirect() bool

IsRedirect returns true when this get Api key package Id o k response has a 3xx status code

func (*GetAPIKeyPackageIDOK) IsServerError

func (o *GetAPIKeyPackageIDOK) IsServerError() bool

IsServerError returns true when this get Api key package Id o k response has a 5xx status code

func (*GetAPIKeyPackageIDOK) IsSuccess

func (o *GetAPIKeyPackageIDOK) IsSuccess() bool

IsSuccess returns true when this get Api key package Id o k response has a 2xx status code

func (*GetAPIKeyPackageIDOK) String

func (o *GetAPIKeyPackageIDOK) String() string

type GetAPIKeyPackageIDParams

type GetAPIKeyPackageIDParams struct {

	/* ID.

	   ApiPackage's id
	*/
	ID string

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

GetAPIKeyPackageIDParams contains all the parameters to send to the API endpoint

for the get API key package ID operation.

Typically these are written to a http.Request.

func NewGetAPIKeyPackageIDParams

func NewGetAPIKeyPackageIDParams() *GetAPIKeyPackageIDParams

NewGetAPIKeyPackageIDParams creates a new GetAPIKeyPackageIDParams 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 NewGetAPIKeyPackageIDParamsWithContext

func NewGetAPIKeyPackageIDParamsWithContext(ctx context.Context) *GetAPIKeyPackageIDParams

NewGetAPIKeyPackageIDParamsWithContext creates a new GetAPIKeyPackageIDParams object with the ability to set a context for a request.

func NewGetAPIKeyPackageIDParamsWithHTTPClient

func NewGetAPIKeyPackageIDParamsWithHTTPClient(client *http.Client) *GetAPIKeyPackageIDParams

NewGetAPIKeyPackageIDParamsWithHTTPClient creates a new GetAPIKeyPackageIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIKeyPackageIDParamsWithTimeout

func NewGetAPIKeyPackageIDParamsWithTimeout(timeout time.Duration) *GetAPIKeyPackageIDParams

NewGetAPIKeyPackageIDParamsWithTimeout creates a new GetAPIKeyPackageIDParams object with the ability to set a timeout on a request.

func (*GetAPIKeyPackageIDParams) SetContext

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

SetContext adds the context to the get API key package ID params

func (*GetAPIKeyPackageIDParams) SetDefaults

func (o *GetAPIKeyPackageIDParams) SetDefaults()

SetDefaults hydrates default values in the get API key package ID params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIKeyPackageIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API key package ID params

func (*GetAPIKeyPackageIDParams) SetID

func (o *GetAPIKeyPackageIDParams) SetID(id string)

SetID adds the id to the get API key package ID params

func (*GetAPIKeyPackageIDParams) SetTimeout

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

SetTimeout adds the timeout to the get API key package ID params

func (*GetAPIKeyPackageIDParams) WithContext

WithContext adds the context to the get API key package ID params

func (*GetAPIKeyPackageIDParams) WithDefaults

WithDefaults hydrates default values in the get API key package ID params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIKeyPackageIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get API key package ID params

func (*GetAPIKeyPackageIDParams) WithID

WithID adds the id to the get API key package ID params

func (*GetAPIKeyPackageIDParams) WithTimeout

WithTimeout adds the timeout to the get API key package ID params

func (*GetAPIKeyPackageIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIKeyPackageIDReader

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

GetAPIKeyPackageIDReader is a Reader for the GetAPIKeyPackageID structure.

func (*GetAPIKeyPackageIDReader) ReadResponse

func (o *GetAPIKeyPackageIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PostAPIKeyPackageAPIBuyBadRequest

type PostAPIKeyPackageAPIBuyBadRequest struct {
	Payload *models.ResponseFailResponse
}

PostAPIKeyPackageAPIBuyBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostAPIKeyPackageAPIBuyBadRequest

func NewPostAPIKeyPackageAPIBuyBadRequest() *PostAPIKeyPackageAPIBuyBadRequest

NewPostAPIKeyPackageAPIBuyBadRequest creates a PostAPIKeyPackageAPIBuyBadRequest with default headers values

func (*PostAPIKeyPackageAPIBuyBadRequest) Code

Code gets the status code for the post Api key package Api buy bad request response

func (*PostAPIKeyPackageAPIBuyBadRequest) Error

func (*PostAPIKeyPackageAPIBuyBadRequest) GetPayload

func (*PostAPIKeyPackageAPIBuyBadRequest) IsClientError

func (o *PostAPIKeyPackageAPIBuyBadRequest) IsClientError() bool

IsClientError returns true when this post Api key package Api buy bad request response has a 4xx status code

func (*PostAPIKeyPackageAPIBuyBadRequest) IsCode

func (o *PostAPIKeyPackageAPIBuyBadRequest) IsCode(code int) bool

IsCode returns true when this post Api key package Api buy bad request response a status code equal to that given

func (*PostAPIKeyPackageAPIBuyBadRequest) IsRedirect

func (o *PostAPIKeyPackageAPIBuyBadRequest) IsRedirect() bool

IsRedirect returns true when this post Api key package Api buy bad request response has a 3xx status code

func (*PostAPIKeyPackageAPIBuyBadRequest) IsServerError

func (o *PostAPIKeyPackageAPIBuyBadRequest) IsServerError() bool

IsServerError returns true when this post Api key package Api buy bad request response has a 5xx status code

func (*PostAPIKeyPackageAPIBuyBadRequest) IsSuccess

func (o *PostAPIKeyPackageAPIBuyBadRequest) IsSuccess() bool

IsSuccess returns true when this post Api key package Api buy bad request response has a 2xx status code

func (*PostAPIKeyPackageAPIBuyBadRequest) String

type PostAPIKeyPackageAPIBuyInternalServerError

type PostAPIKeyPackageAPIBuyInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

PostAPIKeyPackageAPIBuyInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostAPIKeyPackageAPIBuyInternalServerError

func NewPostAPIKeyPackageAPIBuyInternalServerError() *PostAPIKeyPackageAPIBuyInternalServerError

NewPostAPIKeyPackageAPIBuyInternalServerError creates a PostAPIKeyPackageAPIBuyInternalServerError with default headers values

func (*PostAPIKeyPackageAPIBuyInternalServerError) Code

Code gets the status code for the post Api key package Api buy internal server error response

func (*PostAPIKeyPackageAPIBuyInternalServerError) Error

func (*PostAPIKeyPackageAPIBuyInternalServerError) GetPayload

func (*PostAPIKeyPackageAPIBuyInternalServerError) IsClientError

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

func (*PostAPIKeyPackageAPIBuyInternalServerError) IsCode

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

func (*PostAPIKeyPackageAPIBuyInternalServerError) IsRedirect

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

func (*PostAPIKeyPackageAPIBuyInternalServerError) IsServerError

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

func (*PostAPIKeyPackageAPIBuyInternalServerError) IsSuccess

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

func (*PostAPIKeyPackageAPIBuyInternalServerError) String

type PostAPIKeyPackageAPIBuyOK

type PostAPIKeyPackageAPIBuyOK struct {
	Payload *models.ResponseAPIPackageResponse
}

PostAPIKeyPackageAPIBuyOK describes a response with status code 200, with default header values.

OK

func NewPostAPIKeyPackageAPIBuyOK

func NewPostAPIKeyPackageAPIBuyOK() *PostAPIKeyPackageAPIBuyOK

NewPostAPIKeyPackageAPIBuyOK creates a PostAPIKeyPackageAPIBuyOK with default headers values

func (*PostAPIKeyPackageAPIBuyOK) Code

func (o *PostAPIKeyPackageAPIBuyOK) Code() int

Code gets the status code for the post Api key package Api buy o k response

func (*PostAPIKeyPackageAPIBuyOK) Error

func (o *PostAPIKeyPackageAPIBuyOK) Error() string

func (*PostAPIKeyPackageAPIBuyOK) GetPayload

func (*PostAPIKeyPackageAPIBuyOK) IsClientError

func (o *PostAPIKeyPackageAPIBuyOK) IsClientError() bool

IsClientError returns true when this post Api key package Api buy o k response has a 4xx status code

func (*PostAPIKeyPackageAPIBuyOK) IsCode

func (o *PostAPIKeyPackageAPIBuyOK) IsCode(code int) bool

IsCode returns true when this post Api key package Api buy o k response a status code equal to that given

func (*PostAPIKeyPackageAPIBuyOK) IsRedirect

func (o *PostAPIKeyPackageAPIBuyOK) IsRedirect() bool

IsRedirect returns true when this post Api key package Api buy o k response has a 3xx status code

func (*PostAPIKeyPackageAPIBuyOK) IsServerError

func (o *PostAPIKeyPackageAPIBuyOK) IsServerError() bool

IsServerError returns true when this post Api key package Api buy o k response has a 5xx status code

func (*PostAPIKeyPackageAPIBuyOK) IsSuccess

func (o *PostAPIKeyPackageAPIBuyOK) IsSuccess() bool

IsSuccess returns true when this post Api key package Api buy o k response has a 2xx status code

func (*PostAPIKeyPackageAPIBuyOK) String

func (o *PostAPIKeyPackageAPIBuyOK) String() string

type PostAPIKeyPackageAPIBuyParams

type PostAPIKeyPackageAPIBuyParams struct {

	/* Input.

	   Buy Api Key Package Request
	*/
	Input *models.RequestBuyAPIKeyPackageRequest

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

PostAPIKeyPackageAPIBuyParams contains all the parameters to send to the API endpoint

for the post API key package API buy operation.

Typically these are written to a http.Request.

func NewPostAPIKeyPackageAPIBuyParams

func NewPostAPIKeyPackageAPIBuyParams() *PostAPIKeyPackageAPIBuyParams

NewPostAPIKeyPackageAPIBuyParams creates a new PostAPIKeyPackageAPIBuyParams 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 NewPostAPIKeyPackageAPIBuyParamsWithContext

func NewPostAPIKeyPackageAPIBuyParamsWithContext(ctx context.Context) *PostAPIKeyPackageAPIBuyParams

NewPostAPIKeyPackageAPIBuyParamsWithContext creates a new PostAPIKeyPackageAPIBuyParams object with the ability to set a context for a request.

func NewPostAPIKeyPackageAPIBuyParamsWithHTTPClient

func NewPostAPIKeyPackageAPIBuyParamsWithHTTPClient(client *http.Client) *PostAPIKeyPackageAPIBuyParams

NewPostAPIKeyPackageAPIBuyParamsWithHTTPClient creates a new PostAPIKeyPackageAPIBuyParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIKeyPackageAPIBuyParamsWithTimeout

func NewPostAPIKeyPackageAPIBuyParamsWithTimeout(timeout time.Duration) *PostAPIKeyPackageAPIBuyParams

NewPostAPIKeyPackageAPIBuyParamsWithTimeout creates a new PostAPIKeyPackageAPIBuyParams object with the ability to set a timeout on a request.

func (*PostAPIKeyPackageAPIBuyParams) SetContext

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

SetContext adds the context to the post API key package API buy params

func (*PostAPIKeyPackageAPIBuyParams) SetDefaults

func (o *PostAPIKeyPackageAPIBuyParams) SetDefaults()

SetDefaults hydrates default values in the post API key package API buy params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIKeyPackageAPIBuyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API key package API buy params

func (*PostAPIKeyPackageAPIBuyParams) SetInput

SetInput adds the input to the post API key package API buy params

func (*PostAPIKeyPackageAPIBuyParams) SetTimeout

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

SetTimeout adds the timeout to the post API key package API buy params

func (*PostAPIKeyPackageAPIBuyParams) WithContext

WithContext adds the context to the post API key package API buy params

func (*PostAPIKeyPackageAPIBuyParams) WithDefaults

WithDefaults hydrates default values in the post API key package API buy params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIKeyPackageAPIBuyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API key package API buy params

func (*PostAPIKeyPackageAPIBuyParams) WithInput

WithInput adds the input to the post API key package API buy params

func (*PostAPIKeyPackageAPIBuyParams) WithTimeout

WithTimeout adds the timeout to the post API key package API buy params

func (*PostAPIKeyPackageAPIBuyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPIKeyPackageAPIBuyReader

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

PostAPIKeyPackageAPIBuyReader is a Reader for the PostAPIKeyPackageAPIBuy structure.

func (*PostAPIKeyPackageAPIBuyReader) ReadResponse

func (o *PostAPIKeyPackageAPIBuyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PostAPIKeyPackageBuyCostBadRequest

type PostAPIKeyPackageBuyCostBadRequest struct {
	Payload *models.ResponseFailResponse
}

PostAPIKeyPackageBuyCostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostAPIKeyPackageBuyCostBadRequest

func NewPostAPIKeyPackageBuyCostBadRequest() *PostAPIKeyPackageBuyCostBadRequest

NewPostAPIKeyPackageBuyCostBadRequest creates a PostAPIKeyPackageBuyCostBadRequest with default headers values

func (*PostAPIKeyPackageBuyCostBadRequest) Code

Code gets the status code for the post Api key package buy cost bad request response

func (*PostAPIKeyPackageBuyCostBadRequest) Error

func (*PostAPIKeyPackageBuyCostBadRequest) GetPayload

func (*PostAPIKeyPackageBuyCostBadRequest) IsClientError

func (o *PostAPIKeyPackageBuyCostBadRequest) IsClientError() bool

IsClientError returns true when this post Api key package buy cost bad request response has a 4xx status code

func (*PostAPIKeyPackageBuyCostBadRequest) IsCode

IsCode returns true when this post Api key package buy cost bad request response a status code equal to that given

func (*PostAPIKeyPackageBuyCostBadRequest) IsRedirect

func (o *PostAPIKeyPackageBuyCostBadRequest) IsRedirect() bool

IsRedirect returns true when this post Api key package buy cost bad request response has a 3xx status code

func (*PostAPIKeyPackageBuyCostBadRequest) IsServerError

func (o *PostAPIKeyPackageBuyCostBadRequest) IsServerError() bool

IsServerError returns true when this post Api key package buy cost bad request response has a 5xx status code

func (*PostAPIKeyPackageBuyCostBadRequest) IsSuccess

IsSuccess returns true when this post Api key package buy cost bad request response has a 2xx status code

func (*PostAPIKeyPackageBuyCostBadRequest) String

type PostAPIKeyPackageBuyCostInternalServerError

type PostAPIKeyPackageBuyCostInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

PostAPIKeyPackageBuyCostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostAPIKeyPackageBuyCostInternalServerError

func NewPostAPIKeyPackageBuyCostInternalServerError() *PostAPIKeyPackageBuyCostInternalServerError

NewPostAPIKeyPackageBuyCostInternalServerError creates a PostAPIKeyPackageBuyCostInternalServerError with default headers values

func (*PostAPIKeyPackageBuyCostInternalServerError) Code

Code gets the status code for the post Api key package buy cost internal server error response

func (*PostAPIKeyPackageBuyCostInternalServerError) Error

func (*PostAPIKeyPackageBuyCostInternalServerError) GetPayload

func (*PostAPIKeyPackageBuyCostInternalServerError) IsClientError

IsClientError returns true when this post Api key package buy cost internal server error response has a 4xx status code

func (*PostAPIKeyPackageBuyCostInternalServerError) IsCode

IsCode returns true when this post Api key package buy cost internal server error response a status code equal to that given

func (*PostAPIKeyPackageBuyCostInternalServerError) IsRedirect

IsRedirect returns true when this post Api key package buy cost internal server error response has a 3xx status code

func (*PostAPIKeyPackageBuyCostInternalServerError) IsServerError

IsServerError returns true when this post Api key package buy cost internal server error response has a 5xx status code

func (*PostAPIKeyPackageBuyCostInternalServerError) IsSuccess

IsSuccess returns true when this post Api key package buy cost internal server error response has a 2xx status code

func (*PostAPIKeyPackageBuyCostInternalServerError) String

type PostAPIKeyPackageBuyCostOK

type PostAPIKeyPackageBuyCostOK struct {
	Payload *models.ResponseEstimateCostResponse
}

PostAPIKeyPackageBuyCostOK describes a response with status code 200, with default header values.

OK

func NewPostAPIKeyPackageBuyCostOK

func NewPostAPIKeyPackageBuyCostOK() *PostAPIKeyPackageBuyCostOK

NewPostAPIKeyPackageBuyCostOK creates a PostAPIKeyPackageBuyCostOK with default headers values

func (*PostAPIKeyPackageBuyCostOK) Code

func (o *PostAPIKeyPackageBuyCostOK) Code() int

Code gets the status code for the post Api key package buy cost o k response

func (*PostAPIKeyPackageBuyCostOK) Error

func (*PostAPIKeyPackageBuyCostOK) GetPayload

func (*PostAPIKeyPackageBuyCostOK) IsClientError

func (o *PostAPIKeyPackageBuyCostOK) IsClientError() bool

IsClientError returns true when this post Api key package buy cost o k response has a 4xx status code

func (*PostAPIKeyPackageBuyCostOK) IsCode

func (o *PostAPIKeyPackageBuyCostOK) IsCode(code int) bool

IsCode returns true when this post Api key package buy cost o k response a status code equal to that given

func (*PostAPIKeyPackageBuyCostOK) IsRedirect

func (o *PostAPIKeyPackageBuyCostOK) IsRedirect() bool

IsRedirect returns true when this post Api key package buy cost o k response has a 3xx status code

func (*PostAPIKeyPackageBuyCostOK) IsServerError

func (o *PostAPIKeyPackageBuyCostOK) IsServerError() bool

IsServerError returns true when this post Api key package buy cost o k response has a 5xx status code

func (*PostAPIKeyPackageBuyCostOK) IsSuccess

func (o *PostAPIKeyPackageBuyCostOK) IsSuccess() bool

IsSuccess returns true when this post Api key package buy cost o k response has a 2xx status code

func (*PostAPIKeyPackageBuyCostOK) String

func (o *PostAPIKeyPackageBuyCostOK) String() string

type PostAPIKeyPackageBuyCostParams

type PostAPIKeyPackageBuyCostParams struct {

	/* Input.

	   Buy Playground Package Request
	*/
	Input *models.RequestBuyPlaygroundPackageRequest

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

PostAPIKeyPackageBuyCostParams contains all the parameters to send to the API endpoint

for the post API key package buy cost operation.

Typically these are written to a http.Request.

func NewPostAPIKeyPackageBuyCostParams

func NewPostAPIKeyPackageBuyCostParams() *PostAPIKeyPackageBuyCostParams

NewPostAPIKeyPackageBuyCostParams creates a new PostAPIKeyPackageBuyCostParams 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 NewPostAPIKeyPackageBuyCostParamsWithContext

func NewPostAPIKeyPackageBuyCostParamsWithContext(ctx context.Context) *PostAPIKeyPackageBuyCostParams

NewPostAPIKeyPackageBuyCostParamsWithContext creates a new PostAPIKeyPackageBuyCostParams object with the ability to set a context for a request.

func NewPostAPIKeyPackageBuyCostParamsWithHTTPClient

func NewPostAPIKeyPackageBuyCostParamsWithHTTPClient(client *http.Client) *PostAPIKeyPackageBuyCostParams

NewPostAPIKeyPackageBuyCostParamsWithHTTPClient creates a new PostAPIKeyPackageBuyCostParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIKeyPackageBuyCostParamsWithTimeout

func NewPostAPIKeyPackageBuyCostParamsWithTimeout(timeout time.Duration) *PostAPIKeyPackageBuyCostParams

NewPostAPIKeyPackageBuyCostParamsWithTimeout creates a new PostAPIKeyPackageBuyCostParams object with the ability to set a timeout on a request.

func (*PostAPIKeyPackageBuyCostParams) SetContext

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

SetContext adds the context to the post API key package buy cost params

func (*PostAPIKeyPackageBuyCostParams) SetDefaults

func (o *PostAPIKeyPackageBuyCostParams) SetDefaults()

SetDefaults hydrates default values in the post API key package buy cost params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIKeyPackageBuyCostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API key package buy cost params

func (*PostAPIKeyPackageBuyCostParams) SetInput

SetInput adds the input to the post API key package buy cost params

func (*PostAPIKeyPackageBuyCostParams) SetTimeout

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

SetTimeout adds the timeout to the post API key package buy cost params

func (*PostAPIKeyPackageBuyCostParams) WithContext

WithContext adds the context to the post API key package buy cost params

func (*PostAPIKeyPackageBuyCostParams) WithDefaults

WithDefaults hydrates default values in the post API key package buy cost params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIKeyPackageBuyCostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API key package buy cost params

func (*PostAPIKeyPackageBuyCostParams) WithInput

WithInput adds the input to the post API key package buy cost params

func (*PostAPIKeyPackageBuyCostParams) WithTimeout

WithTimeout adds the timeout to the post API key package buy cost params

func (*PostAPIKeyPackageBuyCostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPIKeyPackageBuyCostReader

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

PostAPIKeyPackageBuyCostReader is a Reader for the PostAPIKeyPackageBuyCost structure.

func (*PostAPIKeyPackageBuyCostReader) ReadResponse

func (o *PostAPIKeyPackageBuyCostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PostAPIKeyPackageMasterBuyCostBadRequest

type PostAPIKeyPackageMasterBuyCostBadRequest struct {
	Payload *models.ResponseFailResponse
}

PostAPIKeyPackageMasterBuyCostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostAPIKeyPackageMasterBuyCostBadRequest

func NewPostAPIKeyPackageMasterBuyCostBadRequest() *PostAPIKeyPackageMasterBuyCostBadRequest

NewPostAPIKeyPackageMasterBuyCostBadRequest creates a PostAPIKeyPackageMasterBuyCostBadRequest with default headers values

func (*PostAPIKeyPackageMasterBuyCostBadRequest) Code

Code gets the status code for the post Api key package master buy cost bad request response

func (*PostAPIKeyPackageMasterBuyCostBadRequest) Error

func (*PostAPIKeyPackageMasterBuyCostBadRequest) GetPayload

func (*PostAPIKeyPackageMasterBuyCostBadRequest) IsClientError

IsClientError returns true when this post Api key package master buy cost bad request response has a 4xx status code

func (*PostAPIKeyPackageMasterBuyCostBadRequest) IsCode

IsCode returns true when this post Api key package master buy cost bad request response a status code equal to that given

func (*PostAPIKeyPackageMasterBuyCostBadRequest) IsRedirect

IsRedirect returns true when this post Api key package master buy cost bad request response has a 3xx status code

func (*PostAPIKeyPackageMasterBuyCostBadRequest) IsServerError

IsServerError returns true when this post Api key package master buy cost bad request response has a 5xx status code

func (*PostAPIKeyPackageMasterBuyCostBadRequest) IsSuccess

IsSuccess returns true when this post Api key package master buy cost bad request response has a 2xx status code

func (*PostAPIKeyPackageMasterBuyCostBadRequest) String

type PostAPIKeyPackageMasterBuyCostInternalServerError

type PostAPIKeyPackageMasterBuyCostInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

PostAPIKeyPackageMasterBuyCostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostAPIKeyPackageMasterBuyCostInternalServerError

func NewPostAPIKeyPackageMasterBuyCostInternalServerError() *PostAPIKeyPackageMasterBuyCostInternalServerError

NewPostAPIKeyPackageMasterBuyCostInternalServerError creates a PostAPIKeyPackageMasterBuyCostInternalServerError with default headers values

func (*PostAPIKeyPackageMasterBuyCostInternalServerError) Code

Code gets the status code for the post Api key package master buy cost internal server error response

func (*PostAPIKeyPackageMasterBuyCostInternalServerError) Error

func (*PostAPIKeyPackageMasterBuyCostInternalServerError) GetPayload

func (*PostAPIKeyPackageMasterBuyCostInternalServerError) IsClientError

IsClientError returns true when this post Api key package master buy cost internal server error response has a 4xx status code

func (*PostAPIKeyPackageMasterBuyCostInternalServerError) IsCode

IsCode returns true when this post Api key package master buy cost internal server error response a status code equal to that given

func (*PostAPIKeyPackageMasterBuyCostInternalServerError) IsRedirect

IsRedirect returns true when this post Api key package master buy cost internal server error response has a 3xx status code

func (*PostAPIKeyPackageMasterBuyCostInternalServerError) IsServerError

IsServerError returns true when this post Api key package master buy cost internal server error response has a 5xx status code

func (*PostAPIKeyPackageMasterBuyCostInternalServerError) IsSuccess

IsSuccess returns true when this post Api key package master buy cost internal server error response has a 2xx status code

func (*PostAPIKeyPackageMasterBuyCostInternalServerError) String

type PostAPIKeyPackageMasterBuyCostOK

type PostAPIKeyPackageMasterBuyCostOK struct {
	Payload *models.ResponseEstimateCostResponse
}

PostAPIKeyPackageMasterBuyCostOK describes a response with status code 200, with default header values.

OK

func NewPostAPIKeyPackageMasterBuyCostOK

func NewPostAPIKeyPackageMasterBuyCostOK() *PostAPIKeyPackageMasterBuyCostOK

NewPostAPIKeyPackageMasterBuyCostOK creates a PostAPIKeyPackageMasterBuyCostOK with default headers values

func (*PostAPIKeyPackageMasterBuyCostOK) Code

Code gets the status code for the post Api key package master buy cost o k response

func (*PostAPIKeyPackageMasterBuyCostOK) Error

func (*PostAPIKeyPackageMasterBuyCostOK) GetPayload

func (*PostAPIKeyPackageMasterBuyCostOK) IsClientError

func (o *PostAPIKeyPackageMasterBuyCostOK) IsClientError() bool

IsClientError returns true when this post Api key package master buy cost o k response has a 4xx status code

func (*PostAPIKeyPackageMasterBuyCostOK) IsCode

func (o *PostAPIKeyPackageMasterBuyCostOK) IsCode(code int) bool

IsCode returns true when this post Api key package master buy cost o k response a status code equal to that given

func (*PostAPIKeyPackageMasterBuyCostOK) IsRedirect

func (o *PostAPIKeyPackageMasterBuyCostOK) IsRedirect() bool

IsRedirect returns true when this post Api key package master buy cost o k response has a 3xx status code

func (*PostAPIKeyPackageMasterBuyCostOK) IsServerError

func (o *PostAPIKeyPackageMasterBuyCostOK) IsServerError() bool

IsServerError returns true when this post Api key package master buy cost o k response has a 5xx status code

func (*PostAPIKeyPackageMasterBuyCostOK) IsSuccess

func (o *PostAPIKeyPackageMasterBuyCostOK) IsSuccess() bool

IsSuccess returns true when this post Api key package master buy cost o k response has a 2xx status code

func (*PostAPIKeyPackageMasterBuyCostOK) String

type PostAPIKeyPackageMasterBuyCostParams

type PostAPIKeyPackageMasterBuyCostParams struct {

	/* Input.

	   Buy Playground Master Package Request
	*/
	Input *models.RequestBuyPlaygroundMasterPackageRequest

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

PostAPIKeyPackageMasterBuyCostParams contains all the parameters to send to the API endpoint

for the post API key package master buy cost operation.

Typically these are written to a http.Request.

func NewPostAPIKeyPackageMasterBuyCostParams

func NewPostAPIKeyPackageMasterBuyCostParams() *PostAPIKeyPackageMasterBuyCostParams

NewPostAPIKeyPackageMasterBuyCostParams creates a new PostAPIKeyPackageMasterBuyCostParams 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 NewPostAPIKeyPackageMasterBuyCostParamsWithContext

func NewPostAPIKeyPackageMasterBuyCostParamsWithContext(ctx context.Context) *PostAPIKeyPackageMasterBuyCostParams

NewPostAPIKeyPackageMasterBuyCostParamsWithContext creates a new PostAPIKeyPackageMasterBuyCostParams object with the ability to set a context for a request.

func NewPostAPIKeyPackageMasterBuyCostParamsWithHTTPClient

func NewPostAPIKeyPackageMasterBuyCostParamsWithHTTPClient(client *http.Client) *PostAPIKeyPackageMasterBuyCostParams

NewPostAPIKeyPackageMasterBuyCostParamsWithHTTPClient creates a new PostAPIKeyPackageMasterBuyCostParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIKeyPackageMasterBuyCostParamsWithTimeout

func NewPostAPIKeyPackageMasterBuyCostParamsWithTimeout(timeout time.Duration) *PostAPIKeyPackageMasterBuyCostParams

NewPostAPIKeyPackageMasterBuyCostParamsWithTimeout creates a new PostAPIKeyPackageMasterBuyCostParams object with the ability to set a timeout on a request.

func (*PostAPIKeyPackageMasterBuyCostParams) SetContext

SetContext adds the context to the post API key package master buy cost params

func (*PostAPIKeyPackageMasterBuyCostParams) SetDefaults

func (o *PostAPIKeyPackageMasterBuyCostParams) SetDefaults()

SetDefaults hydrates default values in the post API key package master buy cost params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIKeyPackageMasterBuyCostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API key package master buy cost params

func (*PostAPIKeyPackageMasterBuyCostParams) SetInput

SetInput adds the input to the post API key package master buy cost params

func (*PostAPIKeyPackageMasterBuyCostParams) SetTimeout

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

SetTimeout adds the timeout to the post API key package master buy cost params

func (*PostAPIKeyPackageMasterBuyCostParams) WithContext

WithContext adds the context to the post API key package master buy cost params

func (*PostAPIKeyPackageMasterBuyCostParams) WithDefaults

WithDefaults hydrates default values in the post API key package master buy cost params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIKeyPackageMasterBuyCostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API key package master buy cost params

func (*PostAPIKeyPackageMasterBuyCostParams) WithInput

WithInput adds the input to the post API key package master buy cost params

func (*PostAPIKeyPackageMasterBuyCostParams) WithTimeout

WithTimeout adds the timeout to the post API key package master buy cost params

func (*PostAPIKeyPackageMasterBuyCostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPIKeyPackageMasterBuyCostReader

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

PostAPIKeyPackageMasterBuyCostReader is a Reader for the PostAPIKeyPackageMasterBuyCost structure.

func (*PostAPIKeyPackageMasterBuyCostReader) ReadResponse

func (o *PostAPIKeyPackageMasterBuyCostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PostAPIKeyPackagePlaygroundBuyBadRequest

type PostAPIKeyPackagePlaygroundBuyBadRequest struct {
	Payload *models.ResponseFailResponse
}

PostAPIKeyPackagePlaygroundBuyBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostAPIKeyPackagePlaygroundBuyBadRequest

func NewPostAPIKeyPackagePlaygroundBuyBadRequest() *PostAPIKeyPackagePlaygroundBuyBadRequest

NewPostAPIKeyPackagePlaygroundBuyBadRequest creates a PostAPIKeyPackagePlaygroundBuyBadRequest with default headers values

func (*PostAPIKeyPackagePlaygroundBuyBadRequest) Code

Code gets the status code for the post Api key package playground buy bad request response

func (*PostAPIKeyPackagePlaygroundBuyBadRequest) Error

func (*PostAPIKeyPackagePlaygroundBuyBadRequest) GetPayload

func (*PostAPIKeyPackagePlaygroundBuyBadRequest) IsClientError

IsClientError returns true when this post Api key package playground buy bad request response has a 4xx status code

func (*PostAPIKeyPackagePlaygroundBuyBadRequest) IsCode

IsCode returns true when this post Api key package playground buy bad request response a status code equal to that given

func (*PostAPIKeyPackagePlaygroundBuyBadRequest) IsRedirect

IsRedirect returns true when this post Api key package playground buy bad request response has a 3xx status code

func (*PostAPIKeyPackagePlaygroundBuyBadRequest) IsServerError

IsServerError returns true when this post Api key package playground buy bad request response has a 5xx status code

func (*PostAPIKeyPackagePlaygroundBuyBadRequest) IsSuccess

IsSuccess returns true when this post Api key package playground buy bad request response has a 2xx status code

func (*PostAPIKeyPackagePlaygroundBuyBadRequest) String

type PostAPIKeyPackagePlaygroundBuyInternalServerError

type PostAPIKeyPackagePlaygroundBuyInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

PostAPIKeyPackagePlaygroundBuyInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostAPIKeyPackagePlaygroundBuyInternalServerError

func NewPostAPIKeyPackagePlaygroundBuyInternalServerError() *PostAPIKeyPackagePlaygroundBuyInternalServerError

NewPostAPIKeyPackagePlaygroundBuyInternalServerError creates a PostAPIKeyPackagePlaygroundBuyInternalServerError with default headers values

func (*PostAPIKeyPackagePlaygroundBuyInternalServerError) Code

Code gets the status code for the post Api key package playground buy internal server error response

func (*PostAPIKeyPackagePlaygroundBuyInternalServerError) Error

func (*PostAPIKeyPackagePlaygroundBuyInternalServerError) GetPayload

func (*PostAPIKeyPackagePlaygroundBuyInternalServerError) IsClientError

IsClientError returns true when this post Api key package playground buy internal server error response has a 4xx status code

func (*PostAPIKeyPackagePlaygroundBuyInternalServerError) IsCode

IsCode returns true when this post Api key package playground buy internal server error response a status code equal to that given

func (*PostAPIKeyPackagePlaygroundBuyInternalServerError) IsRedirect

IsRedirect returns true when this post Api key package playground buy internal server error response has a 3xx status code

func (*PostAPIKeyPackagePlaygroundBuyInternalServerError) IsServerError

IsServerError returns true when this post Api key package playground buy internal server error response has a 5xx status code

func (*PostAPIKeyPackagePlaygroundBuyInternalServerError) IsSuccess

IsSuccess returns true when this post Api key package playground buy internal server error response has a 2xx status code

func (*PostAPIKeyPackagePlaygroundBuyInternalServerError) String

type PostAPIKeyPackagePlaygroundBuyOK

type PostAPIKeyPackagePlaygroundBuyOK struct {
	Payload *models.ResponseAPIPackageResponse
}

PostAPIKeyPackagePlaygroundBuyOK describes a response with status code 200, with default header values.

OK

func NewPostAPIKeyPackagePlaygroundBuyOK

func NewPostAPIKeyPackagePlaygroundBuyOK() *PostAPIKeyPackagePlaygroundBuyOK

NewPostAPIKeyPackagePlaygroundBuyOK creates a PostAPIKeyPackagePlaygroundBuyOK with default headers values

func (*PostAPIKeyPackagePlaygroundBuyOK) Code

Code gets the status code for the post Api key package playground buy o k response

func (*PostAPIKeyPackagePlaygroundBuyOK) Error

func (*PostAPIKeyPackagePlaygroundBuyOK) GetPayload

func (*PostAPIKeyPackagePlaygroundBuyOK) IsClientError

func (o *PostAPIKeyPackagePlaygroundBuyOK) IsClientError() bool

IsClientError returns true when this post Api key package playground buy o k response has a 4xx status code

func (*PostAPIKeyPackagePlaygroundBuyOK) IsCode

func (o *PostAPIKeyPackagePlaygroundBuyOK) IsCode(code int) bool

IsCode returns true when this post Api key package playground buy o k response a status code equal to that given

func (*PostAPIKeyPackagePlaygroundBuyOK) IsRedirect

func (o *PostAPIKeyPackagePlaygroundBuyOK) IsRedirect() bool

IsRedirect returns true when this post Api key package playground buy o k response has a 3xx status code

func (*PostAPIKeyPackagePlaygroundBuyOK) IsServerError

func (o *PostAPIKeyPackagePlaygroundBuyOK) IsServerError() bool

IsServerError returns true when this post Api key package playground buy o k response has a 5xx status code

func (*PostAPIKeyPackagePlaygroundBuyOK) IsSuccess

func (o *PostAPIKeyPackagePlaygroundBuyOK) IsSuccess() bool

IsSuccess returns true when this post Api key package playground buy o k response has a 2xx status code

func (*PostAPIKeyPackagePlaygroundBuyOK) String

type PostAPIKeyPackagePlaygroundBuyParams

type PostAPIKeyPackagePlaygroundBuyParams struct {

	/* Input.

	   Buy Playground Package Request
	*/
	Input *models.RequestBuyPlaygroundPackageRequest

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

PostAPIKeyPackagePlaygroundBuyParams contains all the parameters to send to the API endpoint

for the post API key package playground buy operation.

Typically these are written to a http.Request.

func NewPostAPIKeyPackagePlaygroundBuyParams

func NewPostAPIKeyPackagePlaygroundBuyParams() *PostAPIKeyPackagePlaygroundBuyParams

NewPostAPIKeyPackagePlaygroundBuyParams creates a new PostAPIKeyPackagePlaygroundBuyParams 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 NewPostAPIKeyPackagePlaygroundBuyParamsWithContext

func NewPostAPIKeyPackagePlaygroundBuyParamsWithContext(ctx context.Context) *PostAPIKeyPackagePlaygroundBuyParams

NewPostAPIKeyPackagePlaygroundBuyParamsWithContext creates a new PostAPIKeyPackagePlaygroundBuyParams object with the ability to set a context for a request.

func NewPostAPIKeyPackagePlaygroundBuyParamsWithHTTPClient

func NewPostAPIKeyPackagePlaygroundBuyParamsWithHTTPClient(client *http.Client) *PostAPIKeyPackagePlaygroundBuyParams

NewPostAPIKeyPackagePlaygroundBuyParamsWithHTTPClient creates a new PostAPIKeyPackagePlaygroundBuyParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIKeyPackagePlaygroundBuyParamsWithTimeout

func NewPostAPIKeyPackagePlaygroundBuyParamsWithTimeout(timeout time.Duration) *PostAPIKeyPackagePlaygroundBuyParams

NewPostAPIKeyPackagePlaygroundBuyParamsWithTimeout creates a new PostAPIKeyPackagePlaygroundBuyParams object with the ability to set a timeout on a request.

func (*PostAPIKeyPackagePlaygroundBuyParams) SetContext

SetContext adds the context to the post API key package playground buy params

func (*PostAPIKeyPackagePlaygroundBuyParams) SetDefaults

func (o *PostAPIKeyPackagePlaygroundBuyParams) SetDefaults()

SetDefaults hydrates default values in the post API key package playground buy params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIKeyPackagePlaygroundBuyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API key package playground buy params

func (*PostAPIKeyPackagePlaygroundBuyParams) SetInput

SetInput adds the input to the post API key package playground buy params

func (*PostAPIKeyPackagePlaygroundBuyParams) SetTimeout

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

SetTimeout adds the timeout to the post API key package playground buy params

func (*PostAPIKeyPackagePlaygroundBuyParams) WithContext

WithContext adds the context to the post API key package playground buy params

func (*PostAPIKeyPackagePlaygroundBuyParams) WithDefaults

WithDefaults hydrates default values in the post API key package playground buy params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIKeyPackagePlaygroundBuyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API key package playground buy params

func (*PostAPIKeyPackagePlaygroundBuyParams) WithInput

WithInput adds the input to the post API key package playground buy params

func (*PostAPIKeyPackagePlaygroundBuyParams) WithTimeout

WithTimeout adds the timeout to the post API key package playground buy params

func (*PostAPIKeyPackagePlaygroundBuyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPIKeyPackagePlaygroundBuyReader

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

PostAPIKeyPackagePlaygroundBuyReader is a Reader for the PostAPIKeyPackagePlaygroundBuy structure.

func (*PostAPIKeyPackagePlaygroundBuyReader) ReadResponse

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