Documentation
¶
Overview ¶
Package quicknode provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen/v2 version v2.1.0 DO NOT EDIT.
Index ¶
- Constants
- func GetSwagger() (swagger *openapi3.T, err error)
- func NewDeleteV0EndpointsIdRequest(server string, id string) (*http.Request, error)
- func NewDeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdRequest(server string, id string, domainMaskId string) (*http.Request, error)
- func NewDeleteV0EndpointsIdSecurityIpsIpIdRequest(server string, id string, ipId string) (*http.Request, error)
- func NewDeleteV0EndpointsIdSecurityJwtsJwtIdRequest(server string, id string, jwtId string) (*http.Request, error)
- func NewDeleteV0EndpointsIdSecurityReferrersReferrerIdRequest(server string, id string, referrerId string) (*http.Request, error)
- func NewDeleteV0EndpointsIdSecurityTokensTokenIdRequest(server string, id string, tokenId string) (*http.Request, error)
- func NewGetV0ChainsRequest(server string) (*http.Request, error)
- func NewGetV0EndpointsIdRequest(server string, id string) (*http.Request, error)
- func NewGetV0EndpointsRequest(server string) (*http.Request, error)
- func NewGetV0UsageRpcByChainRequest(server string, params *GetV0UsageRpcByChainParams) (*http.Request, error)
- func NewGetV0UsageRpcByEndpointRequest(server string, params *GetV0UsageRpcByEndpointParams) (*http.Request, error)
- func NewGetV0UsageRpcByMethodRequest(server string, params *GetV0UsageRpcByMethodParams) (*http.Request, error)
- func NewGetV0UsageRpcRequest(server string, params *GetV0UsageRpcParams) (*http.Request, error)
- func NewPatchV0EndpointsIdRequest(server string, id string, body PatchV0EndpointsIdJSONRequestBody) (*http.Request, error)
- func NewPatchV0EndpointsIdRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV0EndpointsIdSecurityDomainMasksRequest(server string, id string, ...) (*http.Request, error)
- func NewPostV0EndpointsIdSecurityDomainMasksRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV0EndpointsIdSecurityIpsRequest(server string, id string, body PostV0EndpointsIdSecurityIpsJSONRequestBody) (*http.Request, error)
- func NewPostV0EndpointsIdSecurityIpsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV0EndpointsIdSecurityJwtsRequest(server string, id string, body PostV0EndpointsIdSecurityJwtsJSONRequestBody) (*http.Request, error)
- func NewPostV0EndpointsIdSecurityJwtsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV0EndpointsIdSecurityReferrersRequest(server string, id string, ...) (*http.Request, error)
- func NewPostV0EndpointsIdSecurityReferrersRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV0EndpointsIdSecurityTokensRequest(server string, id string) (*http.Request, error)
- func NewPostV0EndpointsRequest(server string, body PostV0EndpointsJSONRequestBody) (*http.Request, error)
- func NewPostV0EndpointsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type Chain
- type ChainUsage
- type Client
- func (c *Client) DeleteV0EndpointsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteV0EndpointsIdSecurityDomainMasksDomainMaskId(ctx context.Context, id string, domainMaskId string, ...) (*http.Response, error)
- func (c *Client) DeleteV0EndpointsIdSecurityIpsIpId(ctx context.Context, id string, ipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteV0EndpointsIdSecurityJwtsJwtId(ctx context.Context, id string, jwtId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteV0EndpointsIdSecurityReferrersReferrerId(ctx context.Context, id string, referrerId string, ...) (*http.Response, error)
- func (c *Client) DeleteV0EndpointsIdSecurityTokensTokenId(ctx context.Context, id string, tokenId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV0Chains(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV0Endpoints(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV0EndpointsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV0UsageRpc(ctx context.Context, params *GetV0UsageRpcParams, ...) (*http.Response, error)
- func (c *Client) GetV0UsageRpcByChain(ctx context.Context, params *GetV0UsageRpcByChainParams, ...) (*http.Response, error)
- func (c *Client) GetV0UsageRpcByEndpoint(ctx context.Context, params *GetV0UsageRpcByEndpointParams, ...) (*http.Response, error)
- func (c *Client) GetV0UsageRpcByMethod(ctx context.Context, params *GetV0UsageRpcByMethodParams, ...) (*http.Response, error)
- func (c *Client) PatchV0EndpointsId(ctx context.Context, id string, body PatchV0EndpointsIdJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchV0EndpointsIdWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV0Endpoints(ctx context.Context, body PostV0EndpointsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostV0EndpointsIdSecurityDomainMasks(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) PostV0EndpointsIdSecurityDomainMasksWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV0EndpointsIdSecurityIps(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) PostV0EndpointsIdSecurityIpsWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV0EndpointsIdSecurityJwts(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) PostV0EndpointsIdSecurityJwtsWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV0EndpointsIdSecurityReferrers(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) PostV0EndpointsIdSecurityReferrersWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV0EndpointsIdSecurityTokens(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostV0EndpointsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdWithResponse(ctx context.Context, id string, domainMaskId string, ...) (*DeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdResponse, error)
- func (c *ClientWithResponses) DeleteV0EndpointsIdSecurityIpsIpIdWithResponse(ctx context.Context, id string, ipId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsIdSecurityIpsIpIdResponse, error)
- func (c *ClientWithResponses) DeleteV0EndpointsIdSecurityJwtsJwtIdWithResponse(ctx context.Context, id string, jwtId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsIdSecurityJwtsJwtIdResponse, error)
- func (c *ClientWithResponses) DeleteV0EndpointsIdSecurityReferrersReferrerIdWithResponse(ctx context.Context, id string, referrerId string, ...) (*DeleteV0EndpointsIdSecurityReferrersReferrerIdResponse, error)
- func (c *ClientWithResponses) DeleteV0EndpointsIdSecurityTokensTokenIdWithResponse(ctx context.Context, id string, tokenId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsIdSecurityTokensTokenIdResponse, error)
- func (c *ClientWithResponses) DeleteV0EndpointsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsIdResponse, error)
- func (c *ClientWithResponses) GetV0ChainsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV0ChainsResponse, error)
- func (c *ClientWithResponses) GetV0EndpointsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV0EndpointsIdResponse, error)
- func (c *ClientWithResponses) GetV0EndpointsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV0EndpointsResponse, error)
- func (c *ClientWithResponses) GetV0UsageRpcByChainWithResponse(ctx context.Context, params *GetV0UsageRpcByChainParams, ...) (*GetV0UsageRpcByChainResponse, error)
- func (c *ClientWithResponses) GetV0UsageRpcByEndpointWithResponse(ctx context.Context, params *GetV0UsageRpcByEndpointParams, ...) (*GetV0UsageRpcByEndpointResponse, error)
- func (c *ClientWithResponses) GetV0UsageRpcByMethodWithResponse(ctx context.Context, params *GetV0UsageRpcByMethodParams, ...) (*GetV0UsageRpcByMethodResponse, error)
- func (c *ClientWithResponses) GetV0UsageRpcWithResponse(ctx context.Context, params *GetV0UsageRpcParams, ...) (*GetV0UsageRpcResponse, error)
- func (c *ClientWithResponses) PatchV0EndpointsIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*PatchV0EndpointsIdResponse, error)
- func (c *ClientWithResponses) PatchV0EndpointsIdWithResponse(ctx context.Context, id string, body PatchV0EndpointsIdJSONRequestBody, ...) (*PatchV0EndpointsIdResponse, error)
- func (c *ClientWithResponses) PostV0EndpointsIdSecurityDomainMasksWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*PostV0EndpointsIdSecurityDomainMasksResponse, error)
- func (c *ClientWithResponses) PostV0EndpointsIdSecurityDomainMasksWithResponse(ctx context.Context, id string, ...) (*PostV0EndpointsIdSecurityDomainMasksResponse, error)
- func (c *ClientWithResponses) PostV0EndpointsIdSecurityIpsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*PostV0EndpointsIdSecurityIpsResponse, error)
- func (c *ClientWithResponses) PostV0EndpointsIdSecurityIpsWithResponse(ctx context.Context, id string, ...) (*PostV0EndpointsIdSecurityIpsResponse, error)
- func (c *ClientWithResponses) PostV0EndpointsIdSecurityJwtsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*PostV0EndpointsIdSecurityJwtsResponse, error)
- func (c *ClientWithResponses) PostV0EndpointsIdSecurityJwtsWithResponse(ctx context.Context, id string, ...) (*PostV0EndpointsIdSecurityJwtsResponse, error)
- func (c *ClientWithResponses) PostV0EndpointsIdSecurityReferrersWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*PostV0EndpointsIdSecurityReferrersResponse, error)
- func (c *ClientWithResponses) PostV0EndpointsIdSecurityReferrersWithResponse(ctx context.Context, id string, ...) (*PostV0EndpointsIdSecurityReferrersResponse, error)
- func (c *ClientWithResponses) PostV0EndpointsIdSecurityTokensWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostV0EndpointsIdSecurityTokensResponse, error)
- func (c *ClientWithResponses) PostV0EndpointsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostV0EndpointsResponse, error)
- func (c *ClientWithResponses) PostV0EndpointsWithResponse(ctx context.Context, body PostV0EndpointsJSONRequestBody, ...) (*PostV0EndpointsResponse, error)
- type ClientWithResponsesInterface
- type DeleteV0EndpointsIdResponse
- type DeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdResponse
- type DeleteV0EndpointsIdSecurityIpsIpIdResponse
- type DeleteV0EndpointsIdSecurityJwtsJwtIdResponse
- type DeleteV0EndpointsIdSecurityReferrersReferrerIdResponse
- type DeleteV0EndpointsIdSecurityTokensTokenIdResponse
- type Endpoint
- type EndpointDomainMask
- type EndpointIp
- type EndpointJwt
- type EndpointReferrer
- type EndpointSecurity
- type EndpointToken
- type EndpointUsage
- type GetV0ChainsResponse
- type GetV0EndpointsIdResponse
- type GetV0EndpointsResponse
- type GetV0UsageRpcByChainParams
- type GetV0UsageRpcByChainResponse
- type GetV0UsageRpcByEndpointParams
- type GetV0UsageRpcByEndpointResponse
- type GetV0UsageRpcByMethodParams
- type GetV0UsageRpcByMethodResponse
- type GetV0UsageRpcParams
- type GetV0UsageRpcResponse
- type HttpRequestDoer
- type MethodUsage
- type Network
- type PatchV0EndpointsIdJSONBody
- type PatchV0EndpointsIdJSONRequestBody
- type PatchV0EndpointsIdResponse
- type PostV0EndpointsIdSecurityDomainMasksJSONBody
- type PostV0EndpointsIdSecurityDomainMasksJSONRequestBody
- type PostV0EndpointsIdSecurityDomainMasksResponse
- type PostV0EndpointsIdSecurityIpsJSONBody
- type PostV0EndpointsIdSecurityIpsJSONRequestBody
- type PostV0EndpointsIdSecurityIpsResponse
- type PostV0EndpointsIdSecurityJwtsJSONBody
- type PostV0EndpointsIdSecurityJwtsJSONRequestBody
- type PostV0EndpointsIdSecurityJwtsResponse
- type PostV0EndpointsIdSecurityReferrersJSONBody
- type PostV0EndpointsIdSecurityReferrersJSONRequestBody
- type PostV0EndpointsIdSecurityReferrersResponse
- type PostV0EndpointsIdSecurityTokensResponse
- type PostV0EndpointsJSONBody
- type PostV0EndpointsJSONRequestBody
- type PostV0EndpointsResponse
- type RequestEditorFn
Constants ¶
const (
BearerAuthScopes = "bearerAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func GetSwagger ¶
GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.
func NewDeleteV0EndpointsIdRequest ¶
NewDeleteV0EndpointsIdRequest generates requests for DeleteV0EndpointsId
func NewDeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdRequest ¶
func NewDeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdRequest(server string, id string, domainMaskId string) (*http.Request, error)
NewDeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdRequest generates requests for DeleteV0EndpointsIdSecurityDomainMasksDomainMaskId
func NewDeleteV0EndpointsIdSecurityIpsIpIdRequest ¶
func NewDeleteV0EndpointsIdSecurityIpsIpIdRequest(server string, id string, ipId string) (*http.Request, error)
NewDeleteV0EndpointsIdSecurityIpsIpIdRequest generates requests for DeleteV0EndpointsIdSecurityIpsIpId
func NewDeleteV0EndpointsIdSecurityJwtsJwtIdRequest ¶
func NewDeleteV0EndpointsIdSecurityJwtsJwtIdRequest(server string, id string, jwtId string) (*http.Request, error)
NewDeleteV0EndpointsIdSecurityJwtsJwtIdRequest generates requests for DeleteV0EndpointsIdSecurityJwtsJwtId
func NewDeleteV0EndpointsIdSecurityReferrersReferrerIdRequest ¶
func NewDeleteV0EndpointsIdSecurityReferrersReferrerIdRequest(server string, id string, referrerId string) (*http.Request, error)
NewDeleteV0EndpointsIdSecurityReferrersReferrerIdRequest generates requests for DeleteV0EndpointsIdSecurityReferrersReferrerId
func NewDeleteV0EndpointsIdSecurityTokensTokenIdRequest ¶
func NewDeleteV0EndpointsIdSecurityTokensTokenIdRequest(server string, id string, tokenId string) (*http.Request, error)
NewDeleteV0EndpointsIdSecurityTokensTokenIdRequest generates requests for DeleteV0EndpointsIdSecurityTokensTokenId
func NewGetV0ChainsRequest ¶
NewGetV0ChainsRequest generates requests for GetV0Chains
func NewGetV0EndpointsIdRequest ¶
NewGetV0EndpointsIdRequest generates requests for GetV0EndpointsId
func NewGetV0EndpointsRequest ¶
NewGetV0EndpointsRequest generates requests for GetV0Endpoints
func NewGetV0UsageRpcByChainRequest ¶
func NewGetV0UsageRpcByChainRequest(server string, params *GetV0UsageRpcByChainParams) (*http.Request, error)
NewGetV0UsageRpcByChainRequest generates requests for GetV0UsageRpcByChain
func NewGetV0UsageRpcByEndpointRequest ¶
func NewGetV0UsageRpcByEndpointRequest(server string, params *GetV0UsageRpcByEndpointParams) (*http.Request, error)
NewGetV0UsageRpcByEndpointRequest generates requests for GetV0UsageRpcByEndpoint
func NewGetV0UsageRpcByMethodRequest ¶
func NewGetV0UsageRpcByMethodRequest(server string, params *GetV0UsageRpcByMethodParams) (*http.Request, error)
NewGetV0UsageRpcByMethodRequest generates requests for GetV0UsageRpcByMethod
func NewGetV0UsageRpcRequest ¶
func NewGetV0UsageRpcRequest(server string, params *GetV0UsageRpcParams) (*http.Request, error)
NewGetV0UsageRpcRequest generates requests for GetV0UsageRpc
func NewPatchV0EndpointsIdRequest ¶
func NewPatchV0EndpointsIdRequest(server string, id string, body PatchV0EndpointsIdJSONRequestBody) (*http.Request, error)
NewPatchV0EndpointsIdRequest calls the generic PatchV0EndpointsId builder with application/json body
func NewPatchV0EndpointsIdRequestWithBody ¶
func NewPatchV0EndpointsIdRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewPatchV0EndpointsIdRequestWithBody generates requests for PatchV0EndpointsId with any type of body
func NewPostV0EndpointsIdSecurityDomainMasksRequest ¶
func NewPostV0EndpointsIdSecurityDomainMasksRequest(server string, id string, body PostV0EndpointsIdSecurityDomainMasksJSONRequestBody) (*http.Request, error)
NewPostV0EndpointsIdSecurityDomainMasksRequest calls the generic PostV0EndpointsIdSecurityDomainMasks builder with application/json body
func NewPostV0EndpointsIdSecurityDomainMasksRequestWithBody ¶
func NewPostV0EndpointsIdSecurityDomainMasksRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewPostV0EndpointsIdSecurityDomainMasksRequestWithBody generates requests for PostV0EndpointsIdSecurityDomainMasks with any type of body
func NewPostV0EndpointsIdSecurityIpsRequest ¶
func NewPostV0EndpointsIdSecurityIpsRequest(server string, id string, body PostV0EndpointsIdSecurityIpsJSONRequestBody) (*http.Request, error)
NewPostV0EndpointsIdSecurityIpsRequest calls the generic PostV0EndpointsIdSecurityIps builder with application/json body
func NewPostV0EndpointsIdSecurityIpsRequestWithBody ¶
func NewPostV0EndpointsIdSecurityIpsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewPostV0EndpointsIdSecurityIpsRequestWithBody generates requests for PostV0EndpointsIdSecurityIps with any type of body
func NewPostV0EndpointsIdSecurityJwtsRequest ¶
func NewPostV0EndpointsIdSecurityJwtsRequest(server string, id string, body PostV0EndpointsIdSecurityJwtsJSONRequestBody) (*http.Request, error)
NewPostV0EndpointsIdSecurityJwtsRequest calls the generic PostV0EndpointsIdSecurityJwts builder with application/json body
func NewPostV0EndpointsIdSecurityJwtsRequestWithBody ¶
func NewPostV0EndpointsIdSecurityJwtsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewPostV0EndpointsIdSecurityJwtsRequestWithBody generates requests for PostV0EndpointsIdSecurityJwts with any type of body
func NewPostV0EndpointsIdSecurityReferrersRequest ¶
func NewPostV0EndpointsIdSecurityReferrersRequest(server string, id string, body PostV0EndpointsIdSecurityReferrersJSONRequestBody) (*http.Request, error)
NewPostV0EndpointsIdSecurityReferrersRequest calls the generic PostV0EndpointsIdSecurityReferrers builder with application/json body
func NewPostV0EndpointsIdSecurityReferrersRequestWithBody ¶
func NewPostV0EndpointsIdSecurityReferrersRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewPostV0EndpointsIdSecurityReferrersRequestWithBody generates requests for PostV0EndpointsIdSecurityReferrers with any type of body
func NewPostV0EndpointsIdSecurityTokensRequest ¶
NewPostV0EndpointsIdSecurityTokensRequest generates requests for PostV0EndpointsIdSecurityTokens
func NewPostV0EndpointsRequest ¶
func NewPostV0EndpointsRequest(server string, body PostV0EndpointsJSONRequestBody) (*http.Request, error)
NewPostV0EndpointsRequest calls the generic PostV0Endpoints builder with application/json body
Types ¶
type Chain ¶
type Chain struct {
Networks *[]Network `json:"networks,omitempty"`
Slug *string `json:"slug,omitempty"`
}
Chain defines model for chain.
type ChainUsage ¶
type ChainUsage struct {
CreditsUsed *int `json:"credits_used,omitempty"`
Name *string `json:"name,omitempty"`
}
ChainUsage defines model for chain_usage.
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) DeleteV0EndpointsId ¶
func (*Client) DeleteV0EndpointsIdSecurityDomainMasksDomainMaskId ¶
func (*Client) DeleteV0EndpointsIdSecurityIpsIpId ¶
func (*Client) DeleteV0EndpointsIdSecurityJwtsJwtId ¶
func (*Client) DeleteV0EndpointsIdSecurityReferrersReferrerId ¶
func (*Client) DeleteV0EndpointsIdSecurityTokensTokenId ¶
func (*Client) GetV0Chains ¶
func (*Client) GetV0Endpoints ¶
func (*Client) GetV0EndpointsId ¶
func (*Client) GetV0UsageRpc ¶
func (c *Client) GetV0UsageRpc(ctx context.Context, params *GetV0UsageRpcParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV0UsageRpcByChain ¶
func (c *Client) GetV0UsageRpcByChain(ctx context.Context, params *GetV0UsageRpcByChainParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV0UsageRpcByEndpoint ¶
func (c *Client) GetV0UsageRpcByEndpoint(ctx context.Context, params *GetV0UsageRpcByEndpointParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV0UsageRpcByMethod ¶
func (c *Client) GetV0UsageRpcByMethod(ctx context.Context, params *GetV0UsageRpcByMethodParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchV0EndpointsId ¶
func (c *Client) PatchV0EndpointsId(ctx context.Context, id string, body PatchV0EndpointsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchV0EndpointsIdWithBody ¶
func (*Client) PostV0Endpoints ¶
func (c *Client) PostV0Endpoints(ctx context.Context, body PostV0EndpointsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV0EndpointsIdSecurityDomainMasks ¶
func (c *Client) PostV0EndpointsIdSecurityDomainMasks(ctx context.Context, id string, body PostV0EndpointsIdSecurityDomainMasksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV0EndpointsIdSecurityDomainMasksWithBody ¶
func (*Client) PostV0EndpointsIdSecurityIps ¶
func (c *Client) PostV0EndpointsIdSecurityIps(ctx context.Context, id string, body PostV0EndpointsIdSecurityIpsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV0EndpointsIdSecurityIpsWithBody ¶
func (*Client) PostV0EndpointsIdSecurityJwts ¶
func (c *Client) PostV0EndpointsIdSecurityJwts(ctx context.Context, id string, body PostV0EndpointsIdSecurityJwtsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV0EndpointsIdSecurityJwtsWithBody ¶
func (*Client) PostV0EndpointsIdSecurityReferrers ¶
func (c *Client) PostV0EndpointsIdSecurityReferrers(ctx context.Context, id string, body PostV0EndpointsIdSecurityReferrersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV0EndpointsIdSecurityReferrersWithBody ¶
func (*Client) PostV0EndpointsIdSecurityTokens ¶
type ClientInterface ¶
type ClientInterface interface {
// GetV0Chains request
GetV0Chains(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV0Endpoints request
GetV0Endpoints(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV0EndpointsWithBody request with any body
PostV0EndpointsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV0Endpoints(ctx context.Context, body PostV0EndpointsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV0EndpointsId request
DeleteV0EndpointsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV0EndpointsId request
GetV0EndpointsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchV0EndpointsIdWithBody request with any body
PatchV0EndpointsIdWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchV0EndpointsId(ctx context.Context, id string, body PatchV0EndpointsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV0EndpointsIdSecurityDomainMasksWithBody request with any body
PostV0EndpointsIdSecurityDomainMasksWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV0EndpointsIdSecurityDomainMasks(ctx context.Context, id string, body PostV0EndpointsIdSecurityDomainMasksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV0EndpointsIdSecurityDomainMasksDomainMaskId request
DeleteV0EndpointsIdSecurityDomainMasksDomainMaskId(ctx context.Context, id string, domainMaskId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV0EndpointsIdSecurityIpsWithBody request with any body
PostV0EndpointsIdSecurityIpsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV0EndpointsIdSecurityIps(ctx context.Context, id string, body PostV0EndpointsIdSecurityIpsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV0EndpointsIdSecurityIpsIpId request
DeleteV0EndpointsIdSecurityIpsIpId(ctx context.Context, id string, ipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV0EndpointsIdSecurityJwtsWithBody request with any body
PostV0EndpointsIdSecurityJwtsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV0EndpointsIdSecurityJwts(ctx context.Context, id string, body PostV0EndpointsIdSecurityJwtsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV0EndpointsIdSecurityJwtsJwtId request
DeleteV0EndpointsIdSecurityJwtsJwtId(ctx context.Context, id string, jwtId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV0EndpointsIdSecurityReferrersWithBody request with any body
PostV0EndpointsIdSecurityReferrersWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV0EndpointsIdSecurityReferrers(ctx context.Context, id string, body PostV0EndpointsIdSecurityReferrersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV0EndpointsIdSecurityReferrersReferrerId request
DeleteV0EndpointsIdSecurityReferrersReferrerId(ctx context.Context, id string, referrerId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV0EndpointsIdSecurityTokens request
PostV0EndpointsIdSecurityTokens(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV0EndpointsIdSecurityTokensTokenId request
DeleteV0EndpointsIdSecurityTokensTokenId(ctx context.Context, id string, tokenId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV0UsageRpc request
GetV0UsageRpc(ctx context.Context, params *GetV0UsageRpcParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV0UsageRpcByChain request
GetV0UsageRpcByChain(ctx context.Context, params *GetV0UsageRpcByChainParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV0UsageRpcByEndpoint request
GetV0UsageRpcByEndpoint(ctx context.Context, params *GetV0UsageRpcByEndpointParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV0UsageRpcByMethod request
GetV0UsageRpcByMethod(ctx context.Context, params *GetV0UsageRpcByMethodParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) DeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdWithResponse ¶
func (c *ClientWithResponses) DeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdWithResponse(ctx context.Context, id string, domainMaskId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdResponse, error)
DeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdWithResponse request returning *DeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdResponse
func (*ClientWithResponses) DeleteV0EndpointsIdSecurityIpsIpIdWithResponse ¶
func (c *ClientWithResponses) DeleteV0EndpointsIdSecurityIpsIpIdWithResponse(ctx context.Context, id string, ipId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsIdSecurityIpsIpIdResponse, error)
DeleteV0EndpointsIdSecurityIpsIpIdWithResponse request returning *DeleteV0EndpointsIdSecurityIpsIpIdResponse
func (*ClientWithResponses) DeleteV0EndpointsIdSecurityJwtsJwtIdWithResponse ¶
func (c *ClientWithResponses) DeleteV0EndpointsIdSecurityJwtsJwtIdWithResponse(ctx context.Context, id string, jwtId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsIdSecurityJwtsJwtIdResponse, error)
DeleteV0EndpointsIdSecurityJwtsJwtIdWithResponse request returning *DeleteV0EndpointsIdSecurityJwtsJwtIdResponse
func (*ClientWithResponses) DeleteV0EndpointsIdSecurityReferrersReferrerIdWithResponse ¶
func (c *ClientWithResponses) DeleteV0EndpointsIdSecurityReferrersReferrerIdWithResponse(ctx context.Context, id string, referrerId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsIdSecurityReferrersReferrerIdResponse, error)
DeleteV0EndpointsIdSecurityReferrersReferrerIdWithResponse request returning *DeleteV0EndpointsIdSecurityReferrersReferrerIdResponse
func (*ClientWithResponses) DeleteV0EndpointsIdSecurityTokensTokenIdWithResponse ¶
func (c *ClientWithResponses) DeleteV0EndpointsIdSecurityTokensTokenIdWithResponse(ctx context.Context, id string, tokenId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsIdSecurityTokensTokenIdResponse, error)
DeleteV0EndpointsIdSecurityTokensTokenIdWithResponse request returning *DeleteV0EndpointsIdSecurityTokensTokenIdResponse
func (*ClientWithResponses) DeleteV0EndpointsIdWithResponse ¶
func (c *ClientWithResponses) DeleteV0EndpointsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsIdResponse, error)
DeleteV0EndpointsIdWithResponse request returning *DeleteV0EndpointsIdResponse
func (*ClientWithResponses) GetV0ChainsWithResponse ¶
func (c *ClientWithResponses) GetV0ChainsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV0ChainsResponse, error)
GetV0ChainsWithResponse request returning *GetV0ChainsResponse
func (*ClientWithResponses) GetV0EndpointsIdWithResponse ¶
func (c *ClientWithResponses) GetV0EndpointsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV0EndpointsIdResponse, error)
GetV0EndpointsIdWithResponse request returning *GetV0EndpointsIdResponse
func (*ClientWithResponses) GetV0EndpointsWithResponse ¶
func (c *ClientWithResponses) GetV0EndpointsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV0EndpointsResponse, error)
GetV0EndpointsWithResponse request returning *GetV0EndpointsResponse
func (*ClientWithResponses) GetV0UsageRpcByChainWithResponse ¶
func (c *ClientWithResponses) GetV0UsageRpcByChainWithResponse(ctx context.Context, params *GetV0UsageRpcByChainParams, reqEditors ...RequestEditorFn) (*GetV0UsageRpcByChainResponse, error)
GetV0UsageRpcByChainWithResponse request returning *GetV0UsageRpcByChainResponse
func (*ClientWithResponses) GetV0UsageRpcByEndpointWithResponse ¶
func (c *ClientWithResponses) GetV0UsageRpcByEndpointWithResponse(ctx context.Context, params *GetV0UsageRpcByEndpointParams, reqEditors ...RequestEditorFn) (*GetV0UsageRpcByEndpointResponse, error)
GetV0UsageRpcByEndpointWithResponse request returning *GetV0UsageRpcByEndpointResponse
func (*ClientWithResponses) GetV0UsageRpcByMethodWithResponse ¶
func (c *ClientWithResponses) GetV0UsageRpcByMethodWithResponse(ctx context.Context, params *GetV0UsageRpcByMethodParams, reqEditors ...RequestEditorFn) (*GetV0UsageRpcByMethodResponse, error)
GetV0UsageRpcByMethodWithResponse request returning *GetV0UsageRpcByMethodResponse
func (*ClientWithResponses) GetV0UsageRpcWithResponse ¶
func (c *ClientWithResponses) GetV0UsageRpcWithResponse(ctx context.Context, params *GetV0UsageRpcParams, reqEditors ...RequestEditorFn) (*GetV0UsageRpcResponse, error)
GetV0UsageRpcWithResponse request returning *GetV0UsageRpcResponse
func (*ClientWithResponses) PatchV0EndpointsIdWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchV0EndpointsIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV0EndpointsIdResponse, error)
PatchV0EndpointsIdWithBodyWithResponse request with arbitrary body returning *PatchV0EndpointsIdResponse
func (*ClientWithResponses) PatchV0EndpointsIdWithResponse ¶
func (c *ClientWithResponses) PatchV0EndpointsIdWithResponse(ctx context.Context, id string, body PatchV0EndpointsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV0EndpointsIdResponse, error)
func (*ClientWithResponses) PostV0EndpointsIdSecurityDomainMasksWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV0EndpointsIdSecurityDomainMasksWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsIdSecurityDomainMasksResponse, error)
PostV0EndpointsIdSecurityDomainMasksWithBodyWithResponse request with arbitrary body returning *PostV0EndpointsIdSecurityDomainMasksResponse
func (*ClientWithResponses) PostV0EndpointsIdSecurityDomainMasksWithResponse ¶
func (c *ClientWithResponses) PostV0EndpointsIdSecurityDomainMasksWithResponse(ctx context.Context, id string, body PostV0EndpointsIdSecurityDomainMasksJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsIdSecurityDomainMasksResponse, error)
func (*ClientWithResponses) PostV0EndpointsIdSecurityIpsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV0EndpointsIdSecurityIpsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsIdSecurityIpsResponse, error)
PostV0EndpointsIdSecurityIpsWithBodyWithResponse request with arbitrary body returning *PostV0EndpointsIdSecurityIpsResponse
func (*ClientWithResponses) PostV0EndpointsIdSecurityIpsWithResponse ¶
func (c *ClientWithResponses) PostV0EndpointsIdSecurityIpsWithResponse(ctx context.Context, id string, body PostV0EndpointsIdSecurityIpsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsIdSecurityIpsResponse, error)
func (*ClientWithResponses) PostV0EndpointsIdSecurityJwtsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV0EndpointsIdSecurityJwtsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsIdSecurityJwtsResponse, error)
PostV0EndpointsIdSecurityJwtsWithBodyWithResponse request with arbitrary body returning *PostV0EndpointsIdSecurityJwtsResponse
func (*ClientWithResponses) PostV0EndpointsIdSecurityJwtsWithResponse ¶
func (c *ClientWithResponses) PostV0EndpointsIdSecurityJwtsWithResponse(ctx context.Context, id string, body PostV0EndpointsIdSecurityJwtsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsIdSecurityJwtsResponse, error)
func (*ClientWithResponses) PostV0EndpointsIdSecurityReferrersWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV0EndpointsIdSecurityReferrersWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsIdSecurityReferrersResponse, error)
PostV0EndpointsIdSecurityReferrersWithBodyWithResponse request with arbitrary body returning *PostV0EndpointsIdSecurityReferrersResponse
func (*ClientWithResponses) PostV0EndpointsIdSecurityReferrersWithResponse ¶
func (c *ClientWithResponses) PostV0EndpointsIdSecurityReferrersWithResponse(ctx context.Context, id string, body PostV0EndpointsIdSecurityReferrersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsIdSecurityReferrersResponse, error)
func (*ClientWithResponses) PostV0EndpointsIdSecurityTokensWithResponse ¶
func (c *ClientWithResponses) PostV0EndpointsIdSecurityTokensWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostV0EndpointsIdSecurityTokensResponse, error)
PostV0EndpointsIdSecurityTokensWithResponse request returning *PostV0EndpointsIdSecurityTokensResponse
func (*ClientWithResponses) PostV0EndpointsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV0EndpointsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsResponse, error)
PostV0EndpointsWithBodyWithResponse request with arbitrary body returning *PostV0EndpointsResponse
func (*ClientWithResponses) PostV0EndpointsWithResponse ¶
func (c *ClientWithResponses) PostV0EndpointsWithResponse(ctx context.Context, body PostV0EndpointsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetV0ChainsWithResponse request
GetV0ChainsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV0ChainsResponse, error)
// GetV0EndpointsWithResponse request
GetV0EndpointsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV0EndpointsResponse, error)
// PostV0EndpointsWithBodyWithResponse request with any body
PostV0EndpointsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsResponse, error)
PostV0EndpointsWithResponse(ctx context.Context, body PostV0EndpointsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsResponse, error)
// DeleteV0EndpointsIdWithResponse request
DeleteV0EndpointsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsIdResponse, error)
// GetV0EndpointsIdWithResponse request
GetV0EndpointsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV0EndpointsIdResponse, error)
// PatchV0EndpointsIdWithBodyWithResponse request with any body
PatchV0EndpointsIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV0EndpointsIdResponse, error)
PatchV0EndpointsIdWithResponse(ctx context.Context, id string, body PatchV0EndpointsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV0EndpointsIdResponse, error)
// PostV0EndpointsIdSecurityDomainMasksWithBodyWithResponse request with any body
PostV0EndpointsIdSecurityDomainMasksWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsIdSecurityDomainMasksResponse, error)
PostV0EndpointsIdSecurityDomainMasksWithResponse(ctx context.Context, id string, body PostV0EndpointsIdSecurityDomainMasksJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsIdSecurityDomainMasksResponse, error)
// DeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdWithResponse request
DeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdWithResponse(ctx context.Context, id string, domainMaskId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdResponse, error)
// PostV0EndpointsIdSecurityIpsWithBodyWithResponse request with any body
PostV0EndpointsIdSecurityIpsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsIdSecurityIpsResponse, error)
PostV0EndpointsIdSecurityIpsWithResponse(ctx context.Context, id string, body PostV0EndpointsIdSecurityIpsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsIdSecurityIpsResponse, error)
// DeleteV0EndpointsIdSecurityIpsIpIdWithResponse request
DeleteV0EndpointsIdSecurityIpsIpIdWithResponse(ctx context.Context, id string, ipId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsIdSecurityIpsIpIdResponse, error)
// PostV0EndpointsIdSecurityJwtsWithBodyWithResponse request with any body
PostV0EndpointsIdSecurityJwtsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsIdSecurityJwtsResponse, error)
PostV0EndpointsIdSecurityJwtsWithResponse(ctx context.Context, id string, body PostV0EndpointsIdSecurityJwtsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsIdSecurityJwtsResponse, error)
// DeleteV0EndpointsIdSecurityJwtsJwtIdWithResponse request
DeleteV0EndpointsIdSecurityJwtsJwtIdWithResponse(ctx context.Context, id string, jwtId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsIdSecurityJwtsJwtIdResponse, error)
// PostV0EndpointsIdSecurityReferrersWithBodyWithResponse request with any body
PostV0EndpointsIdSecurityReferrersWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsIdSecurityReferrersResponse, error)
PostV0EndpointsIdSecurityReferrersWithResponse(ctx context.Context, id string, body PostV0EndpointsIdSecurityReferrersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsIdSecurityReferrersResponse, error)
// DeleteV0EndpointsIdSecurityReferrersReferrerIdWithResponse request
DeleteV0EndpointsIdSecurityReferrersReferrerIdWithResponse(ctx context.Context, id string, referrerId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsIdSecurityReferrersReferrerIdResponse, error)
// PostV0EndpointsIdSecurityTokensWithResponse request
PostV0EndpointsIdSecurityTokensWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostV0EndpointsIdSecurityTokensResponse, error)
// DeleteV0EndpointsIdSecurityTokensTokenIdWithResponse request
DeleteV0EndpointsIdSecurityTokensTokenIdWithResponse(ctx context.Context, id string, tokenId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsIdSecurityTokensTokenIdResponse, error)
// GetV0UsageRpcWithResponse request
GetV0UsageRpcWithResponse(ctx context.Context, params *GetV0UsageRpcParams, reqEditors ...RequestEditorFn) (*GetV0UsageRpcResponse, error)
// GetV0UsageRpcByChainWithResponse request
GetV0UsageRpcByChainWithResponse(ctx context.Context, params *GetV0UsageRpcByChainParams, reqEditors ...RequestEditorFn) (*GetV0UsageRpcByChainResponse, error)
// GetV0UsageRpcByEndpointWithResponse request
GetV0UsageRpcByEndpointWithResponse(ctx context.Context, params *GetV0UsageRpcByEndpointParams, reqEditors ...RequestEditorFn) (*GetV0UsageRpcByEndpointResponse, error)
// GetV0UsageRpcByMethodWithResponse request
GetV0UsageRpcByMethodWithResponse(ctx context.Context, params *GetV0UsageRpcByMethodParams, reqEditors ...RequestEditorFn) (*GetV0UsageRpcByMethodResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type DeleteV0EndpointsIdResponse ¶
func ParseDeleteV0EndpointsIdResponse ¶
func ParseDeleteV0EndpointsIdResponse(rsp *http.Response) (*DeleteV0EndpointsIdResponse, error)
ParseDeleteV0EndpointsIdResponse parses an HTTP response from a DeleteV0EndpointsIdWithResponse call
func (DeleteV0EndpointsIdResponse) Status ¶
func (r DeleteV0EndpointsIdResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV0EndpointsIdResponse) StatusCode ¶
func (r DeleteV0EndpointsIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdResponse ¶
type DeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseDeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdResponse ¶
func ParseDeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdResponse(rsp *http.Response) (*DeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdResponse, error)
ParseDeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdResponse parses an HTTP response from a DeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdWithResponse call
func (DeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdResponse) Status ¶
func (r DeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdResponse) StatusCode ¶
func (r DeleteV0EndpointsIdSecurityDomainMasksDomainMaskIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV0EndpointsIdSecurityIpsIpIdResponse ¶
type DeleteV0EndpointsIdSecurityIpsIpIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *bool `json:"data,omitempty"`
Error *string `json:"error"`
}
}
func ParseDeleteV0EndpointsIdSecurityIpsIpIdResponse ¶
func ParseDeleteV0EndpointsIdSecurityIpsIpIdResponse(rsp *http.Response) (*DeleteV0EndpointsIdSecurityIpsIpIdResponse, error)
ParseDeleteV0EndpointsIdSecurityIpsIpIdResponse parses an HTTP response from a DeleteV0EndpointsIdSecurityIpsIpIdWithResponse call
func (DeleteV0EndpointsIdSecurityIpsIpIdResponse) Status ¶
func (r DeleteV0EndpointsIdSecurityIpsIpIdResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV0EndpointsIdSecurityIpsIpIdResponse) StatusCode ¶
func (r DeleteV0EndpointsIdSecurityIpsIpIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV0EndpointsIdSecurityJwtsJwtIdResponse ¶
type DeleteV0EndpointsIdSecurityJwtsJwtIdResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseDeleteV0EndpointsIdSecurityJwtsJwtIdResponse ¶
func ParseDeleteV0EndpointsIdSecurityJwtsJwtIdResponse(rsp *http.Response) (*DeleteV0EndpointsIdSecurityJwtsJwtIdResponse, error)
ParseDeleteV0EndpointsIdSecurityJwtsJwtIdResponse parses an HTTP response from a DeleteV0EndpointsIdSecurityJwtsJwtIdWithResponse call
func (DeleteV0EndpointsIdSecurityJwtsJwtIdResponse) Status ¶
func (r DeleteV0EndpointsIdSecurityJwtsJwtIdResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV0EndpointsIdSecurityJwtsJwtIdResponse) StatusCode ¶
func (r DeleteV0EndpointsIdSecurityJwtsJwtIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV0EndpointsIdSecurityReferrersReferrerIdResponse ¶
type DeleteV0EndpointsIdSecurityReferrersReferrerIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *bool `json:"data,omitempty"`
Error *string `json:"error"`
}
}
func ParseDeleteV0EndpointsIdSecurityReferrersReferrerIdResponse ¶
func ParseDeleteV0EndpointsIdSecurityReferrersReferrerIdResponse(rsp *http.Response) (*DeleteV0EndpointsIdSecurityReferrersReferrerIdResponse, error)
ParseDeleteV0EndpointsIdSecurityReferrersReferrerIdResponse parses an HTTP response from a DeleteV0EndpointsIdSecurityReferrersReferrerIdWithResponse call
func (DeleteV0EndpointsIdSecurityReferrersReferrerIdResponse) Status ¶
func (r DeleteV0EndpointsIdSecurityReferrersReferrerIdResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV0EndpointsIdSecurityReferrersReferrerIdResponse) StatusCode ¶
func (r DeleteV0EndpointsIdSecurityReferrersReferrerIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV0EndpointsIdSecurityTokensTokenIdResponse ¶
type DeleteV0EndpointsIdSecurityTokensTokenIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *bool `json:"data,omitempty"`
Error *string `json:"error"`
}
}
func ParseDeleteV0EndpointsIdSecurityTokensTokenIdResponse ¶
func ParseDeleteV0EndpointsIdSecurityTokensTokenIdResponse(rsp *http.Response) (*DeleteV0EndpointsIdSecurityTokensTokenIdResponse, error)
ParseDeleteV0EndpointsIdSecurityTokensTokenIdResponse parses an HTTP response from a DeleteV0EndpointsIdSecurityTokensTokenIdWithResponse call
func (DeleteV0EndpointsIdSecurityTokensTokenIdResponse) Status ¶
func (r DeleteV0EndpointsIdSecurityTokensTokenIdResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV0EndpointsIdSecurityTokensTokenIdResponse) StatusCode ¶
func (r DeleteV0EndpointsIdSecurityTokensTokenIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Endpoint ¶
type Endpoint struct {
// Chain chain slug
Chain string `json:"chain"`
HttpUrl string `json:"http_url"`
Id string `json:"id"`
Label *string `json:"label"`
// Network network slug
Network string `json:"network"`
Security EndpointSecurity `json:"security"`
WssUrl string `json:"wss_url"`
}
Endpoint defines model for endpoint.
type EndpointDomainMask ¶
type EndpointDomainMask struct {
Domain *string `json:"domain,omitempty"`
Id *string `json:"id,omitempty"`
}
EndpointDomainMask defines model for endpoint_domain_mask.
type EndpointIp ¶
EndpointIp defines model for endpoint_ip.
type EndpointJwt ¶
type EndpointJwt struct {
Id *string `json:"id,omitempty"`
Kid *string `json:"kid,omitempty"`
Name *string `json:"name,omitempty"`
PublicKey *string `json:"public_key,omitempty"`
}
EndpointJwt defines model for endpoint_jwt.
type EndpointReferrer ¶
type EndpointReferrer struct {
Id *string `json:"id,omitempty"`
Referrer *string `json:"referrer,omitempty"`
}
EndpointReferrer defines model for endpoint_referrer.
type EndpointSecurity ¶
type EndpointSecurity struct {
DomainMasks *[]EndpointDomainMask `json:"domain_masks,omitempty"`
Ips *[]EndpointIp `json:"ips,omitempty"`
Jwts *[]EndpointJwt `json:"jwts,omitempty"`
Options *struct {
Tokens *bool `json:"tokens,omitempty"`
} `json:"options,omitempty"`
Referrers *[]EndpointReferrer `json:"referrers,omitempty"`
Tokens *[]EndpointToken `json:"tokens,omitempty"`
}
EndpointSecurity defines model for endpoint_security.
type EndpointToken ¶
type EndpointToken struct {
Id *string `json:"id,omitempty"`
Token *string `json:"token,omitempty"`
}
EndpointToken defines model for endpoint_token.
type EndpointUsage ¶
type EndpointUsage struct {
Chain *string `json:"chain,omitempty"`
CreditsUsed *int `json:"credits_used,omitempty"`
Label *string `json:"label"`
MethodsBreakdown *[]MethodUsage `json:"methods_breakdown,omitempty"`
Name *string `json:"name,omitempty"`
Network *string `json:"network,omitempty"`
}
EndpointUsage defines model for endpoint_usage.
type GetV0ChainsResponse ¶
type GetV0ChainsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data []Chain `json:"data"`
Error *string `json:"error"`
}
}
func ParseGetV0ChainsResponse ¶
func ParseGetV0ChainsResponse(rsp *http.Response) (*GetV0ChainsResponse, error)
ParseGetV0ChainsResponse parses an HTTP response from a GetV0ChainsWithResponse call
func (GetV0ChainsResponse) Status ¶
func (r GetV0ChainsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV0ChainsResponse) StatusCode ¶
func (r GetV0ChainsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV0EndpointsIdResponse ¶
type GetV0EndpointsIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *Endpoint `json:"data,omitempty"`
Error *string `json:"error"`
}
}
func ParseGetV0EndpointsIdResponse ¶
func ParseGetV0EndpointsIdResponse(rsp *http.Response) (*GetV0EndpointsIdResponse, error)
ParseGetV0EndpointsIdResponse parses an HTTP response from a GetV0EndpointsIdWithResponse call
func (GetV0EndpointsIdResponse) Status ¶
func (r GetV0EndpointsIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetV0EndpointsIdResponse) StatusCode ¶
func (r GetV0EndpointsIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV0EndpointsResponse ¶
type GetV0EndpointsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]Endpoint `json:"data"`
Error *string `json:"error"`
}
}
func ParseGetV0EndpointsResponse ¶
func ParseGetV0EndpointsResponse(rsp *http.Response) (*GetV0EndpointsResponse, error)
ParseGetV0EndpointsResponse parses an HTTP response from a GetV0EndpointsWithResponse call
func (GetV0EndpointsResponse) Status ¶
func (r GetV0EndpointsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV0EndpointsResponse) StatusCode ¶
func (r GetV0EndpointsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV0UsageRpcByChainParams ¶
type GetV0UsageRpcByChainParams struct {
// StartTime Start time
StartTime *int `form:"start_time,omitempty" json:"start_time,omitempty"`
// EndTime End time
EndTime *int `form:"end_time,omitempty" json:"end_time,omitempty"`
}
GetV0UsageRpcByChainParams defines parameters for GetV0UsageRpcByChain.
type GetV0UsageRpcByChainResponse ¶
type GetV0UsageRpcByChainResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data struct {
Chains *[]ChainUsage `json:"chains,omitempty"`
EndTime *int `json:"end_time,omitempty"`
StartTime *int `json:"start_time,omitempty"`
} `json:"data"`
Error *string `json:"error"`
}
}
func ParseGetV0UsageRpcByChainResponse ¶
func ParseGetV0UsageRpcByChainResponse(rsp *http.Response) (*GetV0UsageRpcByChainResponse, error)
ParseGetV0UsageRpcByChainResponse parses an HTTP response from a GetV0UsageRpcByChainWithResponse call
func (GetV0UsageRpcByChainResponse) Status ¶
func (r GetV0UsageRpcByChainResponse) Status() string
Status returns HTTPResponse.Status
func (GetV0UsageRpcByChainResponse) StatusCode ¶
func (r GetV0UsageRpcByChainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV0UsageRpcByEndpointParams ¶
type GetV0UsageRpcByEndpointParams struct {
// StartTime Start time
StartTime *int `form:"start_time,omitempty" json:"start_time,omitempty"`
// EndTime End time
EndTime *int `form:"end_time,omitempty" json:"end_time,omitempty"`
}
GetV0UsageRpcByEndpointParams defines parameters for GetV0UsageRpcByEndpoint.
type GetV0UsageRpcByEndpointResponse ¶
type GetV0UsageRpcByEndpointResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
EndTime *int `json:"end_time,omitempty"`
Endpoints *[]EndpointUsage `json:"endpoints,omitempty"`
StartTime *int `json:"start_time,omitempty"`
} `json:"data,omitempty"`
Error *string `json:"error"`
}
}
func ParseGetV0UsageRpcByEndpointResponse ¶
func ParseGetV0UsageRpcByEndpointResponse(rsp *http.Response) (*GetV0UsageRpcByEndpointResponse, error)
ParseGetV0UsageRpcByEndpointResponse parses an HTTP response from a GetV0UsageRpcByEndpointWithResponse call
func (GetV0UsageRpcByEndpointResponse) Status ¶
func (r GetV0UsageRpcByEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (GetV0UsageRpcByEndpointResponse) StatusCode ¶
func (r GetV0UsageRpcByEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV0UsageRpcByMethodParams ¶
type GetV0UsageRpcByMethodParams struct {
// StartTime Start time
StartTime *int `form:"start_time,omitempty" json:"start_time,omitempty"`
// EndTime End time
EndTime *int `form:"end_time,omitempty" json:"end_time,omitempty"`
}
GetV0UsageRpcByMethodParams defines parameters for GetV0UsageRpcByMethod.
type GetV0UsageRpcByMethodResponse ¶
type GetV0UsageRpcByMethodResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
EndTime *int `json:"end_time,omitempty"`
Methods *[]MethodUsage `json:"methods,omitempty"`
StartTime *int `json:"start_time,omitempty"`
} `json:"data,omitempty"`
Error *string `json:"error"`
}
}
func ParseGetV0UsageRpcByMethodResponse ¶
func ParseGetV0UsageRpcByMethodResponse(rsp *http.Response) (*GetV0UsageRpcByMethodResponse, error)
ParseGetV0UsageRpcByMethodResponse parses an HTTP response from a GetV0UsageRpcByMethodWithResponse call
func (GetV0UsageRpcByMethodResponse) Status ¶
func (r GetV0UsageRpcByMethodResponse) Status() string
Status returns HTTPResponse.Status
func (GetV0UsageRpcByMethodResponse) StatusCode ¶
func (r GetV0UsageRpcByMethodResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV0UsageRpcParams ¶
type GetV0UsageRpcParams struct {
// StartTime Start time
StartTime *int `form:"start_time,omitempty" json:"start_time,omitempty"`
// EndTime End time
EndTime *int `form:"end_time,omitempty" json:"end_time,omitempty"`
}
GetV0UsageRpcParams defines parameters for GetV0UsageRpc.
type GetV0UsageRpcResponse ¶
type GetV0UsageRpcResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
CreditsRemaining *int `json:"credits_remaining"`
CreditsUsed int `json:"credits_used"`
EndTime int `json:"end_time"`
Limit *int `json:"limit"`
Overages *int `json:"overages"`
StartTime int `json:"start_time"`
} `json:"data,omitempty"`
Error *string `json:"error"`
}
}
func ParseGetV0UsageRpcResponse ¶
func ParseGetV0UsageRpcResponse(rsp *http.Response) (*GetV0UsageRpcResponse, error)
ParseGetV0UsageRpcResponse parses an HTTP response from a GetV0UsageRpcWithResponse call
func (GetV0UsageRpcResponse) Status ¶
func (r GetV0UsageRpcResponse) Status() string
Status returns HTTPResponse.Status
func (GetV0UsageRpcResponse) StatusCode ¶
func (r GetV0UsageRpcResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type MethodUsage ¶
type MethodUsage struct {
CreditsUsed *int `json:"credits_used,omitempty"`
MethodName *string `json:"method_name,omitempty"`
}
MethodUsage defines model for method_usage.
type PatchV0EndpointsIdJSONBody ¶
type PatchV0EndpointsIdJSONBody struct {
Label *string `json:"label,omitempty"`
}
PatchV0EndpointsIdJSONBody defines parameters for PatchV0EndpointsId.
type PatchV0EndpointsIdJSONRequestBody ¶
type PatchV0EndpointsIdJSONRequestBody PatchV0EndpointsIdJSONBody
PatchV0EndpointsIdJSONRequestBody defines body for PatchV0EndpointsId for application/json ContentType.
type PatchV0EndpointsIdResponse ¶
func ParsePatchV0EndpointsIdResponse ¶
func ParsePatchV0EndpointsIdResponse(rsp *http.Response) (*PatchV0EndpointsIdResponse, error)
ParsePatchV0EndpointsIdResponse parses an HTTP response from a PatchV0EndpointsIdWithResponse call
func (PatchV0EndpointsIdResponse) Status ¶
func (r PatchV0EndpointsIdResponse) Status() string
Status returns HTTPResponse.Status
func (PatchV0EndpointsIdResponse) StatusCode ¶
func (r PatchV0EndpointsIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV0EndpointsIdSecurityDomainMasksJSONBody ¶
type PostV0EndpointsIdSecurityDomainMasksJSONBody struct {
DomainMask *string `json:"domain_mask,omitempty"`
}
PostV0EndpointsIdSecurityDomainMasksJSONBody defines parameters for PostV0EndpointsIdSecurityDomainMasks.
type PostV0EndpointsIdSecurityDomainMasksJSONRequestBody ¶
type PostV0EndpointsIdSecurityDomainMasksJSONRequestBody PostV0EndpointsIdSecurityDomainMasksJSONBody
PostV0EndpointsIdSecurityDomainMasksJSONRequestBody defines body for PostV0EndpointsIdSecurityDomainMasks for application/json ContentType.
type PostV0EndpointsIdSecurityDomainMasksResponse ¶
type PostV0EndpointsIdSecurityDomainMasksResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParsePostV0EndpointsIdSecurityDomainMasksResponse ¶
func ParsePostV0EndpointsIdSecurityDomainMasksResponse(rsp *http.Response) (*PostV0EndpointsIdSecurityDomainMasksResponse, error)
ParsePostV0EndpointsIdSecurityDomainMasksResponse parses an HTTP response from a PostV0EndpointsIdSecurityDomainMasksWithResponse call
func (PostV0EndpointsIdSecurityDomainMasksResponse) Status ¶
func (r PostV0EndpointsIdSecurityDomainMasksResponse) Status() string
Status returns HTTPResponse.Status
func (PostV0EndpointsIdSecurityDomainMasksResponse) StatusCode ¶
func (r PostV0EndpointsIdSecurityDomainMasksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV0EndpointsIdSecurityIpsJSONBody ¶
type PostV0EndpointsIdSecurityIpsJSONBody struct {
Ip *string `json:"ip,omitempty"`
}
PostV0EndpointsIdSecurityIpsJSONBody defines parameters for PostV0EndpointsIdSecurityIps.
type PostV0EndpointsIdSecurityIpsJSONRequestBody ¶
type PostV0EndpointsIdSecurityIpsJSONRequestBody PostV0EndpointsIdSecurityIpsJSONBody
PostV0EndpointsIdSecurityIpsJSONRequestBody defines body for PostV0EndpointsIdSecurityIps for application/json ContentType.
type PostV0EndpointsIdSecurityIpsResponse ¶
func ParsePostV0EndpointsIdSecurityIpsResponse ¶
func ParsePostV0EndpointsIdSecurityIpsResponse(rsp *http.Response) (*PostV0EndpointsIdSecurityIpsResponse, error)
ParsePostV0EndpointsIdSecurityIpsResponse parses an HTTP response from a PostV0EndpointsIdSecurityIpsWithResponse call
func (PostV0EndpointsIdSecurityIpsResponse) Status ¶
func (r PostV0EndpointsIdSecurityIpsResponse) Status() string
Status returns HTTPResponse.Status
func (PostV0EndpointsIdSecurityIpsResponse) StatusCode ¶
func (r PostV0EndpointsIdSecurityIpsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV0EndpointsIdSecurityJwtsJSONBody ¶
type PostV0EndpointsIdSecurityJwtsJSONBody struct {
Kid *string `json:"kid,omitempty"`
Name *string `json:"name,omitempty"`
PublicKey *string `json:"public_key,omitempty"`
}
PostV0EndpointsIdSecurityJwtsJSONBody defines parameters for PostV0EndpointsIdSecurityJwts.
type PostV0EndpointsIdSecurityJwtsJSONRequestBody ¶
type PostV0EndpointsIdSecurityJwtsJSONRequestBody PostV0EndpointsIdSecurityJwtsJSONBody
PostV0EndpointsIdSecurityJwtsJSONRequestBody defines body for PostV0EndpointsIdSecurityJwts for application/json ContentType.
type PostV0EndpointsIdSecurityJwtsResponse ¶
func ParsePostV0EndpointsIdSecurityJwtsResponse ¶
func ParsePostV0EndpointsIdSecurityJwtsResponse(rsp *http.Response) (*PostV0EndpointsIdSecurityJwtsResponse, error)
ParsePostV0EndpointsIdSecurityJwtsResponse parses an HTTP response from a PostV0EndpointsIdSecurityJwtsWithResponse call
func (PostV0EndpointsIdSecurityJwtsResponse) Status ¶
func (r PostV0EndpointsIdSecurityJwtsResponse) Status() string
Status returns HTTPResponse.Status
func (PostV0EndpointsIdSecurityJwtsResponse) StatusCode ¶
func (r PostV0EndpointsIdSecurityJwtsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV0EndpointsIdSecurityReferrersJSONBody ¶
type PostV0EndpointsIdSecurityReferrersJSONBody struct {
Referrer *string `json:"referrer,omitempty"`
}
PostV0EndpointsIdSecurityReferrersJSONBody defines parameters for PostV0EndpointsIdSecurityReferrers.
type PostV0EndpointsIdSecurityReferrersJSONRequestBody ¶
type PostV0EndpointsIdSecurityReferrersJSONRequestBody PostV0EndpointsIdSecurityReferrersJSONBody
PostV0EndpointsIdSecurityReferrersJSONRequestBody defines body for PostV0EndpointsIdSecurityReferrers for application/json ContentType.
type PostV0EndpointsIdSecurityReferrersResponse ¶
func ParsePostV0EndpointsIdSecurityReferrersResponse ¶
func ParsePostV0EndpointsIdSecurityReferrersResponse(rsp *http.Response) (*PostV0EndpointsIdSecurityReferrersResponse, error)
ParsePostV0EndpointsIdSecurityReferrersResponse parses an HTTP response from a PostV0EndpointsIdSecurityReferrersWithResponse call
func (PostV0EndpointsIdSecurityReferrersResponse) Status ¶
func (r PostV0EndpointsIdSecurityReferrersResponse) Status() string
Status returns HTTPResponse.Status
func (PostV0EndpointsIdSecurityReferrersResponse) StatusCode ¶
func (r PostV0EndpointsIdSecurityReferrersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV0EndpointsIdSecurityTokensResponse ¶
func ParsePostV0EndpointsIdSecurityTokensResponse ¶
func ParsePostV0EndpointsIdSecurityTokensResponse(rsp *http.Response) (*PostV0EndpointsIdSecurityTokensResponse, error)
ParsePostV0EndpointsIdSecurityTokensResponse parses an HTTP response from a PostV0EndpointsIdSecurityTokensWithResponse call
func (PostV0EndpointsIdSecurityTokensResponse) Status ¶
func (r PostV0EndpointsIdSecurityTokensResponse) Status() string
Status returns HTTPResponse.Status
func (PostV0EndpointsIdSecurityTokensResponse) StatusCode ¶
func (r PostV0EndpointsIdSecurityTokensResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV0EndpointsJSONBody ¶
type PostV0EndpointsJSONBody struct {
Chain *string `json:"chain,omitempty"`
Network *string `json:"network,omitempty"`
}
PostV0EndpointsJSONBody defines parameters for PostV0Endpoints.
type PostV0EndpointsJSONRequestBody ¶
type PostV0EndpointsJSONRequestBody PostV0EndpointsJSONBody
PostV0EndpointsJSONRequestBody defines body for PostV0Endpoints for application/json ContentType.
type PostV0EndpointsResponse ¶
type PostV0EndpointsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data Endpoint `json:"data"`
Error *string `json:"error"`
}
}
func ParsePostV0EndpointsResponse ¶
func ParsePostV0EndpointsResponse(rsp *http.Response) (*PostV0EndpointsResponse, error)
ParsePostV0EndpointsResponse parses an HTTP response from a PostV0EndpointsWithResponse call
func (PostV0EndpointsResponse) Status ¶
func (r PostV0EndpointsResponse) Status() string
Status returns HTTPResponse.Status
func (PostV0EndpointsResponse) StatusCode ¶
func (r PostV0EndpointsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode