Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) GetAPIKeyPackageID(params *GetAPIKeyPackageIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAPIKeyPackageIDOK, error)
- func (a *Client) PostAPIKeyPackageAPIBuy(params *PostAPIKeyPackageAPIBuyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostAPIKeyPackageAPIBuyOK, error)
- func (a *Client) PostAPIKeyPackageBuyCost(params *PostAPIKeyPackageBuyCostParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostAPIKeyPackageBuyCostOK, error)
- func (a *Client) PostAPIKeyPackageMasterBuyCost(params *PostAPIKeyPackageMasterBuyCostParams, ...) (*PostAPIKeyPackageMasterBuyCostOK, error)
- func (a *Client) PostAPIKeyPackagePlaygroundBuy(params *PostAPIKeyPackagePlaygroundBuyParams, ...) (*PostAPIKeyPackagePlaygroundBuyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetAPIKeyPackageIDBadRequest
- func (o *GetAPIKeyPackageIDBadRequest) Code() int
- func (o *GetAPIKeyPackageIDBadRequest) Error() string
- func (o *GetAPIKeyPackageIDBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetAPIKeyPackageIDBadRequest) IsClientError() bool
- func (o *GetAPIKeyPackageIDBadRequest) IsCode(code int) bool
- func (o *GetAPIKeyPackageIDBadRequest) IsRedirect() bool
- func (o *GetAPIKeyPackageIDBadRequest) IsServerError() bool
- func (o *GetAPIKeyPackageIDBadRequest) IsSuccess() bool
- func (o *GetAPIKeyPackageIDBadRequest) String() string
- type GetAPIKeyPackageIDInternalServerError
- func (o *GetAPIKeyPackageIDInternalServerError) Code() int
- func (o *GetAPIKeyPackageIDInternalServerError) Error() string
- func (o *GetAPIKeyPackageIDInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetAPIKeyPackageIDInternalServerError) IsClientError() bool
- func (o *GetAPIKeyPackageIDInternalServerError) IsCode(code int) bool
- func (o *GetAPIKeyPackageIDInternalServerError) IsRedirect() bool
- func (o *GetAPIKeyPackageIDInternalServerError) IsServerError() bool
- func (o *GetAPIKeyPackageIDInternalServerError) IsSuccess() bool
- func (o *GetAPIKeyPackageIDInternalServerError) String() string
- type GetAPIKeyPackageIDOK
- func (o *GetAPIKeyPackageIDOK) Code() int
- func (o *GetAPIKeyPackageIDOK) Error() string
- func (o *GetAPIKeyPackageIDOK) GetPayload() *models.ResponseAPIPackageResponse
- func (o *GetAPIKeyPackageIDOK) IsClientError() bool
- func (o *GetAPIKeyPackageIDOK) IsCode(code int) bool
- func (o *GetAPIKeyPackageIDOK) IsRedirect() bool
- func (o *GetAPIKeyPackageIDOK) IsServerError() bool
- func (o *GetAPIKeyPackageIDOK) IsSuccess() bool
- func (o *GetAPIKeyPackageIDOK) String() string
- type GetAPIKeyPackageIDParams
- func NewGetAPIKeyPackageIDParams() *GetAPIKeyPackageIDParams
- func NewGetAPIKeyPackageIDParamsWithContext(ctx context.Context) *GetAPIKeyPackageIDParams
- func NewGetAPIKeyPackageIDParamsWithHTTPClient(client *http.Client) *GetAPIKeyPackageIDParams
- func NewGetAPIKeyPackageIDParamsWithTimeout(timeout time.Duration) *GetAPIKeyPackageIDParams
- func (o *GetAPIKeyPackageIDParams) SetContext(ctx context.Context)
- func (o *GetAPIKeyPackageIDParams) SetDefaults()
- func (o *GetAPIKeyPackageIDParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIKeyPackageIDParams) SetID(id string)
- func (o *GetAPIKeyPackageIDParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIKeyPackageIDParams) WithContext(ctx context.Context) *GetAPIKeyPackageIDParams
- func (o *GetAPIKeyPackageIDParams) WithDefaults() *GetAPIKeyPackageIDParams
- func (o *GetAPIKeyPackageIDParams) WithHTTPClient(client *http.Client) *GetAPIKeyPackageIDParams
- func (o *GetAPIKeyPackageIDParams) WithID(id string) *GetAPIKeyPackageIDParams
- func (o *GetAPIKeyPackageIDParams) WithTimeout(timeout time.Duration) *GetAPIKeyPackageIDParams
- func (o *GetAPIKeyPackageIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIKeyPackageIDReader
- type PostAPIKeyPackageAPIBuyBadRequest
- func (o *PostAPIKeyPackageAPIBuyBadRequest) Code() int
- func (o *PostAPIKeyPackageAPIBuyBadRequest) Error() string
- func (o *PostAPIKeyPackageAPIBuyBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostAPIKeyPackageAPIBuyBadRequest) IsClientError() bool
- func (o *PostAPIKeyPackageAPIBuyBadRequest) IsCode(code int) bool
- func (o *PostAPIKeyPackageAPIBuyBadRequest) IsRedirect() bool
- func (o *PostAPIKeyPackageAPIBuyBadRequest) IsServerError() bool
- func (o *PostAPIKeyPackageAPIBuyBadRequest) IsSuccess() bool
- func (o *PostAPIKeyPackageAPIBuyBadRequest) String() string
- type PostAPIKeyPackageAPIBuyInternalServerError
- func (o *PostAPIKeyPackageAPIBuyInternalServerError) Code() int
- func (o *PostAPIKeyPackageAPIBuyInternalServerError) Error() string
- func (o *PostAPIKeyPackageAPIBuyInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostAPIKeyPackageAPIBuyInternalServerError) IsClientError() bool
- func (o *PostAPIKeyPackageAPIBuyInternalServerError) IsCode(code int) bool
- func (o *PostAPIKeyPackageAPIBuyInternalServerError) IsRedirect() bool
- func (o *PostAPIKeyPackageAPIBuyInternalServerError) IsServerError() bool
- func (o *PostAPIKeyPackageAPIBuyInternalServerError) IsSuccess() bool
- func (o *PostAPIKeyPackageAPIBuyInternalServerError) String() string
- type PostAPIKeyPackageAPIBuyOK
- func (o *PostAPIKeyPackageAPIBuyOK) Code() int
- func (o *PostAPIKeyPackageAPIBuyOK) Error() string
- func (o *PostAPIKeyPackageAPIBuyOK) GetPayload() *models.ResponseAPIPackageResponse
- func (o *PostAPIKeyPackageAPIBuyOK) IsClientError() bool
- func (o *PostAPIKeyPackageAPIBuyOK) IsCode(code int) bool
- func (o *PostAPIKeyPackageAPIBuyOK) IsRedirect() bool
- func (o *PostAPIKeyPackageAPIBuyOK) IsServerError() bool
- func (o *PostAPIKeyPackageAPIBuyOK) IsSuccess() bool
- func (o *PostAPIKeyPackageAPIBuyOK) String() string
- type PostAPIKeyPackageAPIBuyParams
- func NewPostAPIKeyPackageAPIBuyParams() *PostAPIKeyPackageAPIBuyParams
- func NewPostAPIKeyPackageAPIBuyParamsWithContext(ctx context.Context) *PostAPIKeyPackageAPIBuyParams
- func NewPostAPIKeyPackageAPIBuyParamsWithHTTPClient(client *http.Client) *PostAPIKeyPackageAPIBuyParams
- func NewPostAPIKeyPackageAPIBuyParamsWithTimeout(timeout time.Duration) *PostAPIKeyPackageAPIBuyParams
- func (o *PostAPIKeyPackageAPIBuyParams) SetContext(ctx context.Context)
- func (o *PostAPIKeyPackageAPIBuyParams) SetDefaults()
- func (o *PostAPIKeyPackageAPIBuyParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIKeyPackageAPIBuyParams) SetInput(input *models.RequestBuyAPIKeyPackageRequest)
- func (o *PostAPIKeyPackageAPIBuyParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIKeyPackageAPIBuyParams) WithContext(ctx context.Context) *PostAPIKeyPackageAPIBuyParams
- func (o *PostAPIKeyPackageAPIBuyParams) WithDefaults() *PostAPIKeyPackageAPIBuyParams
- func (o *PostAPIKeyPackageAPIBuyParams) WithHTTPClient(client *http.Client) *PostAPIKeyPackageAPIBuyParams
- func (o *PostAPIKeyPackageAPIBuyParams) WithInput(input *models.RequestBuyAPIKeyPackageRequest) *PostAPIKeyPackageAPIBuyParams
- func (o *PostAPIKeyPackageAPIBuyParams) WithTimeout(timeout time.Duration) *PostAPIKeyPackageAPIBuyParams
- func (o *PostAPIKeyPackageAPIBuyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIKeyPackageAPIBuyReader
- type PostAPIKeyPackageBuyCostBadRequest
- func (o *PostAPIKeyPackageBuyCostBadRequest) Code() int
- func (o *PostAPIKeyPackageBuyCostBadRequest) Error() string
- func (o *PostAPIKeyPackageBuyCostBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostAPIKeyPackageBuyCostBadRequest) IsClientError() bool
- func (o *PostAPIKeyPackageBuyCostBadRequest) IsCode(code int) bool
- func (o *PostAPIKeyPackageBuyCostBadRequest) IsRedirect() bool
- func (o *PostAPIKeyPackageBuyCostBadRequest) IsServerError() bool
- func (o *PostAPIKeyPackageBuyCostBadRequest) IsSuccess() bool
- func (o *PostAPIKeyPackageBuyCostBadRequest) String() string
- type PostAPIKeyPackageBuyCostInternalServerError
- func (o *PostAPIKeyPackageBuyCostInternalServerError) Code() int
- func (o *PostAPIKeyPackageBuyCostInternalServerError) Error() string
- func (o *PostAPIKeyPackageBuyCostInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostAPIKeyPackageBuyCostInternalServerError) IsClientError() bool
- func (o *PostAPIKeyPackageBuyCostInternalServerError) IsCode(code int) bool
- func (o *PostAPIKeyPackageBuyCostInternalServerError) IsRedirect() bool
- func (o *PostAPIKeyPackageBuyCostInternalServerError) IsServerError() bool
- func (o *PostAPIKeyPackageBuyCostInternalServerError) IsSuccess() bool
- func (o *PostAPIKeyPackageBuyCostInternalServerError) String() string
- type PostAPIKeyPackageBuyCostOK
- func (o *PostAPIKeyPackageBuyCostOK) Code() int
- func (o *PostAPIKeyPackageBuyCostOK) Error() string
- func (o *PostAPIKeyPackageBuyCostOK) GetPayload() *models.ResponseEstimateCostResponse
- func (o *PostAPIKeyPackageBuyCostOK) IsClientError() bool
- func (o *PostAPIKeyPackageBuyCostOK) IsCode(code int) bool
- func (o *PostAPIKeyPackageBuyCostOK) IsRedirect() bool
- func (o *PostAPIKeyPackageBuyCostOK) IsServerError() bool
- func (o *PostAPIKeyPackageBuyCostOK) IsSuccess() bool
- func (o *PostAPIKeyPackageBuyCostOK) String() string
- type PostAPIKeyPackageBuyCostParams
- func NewPostAPIKeyPackageBuyCostParams() *PostAPIKeyPackageBuyCostParams
- func NewPostAPIKeyPackageBuyCostParamsWithContext(ctx context.Context) *PostAPIKeyPackageBuyCostParams
- func NewPostAPIKeyPackageBuyCostParamsWithHTTPClient(client *http.Client) *PostAPIKeyPackageBuyCostParams
- func NewPostAPIKeyPackageBuyCostParamsWithTimeout(timeout time.Duration) *PostAPIKeyPackageBuyCostParams
- func (o *PostAPIKeyPackageBuyCostParams) SetContext(ctx context.Context)
- func (o *PostAPIKeyPackageBuyCostParams) SetDefaults()
- func (o *PostAPIKeyPackageBuyCostParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIKeyPackageBuyCostParams) SetInput(input *models.RequestBuyPlaygroundPackageRequest)
- func (o *PostAPIKeyPackageBuyCostParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIKeyPackageBuyCostParams) WithContext(ctx context.Context) *PostAPIKeyPackageBuyCostParams
- func (o *PostAPIKeyPackageBuyCostParams) WithDefaults() *PostAPIKeyPackageBuyCostParams
- func (o *PostAPIKeyPackageBuyCostParams) WithHTTPClient(client *http.Client) *PostAPIKeyPackageBuyCostParams
- func (o *PostAPIKeyPackageBuyCostParams) WithInput(input *models.RequestBuyPlaygroundPackageRequest) *PostAPIKeyPackageBuyCostParams
- func (o *PostAPIKeyPackageBuyCostParams) WithTimeout(timeout time.Duration) *PostAPIKeyPackageBuyCostParams
- func (o *PostAPIKeyPackageBuyCostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIKeyPackageBuyCostReader
- type PostAPIKeyPackageMasterBuyCostBadRequest
- func (o *PostAPIKeyPackageMasterBuyCostBadRequest) Code() int
- func (o *PostAPIKeyPackageMasterBuyCostBadRequest) Error() string
- func (o *PostAPIKeyPackageMasterBuyCostBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostAPIKeyPackageMasterBuyCostBadRequest) IsClientError() bool
- func (o *PostAPIKeyPackageMasterBuyCostBadRequest) IsCode(code int) bool
- func (o *PostAPIKeyPackageMasterBuyCostBadRequest) IsRedirect() bool
- func (o *PostAPIKeyPackageMasterBuyCostBadRequest) IsServerError() bool
- func (o *PostAPIKeyPackageMasterBuyCostBadRequest) IsSuccess() bool
- func (o *PostAPIKeyPackageMasterBuyCostBadRequest) String() string
- type PostAPIKeyPackageMasterBuyCostInternalServerError
- func (o *PostAPIKeyPackageMasterBuyCostInternalServerError) Code() int
- func (o *PostAPIKeyPackageMasterBuyCostInternalServerError) Error() string
- func (o *PostAPIKeyPackageMasterBuyCostInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostAPIKeyPackageMasterBuyCostInternalServerError) IsClientError() bool
- func (o *PostAPIKeyPackageMasterBuyCostInternalServerError) IsCode(code int) bool
- func (o *PostAPIKeyPackageMasterBuyCostInternalServerError) IsRedirect() bool
- func (o *PostAPIKeyPackageMasterBuyCostInternalServerError) IsServerError() bool
- func (o *PostAPIKeyPackageMasterBuyCostInternalServerError) IsSuccess() bool
- func (o *PostAPIKeyPackageMasterBuyCostInternalServerError) String() string
- type PostAPIKeyPackageMasterBuyCostOK
- func (o *PostAPIKeyPackageMasterBuyCostOK) Code() int
- func (o *PostAPIKeyPackageMasterBuyCostOK) Error() string
- func (o *PostAPIKeyPackageMasterBuyCostOK) GetPayload() *models.ResponseEstimateCostResponse
- func (o *PostAPIKeyPackageMasterBuyCostOK) IsClientError() bool
- func (o *PostAPIKeyPackageMasterBuyCostOK) IsCode(code int) bool
- func (o *PostAPIKeyPackageMasterBuyCostOK) IsRedirect() bool
- func (o *PostAPIKeyPackageMasterBuyCostOK) IsServerError() bool
- func (o *PostAPIKeyPackageMasterBuyCostOK) IsSuccess() bool
- func (o *PostAPIKeyPackageMasterBuyCostOK) String() string
- type PostAPIKeyPackageMasterBuyCostParams
- func NewPostAPIKeyPackageMasterBuyCostParams() *PostAPIKeyPackageMasterBuyCostParams
- func NewPostAPIKeyPackageMasterBuyCostParamsWithContext(ctx context.Context) *PostAPIKeyPackageMasterBuyCostParams
- func NewPostAPIKeyPackageMasterBuyCostParamsWithHTTPClient(client *http.Client) *PostAPIKeyPackageMasterBuyCostParams
- func NewPostAPIKeyPackageMasterBuyCostParamsWithTimeout(timeout time.Duration) *PostAPIKeyPackageMasterBuyCostParams
- func (o *PostAPIKeyPackageMasterBuyCostParams) SetContext(ctx context.Context)
- func (o *PostAPIKeyPackageMasterBuyCostParams) SetDefaults()
- func (o *PostAPIKeyPackageMasterBuyCostParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIKeyPackageMasterBuyCostParams) SetInput(input *models.RequestBuyPlaygroundMasterPackageRequest)
- func (o *PostAPIKeyPackageMasterBuyCostParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIKeyPackageMasterBuyCostParams) WithContext(ctx context.Context) *PostAPIKeyPackageMasterBuyCostParams
- func (o *PostAPIKeyPackageMasterBuyCostParams) WithDefaults() *PostAPIKeyPackageMasterBuyCostParams
- func (o *PostAPIKeyPackageMasterBuyCostParams) WithHTTPClient(client *http.Client) *PostAPIKeyPackageMasterBuyCostParams
- func (o *PostAPIKeyPackageMasterBuyCostParams) WithInput(input *models.RequestBuyPlaygroundMasterPackageRequest) *PostAPIKeyPackageMasterBuyCostParams
- func (o *PostAPIKeyPackageMasterBuyCostParams) WithTimeout(timeout time.Duration) *PostAPIKeyPackageMasterBuyCostParams
- func (o *PostAPIKeyPackageMasterBuyCostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIKeyPackageMasterBuyCostReader
- type PostAPIKeyPackagePlaygroundBuyBadRequest
- func (o *PostAPIKeyPackagePlaygroundBuyBadRequest) Code() int
- func (o *PostAPIKeyPackagePlaygroundBuyBadRequest) Error() string
- func (o *PostAPIKeyPackagePlaygroundBuyBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostAPIKeyPackagePlaygroundBuyBadRequest) IsClientError() bool
- func (o *PostAPIKeyPackagePlaygroundBuyBadRequest) IsCode(code int) bool
- func (o *PostAPIKeyPackagePlaygroundBuyBadRequest) IsRedirect() bool
- func (o *PostAPIKeyPackagePlaygroundBuyBadRequest) IsServerError() bool
- func (o *PostAPIKeyPackagePlaygroundBuyBadRequest) IsSuccess() bool
- func (o *PostAPIKeyPackagePlaygroundBuyBadRequest) String() string
- type PostAPIKeyPackagePlaygroundBuyInternalServerError
- func (o *PostAPIKeyPackagePlaygroundBuyInternalServerError) Code() int
- func (o *PostAPIKeyPackagePlaygroundBuyInternalServerError) Error() string
- func (o *PostAPIKeyPackagePlaygroundBuyInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostAPIKeyPackagePlaygroundBuyInternalServerError) IsClientError() bool
- func (o *PostAPIKeyPackagePlaygroundBuyInternalServerError) IsCode(code int) bool
- func (o *PostAPIKeyPackagePlaygroundBuyInternalServerError) IsRedirect() bool
- func (o *PostAPIKeyPackagePlaygroundBuyInternalServerError) IsServerError() bool
- func (o *PostAPIKeyPackagePlaygroundBuyInternalServerError) IsSuccess() bool
- func (o *PostAPIKeyPackagePlaygroundBuyInternalServerError) String() string
- type PostAPIKeyPackagePlaygroundBuyOK
- func (o *PostAPIKeyPackagePlaygroundBuyOK) Code() int
- func (o *PostAPIKeyPackagePlaygroundBuyOK) Error() string
- func (o *PostAPIKeyPackagePlaygroundBuyOK) GetPayload() *models.ResponseAPIPackageResponse
- func (o *PostAPIKeyPackagePlaygroundBuyOK) IsClientError() bool
- func (o *PostAPIKeyPackagePlaygroundBuyOK) IsCode(code int) bool
- func (o *PostAPIKeyPackagePlaygroundBuyOK) IsRedirect() bool
- func (o *PostAPIKeyPackagePlaygroundBuyOK) IsServerError() bool
- func (o *PostAPIKeyPackagePlaygroundBuyOK) IsSuccess() bool
- func (o *PostAPIKeyPackagePlaygroundBuyOK) String() string
- type PostAPIKeyPackagePlaygroundBuyParams
- func NewPostAPIKeyPackagePlaygroundBuyParams() *PostAPIKeyPackagePlaygroundBuyParams
- func NewPostAPIKeyPackagePlaygroundBuyParamsWithContext(ctx context.Context) *PostAPIKeyPackagePlaygroundBuyParams
- func NewPostAPIKeyPackagePlaygroundBuyParamsWithHTTPClient(client *http.Client) *PostAPIKeyPackagePlaygroundBuyParams
- func NewPostAPIKeyPackagePlaygroundBuyParamsWithTimeout(timeout time.Duration) *PostAPIKeyPackagePlaygroundBuyParams
- func (o *PostAPIKeyPackagePlaygroundBuyParams) SetContext(ctx context.Context)
- func (o *PostAPIKeyPackagePlaygroundBuyParams) SetDefaults()
- func (o *PostAPIKeyPackagePlaygroundBuyParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIKeyPackagePlaygroundBuyParams) SetInput(input *models.RequestBuyPlaygroundPackageRequest)
- func (o *PostAPIKeyPackagePlaygroundBuyParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIKeyPackagePlaygroundBuyParams) WithContext(ctx context.Context) *PostAPIKeyPackagePlaygroundBuyParams
- func (o *PostAPIKeyPackagePlaygroundBuyParams) WithDefaults() *PostAPIKeyPackagePlaygroundBuyParams
- func (o *PostAPIKeyPackagePlaygroundBuyParams) WithHTTPClient(client *http.Client) *PostAPIKeyPackagePlaygroundBuyParams
- func (o *PostAPIKeyPackagePlaygroundBuyParams) WithInput(input *models.RequestBuyPlaygroundPackageRequest) *PostAPIKeyPackagePlaygroundBuyParams
- func (o *PostAPIKeyPackagePlaygroundBuyParams) WithTimeout(timeout time.Duration) *PostAPIKeyPackagePlaygroundBuyParams
- func (o *PostAPIKeyPackagePlaygroundBuyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIKeyPackagePlaygroundBuyReader
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 ¶
func (o *GetAPIKeyPackageIDBadRequest) Code() int
Code gets the status code for the get Api key package Id bad request response
func (*GetAPIKeyPackageIDBadRequest) Error ¶
func (o *GetAPIKeyPackageIDBadRequest) Error() string
func (*GetAPIKeyPackageIDBadRequest) GetPayload ¶
func (o *GetAPIKeyPackageIDBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *GetAPIKeyPackageIDBadRequest) String() 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 ¶
func (o *GetAPIKeyPackageIDInternalServerError) Code() int
Code gets the status code for the get Api key package Id internal server error response
func (*GetAPIKeyPackageIDInternalServerError) Error ¶
func (o *GetAPIKeyPackageIDInternalServerError) Error() string
func (*GetAPIKeyPackageIDInternalServerError) GetPayload ¶
func (o *GetAPIKeyPackageIDInternalServerError) GetPayload() *models.ResponseErrorResponse
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 ¶
func (o *GetAPIKeyPackageIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get Api key package Id internal server error response a status code equal to that given
func (*GetAPIKeyPackageIDInternalServerError) IsRedirect ¶
func (o *GetAPIKeyPackageIDInternalServerError) IsRedirect() bool
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 ¶
func (o *GetAPIKeyPackageIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get Api key package Id internal server error response has a 2xx status code
func (*GetAPIKeyPackageIDInternalServerError) String ¶
func (o *GetAPIKeyPackageIDInternalServerError) String() 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 (o *GetAPIKeyPackageIDOK) GetPayload() *models.ResponseAPIPackageResponse
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 ¶
func (o *GetAPIKeyPackageIDParams) WithContext(ctx context.Context) *GetAPIKeyPackageIDParams
WithContext adds the context to the get API key package ID params
func (*GetAPIKeyPackageIDParams) WithDefaults ¶
func (o *GetAPIKeyPackageIDParams) WithDefaults() *GetAPIKeyPackageIDParams
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 ¶
func (o *GetAPIKeyPackageIDParams) WithID(id string) *GetAPIKeyPackageIDParams
WithID adds the id to the get API key package ID params
func (*GetAPIKeyPackageIDParams) WithTimeout ¶
func (o *GetAPIKeyPackageIDParams) WithTimeout(timeout time.Duration) *GetAPIKeyPackageIDParams
WithTimeout adds the timeout to the get API key package ID params
func (*GetAPIKeyPackageIDParams) WriteToRequest ¶
func (o *GetAPIKeyPackageIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostAPIKeyPackageAPIBuyBadRequest) Code() int
Code gets the status code for the post Api key package Api buy bad request response
func (*PostAPIKeyPackageAPIBuyBadRequest) Error ¶
func (o *PostAPIKeyPackageAPIBuyBadRequest) Error() string
func (*PostAPIKeyPackageAPIBuyBadRequest) GetPayload ¶
func (o *PostAPIKeyPackageAPIBuyBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *PostAPIKeyPackageAPIBuyBadRequest) String() 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 ¶
func (o *PostAPIKeyPackageAPIBuyInternalServerError) Code() int
Code gets the status code for the post Api key package Api buy internal server error response
func (*PostAPIKeyPackageAPIBuyInternalServerError) Error ¶
func (o *PostAPIKeyPackageAPIBuyInternalServerError) Error() string
func (*PostAPIKeyPackageAPIBuyInternalServerError) GetPayload ¶
func (o *PostAPIKeyPackageAPIBuyInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostAPIKeyPackageAPIBuyInternalServerError) IsClientError ¶
func (o *PostAPIKeyPackageAPIBuyInternalServerError) IsClientError() bool
IsClientError returns true when this post Api key package Api buy internal server error response has a 4xx status code
func (*PostAPIKeyPackageAPIBuyInternalServerError) IsCode ¶
func (o *PostAPIKeyPackageAPIBuyInternalServerError) IsCode(code int) bool
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 ¶
func (o *PostAPIKeyPackageAPIBuyInternalServerError) IsRedirect() bool
IsRedirect returns true when this post Api key package Api buy internal server error response has a 3xx status code
func (*PostAPIKeyPackageAPIBuyInternalServerError) IsServerError ¶
func (o *PostAPIKeyPackageAPIBuyInternalServerError) IsServerError() bool
IsServerError returns true when this post Api key package Api buy internal server error response has a 5xx status code
func (*PostAPIKeyPackageAPIBuyInternalServerError) IsSuccess ¶
func (o *PostAPIKeyPackageAPIBuyInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api key package Api buy internal server error response has a 2xx status code
func (*PostAPIKeyPackageAPIBuyInternalServerError) String ¶
func (o *PostAPIKeyPackageAPIBuyInternalServerError) String() 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 (o *PostAPIKeyPackageAPIBuyOK) GetPayload() *models.ResponseAPIPackageResponse
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 ¶
func (o *PostAPIKeyPackageAPIBuyParams) SetInput(input *models.RequestBuyAPIKeyPackageRequest)
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 ¶
func (o *PostAPIKeyPackageAPIBuyParams) WithContext(ctx context.Context) *PostAPIKeyPackageAPIBuyParams
WithContext adds the context to the post API key package API buy params
func (*PostAPIKeyPackageAPIBuyParams) WithDefaults ¶
func (o *PostAPIKeyPackageAPIBuyParams) WithDefaults() *PostAPIKeyPackageAPIBuyParams
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 ¶
func (o *PostAPIKeyPackageAPIBuyParams) WithHTTPClient(client *http.Client) *PostAPIKeyPackageAPIBuyParams
WithHTTPClient adds the HTTPClient to the post API key package API buy params
func (*PostAPIKeyPackageAPIBuyParams) WithInput ¶
func (o *PostAPIKeyPackageAPIBuyParams) WithInput(input *models.RequestBuyAPIKeyPackageRequest) *PostAPIKeyPackageAPIBuyParams
WithInput adds the input to the post API key package API buy params
func (*PostAPIKeyPackageAPIBuyParams) WithTimeout ¶
func (o *PostAPIKeyPackageAPIBuyParams) WithTimeout(timeout time.Duration) *PostAPIKeyPackageAPIBuyParams
WithTimeout adds the timeout to the post API key package API buy params
func (*PostAPIKeyPackageAPIBuyParams) WriteToRequest ¶
func (o *PostAPIKeyPackageAPIBuyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostAPIKeyPackageBuyCostBadRequest) Code() int
Code gets the status code for the post Api key package buy cost bad request response
func (*PostAPIKeyPackageBuyCostBadRequest) Error ¶
func (o *PostAPIKeyPackageBuyCostBadRequest) Error() string
func (*PostAPIKeyPackageBuyCostBadRequest) GetPayload ¶
func (o *PostAPIKeyPackageBuyCostBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *PostAPIKeyPackageBuyCostBadRequest) IsCode(code int) bool
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 ¶
func (o *PostAPIKeyPackageBuyCostBadRequest) IsSuccess() bool
IsSuccess returns true when this post Api key package buy cost bad request response has a 2xx status code
func (*PostAPIKeyPackageBuyCostBadRequest) String ¶
func (o *PostAPIKeyPackageBuyCostBadRequest) String() 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 ¶
func (o *PostAPIKeyPackageBuyCostInternalServerError) Code() int
Code gets the status code for the post Api key package buy cost internal server error response
func (*PostAPIKeyPackageBuyCostInternalServerError) Error ¶
func (o *PostAPIKeyPackageBuyCostInternalServerError) Error() string
func (*PostAPIKeyPackageBuyCostInternalServerError) GetPayload ¶
func (o *PostAPIKeyPackageBuyCostInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostAPIKeyPackageBuyCostInternalServerError) IsClientError ¶
func (o *PostAPIKeyPackageBuyCostInternalServerError) IsClientError() bool
IsClientError returns true when this post Api key package buy cost internal server error response has a 4xx status code
func (*PostAPIKeyPackageBuyCostInternalServerError) IsCode ¶
func (o *PostAPIKeyPackageBuyCostInternalServerError) IsCode(code int) bool
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 ¶
func (o *PostAPIKeyPackageBuyCostInternalServerError) IsRedirect() bool
IsRedirect returns true when this post Api key package buy cost internal server error response has a 3xx status code
func (*PostAPIKeyPackageBuyCostInternalServerError) IsServerError ¶
func (o *PostAPIKeyPackageBuyCostInternalServerError) IsServerError() bool
IsServerError returns true when this post Api key package buy cost internal server error response has a 5xx status code
func (*PostAPIKeyPackageBuyCostInternalServerError) IsSuccess ¶
func (o *PostAPIKeyPackageBuyCostInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api key package buy cost internal server error response has a 2xx status code
func (*PostAPIKeyPackageBuyCostInternalServerError) String ¶
func (o *PostAPIKeyPackageBuyCostInternalServerError) String() 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 (o *PostAPIKeyPackageBuyCostOK) Error() string
func (*PostAPIKeyPackageBuyCostOK) GetPayload ¶
func (o *PostAPIKeyPackageBuyCostOK) GetPayload() *models.ResponseEstimateCostResponse
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 ¶
func (o *PostAPIKeyPackageBuyCostParams) SetInput(input *models.RequestBuyPlaygroundPackageRequest)
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 ¶
func (o *PostAPIKeyPackageBuyCostParams) WithContext(ctx context.Context) *PostAPIKeyPackageBuyCostParams
WithContext adds the context to the post API key package buy cost params
func (*PostAPIKeyPackageBuyCostParams) WithDefaults ¶
func (o *PostAPIKeyPackageBuyCostParams) WithDefaults() *PostAPIKeyPackageBuyCostParams
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 ¶
func (o *PostAPIKeyPackageBuyCostParams) WithHTTPClient(client *http.Client) *PostAPIKeyPackageBuyCostParams
WithHTTPClient adds the HTTPClient to the post API key package buy cost params
func (*PostAPIKeyPackageBuyCostParams) WithInput ¶
func (o *PostAPIKeyPackageBuyCostParams) WithInput(input *models.RequestBuyPlaygroundPackageRequest) *PostAPIKeyPackageBuyCostParams
WithInput adds the input to the post API key package buy cost params
func (*PostAPIKeyPackageBuyCostParams) WithTimeout ¶
func (o *PostAPIKeyPackageBuyCostParams) WithTimeout(timeout time.Duration) *PostAPIKeyPackageBuyCostParams
WithTimeout adds the timeout to the post API key package buy cost params
func (*PostAPIKeyPackageBuyCostParams) WriteToRequest ¶
func (o *PostAPIKeyPackageBuyCostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostAPIKeyPackageMasterBuyCostBadRequest) Code() int
Code gets the status code for the post Api key package master buy cost bad request response
func (*PostAPIKeyPackageMasterBuyCostBadRequest) Error ¶
func (o *PostAPIKeyPackageMasterBuyCostBadRequest) Error() string
func (*PostAPIKeyPackageMasterBuyCostBadRequest) GetPayload ¶
func (o *PostAPIKeyPackageMasterBuyCostBadRequest) GetPayload() *models.ResponseFailResponse
func (*PostAPIKeyPackageMasterBuyCostBadRequest) IsClientError ¶
func (o *PostAPIKeyPackageMasterBuyCostBadRequest) IsClientError() bool
IsClientError returns true when this post Api key package master buy cost bad request response has a 4xx status code
func (*PostAPIKeyPackageMasterBuyCostBadRequest) IsCode ¶
func (o *PostAPIKeyPackageMasterBuyCostBadRequest) IsCode(code int) bool
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 ¶
func (o *PostAPIKeyPackageMasterBuyCostBadRequest) IsRedirect() bool
IsRedirect returns true when this post Api key package master buy cost bad request response has a 3xx status code
func (*PostAPIKeyPackageMasterBuyCostBadRequest) IsServerError ¶
func (o *PostAPIKeyPackageMasterBuyCostBadRequest) IsServerError() bool
IsServerError returns true when this post Api key package master buy cost bad request response has a 5xx status code
func (*PostAPIKeyPackageMasterBuyCostBadRequest) IsSuccess ¶
func (o *PostAPIKeyPackageMasterBuyCostBadRequest) IsSuccess() bool
IsSuccess returns true when this post Api key package master buy cost bad request response has a 2xx status code
func (*PostAPIKeyPackageMasterBuyCostBadRequest) String ¶
func (o *PostAPIKeyPackageMasterBuyCostBadRequest) String() 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 ¶
func (o *PostAPIKeyPackageMasterBuyCostInternalServerError) Code() int
Code gets the status code for the post Api key package master buy cost internal server error response
func (*PostAPIKeyPackageMasterBuyCostInternalServerError) Error ¶
func (o *PostAPIKeyPackageMasterBuyCostInternalServerError) Error() string
func (*PostAPIKeyPackageMasterBuyCostInternalServerError) GetPayload ¶
func (o *PostAPIKeyPackageMasterBuyCostInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostAPIKeyPackageMasterBuyCostInternalServerError) IsClientError ¶
func (o *PostAPIKeyPackageMasterBuyCostInternalServerError) IsClientError() bool
IsClientError returns true when this post Api key package master buy cost internal server error response has a 4xx status code
func (*PostAPIKeyPackageMasterBuyCostInternalServerError) IsCode ¶
func (o *PostAPIKeyPackageMasterBuyCostInternalServerError) IsCode(code int) bool
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 ¶
func (o *PostAPIKeyPackageMasterBuyCostInternalServerError) IsRedirect() bool
IsRedirect returns true when this post Api key package master buy cost internal server error response has a 3xx status code
func (*PostAPIKeyPackageMasterBuyCostInternalServerError) IsServerError ¶
func (o *PostAPIKeyPackageMasterBuyCostInternalServerError) IsServerError() bool
IsServerError returns true when this post Api key package master buy cost internal server error response has a 5xx status code
func (*PostAPIKeyPackageMasterBuyCostInternalServerError) IsSuccess ¶
func (o *PostAPIKeyPackageMasterBuyCostInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api key package master buy cost internal server error response has a 2xx status code
func (*PostAPIKeyPackageMasterBuyCostInternalServerError) String ¶
func (o *PostAPIKeyPackageMasterBuyCostInternalServerError) String() 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 ¶
func (o *PostAPIKeyPackageMasterBuyCostOK) Code() int
Code gets the status code for the post Api key package master buy cost o k response
func (*PostAPIKeyPackageMasterBuyCostOK) Error ¶
func (o *PostAPIKeyPackageMasterBuyCostOK) Error() string
func (*PostAPIKeyPackageMasterBuyCostOK) GetPayload ¶
func (o *PostAPIKeyPackageMasterBuyCostOK) GetPayload() *models.ResponseEstimateCostResponse
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 ¶
func (o *PostAPIKeyPackageMasterBuyCostOK) String() 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 ¶
func (o *PostAPIKeyPackageMasterBuyCostParams) SetContext(ctx context.Context)
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 ¶
func (o *PostAPIKeyPackageMasterBuyCostParams) SetInput(input *models.RequestBuyPlaygroundMasterPackageRequest)
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 ¶
func (o *PostAPIKeyPackageMasterBuyCostParams) WithContext(ctx context.Context) *PostAPIKeyPackageMasterBuyCostParams
WithContext adds the context to the post API key package master buy cost params
func (*PostAPIKeyPackageMasterBuyCostParams) WithDefaults ¶
func (o *PostAPIKeyPackageMasterBuyCostParams) WithDefaults() *PostAPIKeyPackageMasterBuyCostParams
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 ¶
func (o *PostAPIKeyPackageMasterBuyCostParams) WithHTTPClient(client *http.Client) *PostAPIKeyPackageMasterBuyCostParams
WithHTTPClient adds the HTTPClient to the post API key package master buy cost params
func (*PostAPIKeyPackageMasterBuyCostParams) WithInput ¶
func (o *PostAPIKeyPackageMasterBuyCostParams) WithInput(input *models.RequestBuyPlaygroundMasterPackageRequest) *PostAPIKeyPackageMasterBuyCostParams
WithInput adds the input to the post API key package master buy cost params
func (*PostAPIKeyPackageMasterBuyCostParams) WithTimeout ¶
func (o *PostAPIKeyPackageMasterBuyCostParams) WithTimeout(timeout time.Duration) *PostAPIKeyPackageMasterBuyCostParams
WithTimeout adds the timeout to the post API key package master buy cost params
func (*PostAPIKeyPackageMasterBuyCostParams) WriteToRequest ¶
func (o *PostAPIKeyPackageMasterBuyCostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostAPIKeyPackagePlaygroundBuyBadRequest) Code() int
Code gets the status code for the post Api key package playground buy bad request response
func (*PostAPIKeyPackagePlaygroundBuyBadRequest) Error ¶
func (o *PostAPIKeyPackagePlaygroundBuyBadRequest) Error() string
func (*PostAPIKeyPackagePlaygroundBuyBadRequest) GetPayload ¶
func (o *PostAPIKeyPackagePlaygroundBuyBadRequest) GetPayload() *models.ResponseFailResponse
func (*PostAPIKeyPackagePlaygroundBuyBadRequest) IsClientError ¶
func (o *PostAPIKeyPackagePlaygroundBuyBadRequest) IsClientError() bool
IsClientError returns true when this post Api key package playground buy bad request response has a 4xx status code
func (*PostAPIKeyPackagePlaygroundBuyBadRequest) IsCode ¶
func (o *PostAPIKeyPackagePlaygroundBuyBadRequest) IsCode(code int) bool
IsCode returns true when this post Api key package playground buy bad request response a status code equal to that given
func (*PostAPIKeyPackagePlaygroundBuyBadRequest) IsRedirect ¶
func (o *PostAPIKeyPackagePlaygroundBuyBadRequest) IsRedirect() bool
IsRedirect returns true when this post Api key package playground buy bad request response has a 3xx status code
func (*PostAPIKeyPackagePlaygroundBuyBadRequest) IsServerError ¶
func (o *PostAPIKeyPackagePlaygroundBuyBadRequest) IsServerError() bool
IsServerError returns true when this post Api key package playground buy bad request response has a 5xx status code
func (*PostAPIKeyPackagePlaygroundBuyBadRequest) IsSuccess ¶
func (o *PostAPIKeyPackagePlaygroundBuyBadRequest) IsSuccess() bool
IsSuccess returns true when this post Api key package playground buy bad request response has a 2xx status code
func (*PostAPIKeyPackagePlaygroundBuyBadRequest) String ¶
func (o *PostAPIKeyPackagePlaygroundBuyBadRequest) String() 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 ¶
func (o *PostAPIKeyPackagePlaygroundBuyInternalServerError) Code() int
Code gets the status code for the post Api key package playground buy internal server error response
func (*PostAPIKeyPackagePlaygroundBuyInternalServerError) Error ¶
func (o *PostAPIKeyPackagePlaygroundBuyInternalServerError) Error() string
func (*PostAPIKeyPackagePlaygroundBuyInternalServerError) GetPayload ¶
func (o *PostAPIKeyPackagePlaygroundBuyInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostAPIKeyPackagePlaygroundBuyInternalServerError) IsClientError ¶
func (o *PostAPIKeyPackagePlaygroundBuyInternalServerError) IsClientError() bool
IsClientError returns true when this post Api key package playground buy internal server error response has a 4xx status code
func (*PostAPIKeyPackagePlaygroundBuyInternalServerError) IsCode ¶
func (o *PostAPIKeyPackagePlaygroundBuyInternalServerError) IsCode(code int) bool
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 ¶
func (o *PostAPIKeyPackagePlaygroundBuyInternalServerError) IsRedirect() bool
IsRedirect returns true when this post Api key package playground buy internal server error response has a 3xx status code
func (*PostAPIKeyPackagePlaygroundBuyInternalServerError) IsServerError ¶
func (o *PostAPIKeyPackagePlaygroundBuyInternalServerError) IsServerError() bool
IsServerError returns true when this post Api key package playground buy internal server error response has a 5xx status code
func (*PostAPIKeyPackagePlaygroundBuyInternalServerError) IsSuccess ¶
func (o *PostAPIKeyPackagePlaygroundBuyInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api key package playground buy internal server error response has a 2xx status code
func (*PostAPIKeyPackagePlaygroundBuyInternalServerError) String ¶
func (o *PostAPIKeyPackagePlaygroundBuyInternalServerError) String() 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 ¶
func (o *PostAPIKeyPackagePlaygroundBuyOK) Code() int
Code gets the status code for the post Api key package playground buy o k response
func (*PostAPIKeyPackagePlaygroundBuyOK) Error ¶
func (o *PostAPIKeyPackagePlaygroundBuyOK) Error() string
func (*PostAPIKeyPackagePlaygroundBuyOK) GetPayload ¶
func (o *PostAPIKeyPackagePlaygroundBuyOK) GetPayload() *models.ResponseAPIPackageResponse
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 ¶
func (o *PostAPIKeyPackagePlaygroundBuyOK) String() 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 ¶
func (o *PostAPIKeyPackagePlaygroundBuyParams) SetContext(ctx context.Context)
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 ¶
func (o *PostAPIKeyPackagePlaygroundBuyParams) SetInput(input *models.RequestBuyPlaygroundPackageRequest)
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 ¶
func (o *PostAPIKeyPackagePlaygroundBuyParams) WithContext(ctx context.Context) *PostAPIKeyPackagePlaygroundBuyParams
WithContext adds the context to the post API key package playground buy params
func (*PostAPIKeyPackagePlaygroundBuyParams) WithDefaults ¶
func (o *PostAPIKeyPackagePlaygroundBuyParams) WithDefaults() *PostAPIKeyPackagePlaygroundBuyParams
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 ¶
func (o *PostAPIKeyPackagePlaygroundBuyParams) WithHTTPClient(client *http.Client) *PostAPIKeyPackagePlaygroundBuyParams
WithHTTPClient adds the HTTPClient to the post API key package playground buy params
func (*PostAPIKeyPackagePlaygroundBuyParams) WithInput ¶
func (o *PostAPIKeyPackagePlaygroundBuyParams) WithInput(input *models.RequestBuyPlaygroundPackageRequest) *PostAPIKeyPackagePlaygroundBuyParams
WithInput adds the input to the post API key package playground buy params
func (*PostAPIKeyPackagePlaygroundBuyParams) WithTimeout ¶
func (o *PostAPIKeyPackagePlaygroundBuyParams) WithTimeout(timeout time.Duration) *PostAPIKeyPackagePlaygroundBuyParams
WithTimeout adds the timeout to the post API key package playground buy params
func (*PostAPIKeyPackagePlaygroundBuyParams) WriteToRequest ¶
func (o *PostAPIKeyPackagePlaygroundBuyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- api_key_package_client.go
- get_api_key_package_id_parameters.go
- get_api_key_package_id_responses.go
- post_api_key_package_api_buy_parameters.go
- post_api_key_package_api_buy_responses.go
- post_api_key_package_buy_cost_parameters.go
- post_api_key_package_buy_cost_responses.go
- post_api_key_package_master_buy_cost_parameters.go
- post_api_key_package_master_buy_cost_responses.go
- post_api_key_package_playground_buy_parameters.go
- post_api_key_package_playground_buy_responses.go