Documentation
¶
Overview ¶
Package quicknode provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.
Index ¶
- Constants
- func GetSwagger() (swagger *openapi3.T, err error)
- func NewArchiveEndpointRequest(server string, id string) (*http.Request, error)
- func NewChainsRequest(server string) (*http.Request, error)
- func NewCreateAuthenticationTokenRequest(server string, id string) (*http.Request, error)
- func NewCreateDomainMaskRequest(server string, id string, body CreateDomainMaskJSONRequestBody) (*http.Request, error)
- func NewCreateDomainMaskRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateEndpointRequest(server string, body CreateEndpointJSONRequestBody) (*http.Request, error)
- func NewCreateEndpointRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateIpRequest(server string, id string, body CreateIpJSONRequestBody) (*http.Request, error)
- func NewCreateIpRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateJwtRequest(server string, id string, body CreateJwtJSONRequestBody) (*http.Request, error)
- func NewCreateJwtRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateMethodRateLimitRequest(server string, id string, body CreateMethodRateLimitJSONRequestBody) (*http.Request, error)
- func NewCreateMethodRateLimitRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateOrUpdateIpCustomHeaderRequest(server string, id string, body CreateOrUpdateIpCustomHeaderJSONRequestBody) (*http.Request, error)
- func NewCreateOrUpdateIpCustomHeaderRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateReferrerRequest(server string, id string, body CreateReferrerJSONRequestBody) (*http.Request, error)
- func NewCreateReferrerRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateRequestFilterRequest(server string, id string, body CreateRequestFilterJSONRequestBody) (*http.Request, error)
- func NewCreateRequestFilterRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateTagRequest(server string, id string, body CreateTagJSONRequestBody) (*http.Request, error)
- func NewCreateTagRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateTeamRequest(server string, body CreateTeamJSONRequestBody) (*http.Request, error)
- func NewCreateTeamRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteDomainMaskRequest(server string, id string, domainMaskId string) (*http.Request, error)
- func NewDeleteIpCustomHeaderRequest(server string, id string) (*http.Request, error)
- func NewDeleteIpRequest(server string, id string, ipId string) (*http.Request, error)
- func NewDeleteJwtRequest(server string, id string, jwtId string) (*http.Request, error)
- func NewDeleteMethodRateLimitRequest(server string, id string, methodRateLimitId string) (*http.Request, error)
- func NewDeleteReferrerRequest(server string, id string, referrerId string) (*http.Request, error)
- func NewDeleteRequestFilterRequest(server string, id string, requestFilterId string) (*http.Request, error)
- func NewDeleteTagRequest(server string, id string, tagId string) (*http.Request, error)
- func NewDeleteTeamRequest(server string, id int) (*http.Request, error)
- func NewDeleteTokenRequest(server string, id string, tokenId string) (*http.Request, error)
- func NewDisableMultichainRequest(server string, id string) (*http.Request, error)
- func NewEnableMultichainRequest(server string, id string) (*http.Request, error)
- func NewFetchAccountMetricsRequest(server string, params *FetchAccountMetricsParams) (*http.Request, error)
- func NewFetchEndpointMetricRequest(server string, id string, params *FetchEndpointMetricParams) (*http.Request, error)
- func NewGetEndpointLogsRequest(server string, id string, params *GetEndpointLogsParams) (*http.Request, error)
- func NewGetLogDetailsRequest(server string, id string, params *GetLogDetailsParams) (*http.Request, error)
- func NewGetMethodRateLimitsRequest(server string, id string) (*http.Request, error)
- func NewGetSecurityOptionsRequest(server string, id string) (*http.Request, error)
- func NewGetTeamRequest(server string, id int) (*http.Request, error)
- func NewInviteTeamMemberRequest(server string, id int, body InviteTeamMemberJSONRequestBody) (*http.Request, error)
- func NewInviteTeamMemberRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error)
- func NewInvoicesRequest(server string) (*http.Request, error)
- func NewListEndpointsRequest(server string, params *ListEndpointsParams) (*http.Request, error)
- func NewListTeamEndpointsRequest(server string, id int) (*http.Request, error)
- func NewListTeamsRequest(server string) (*http.Request, error)
- func NewPaymentsRequest(server string) (*http.Request, error)
- func NewRemoveTeamMemberRequest(server string, id int, userId int, body RemoveTeamMemberJSONRequestBody) (*http.Request, error)
- func NewRemoveTeamMemberRequestWithBody(server string, id int, userId int, contentType string, body io.Reader) (*http.Request, error)
- func NewResendTeamInviteRequest(server string, id int, userId int) (*http.Request, error)
- func NewShowEndpointRequest(server string, id string) (*http.Request, error)
- func NewUpdateEndpointRequest(server string, id string, body UpdateEndpointJSONRequestBody) (*http.Request, error)
- func NewUpdateEndpointRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateEndpointStatusRequest(server string, id string, body UpdateEndpointStatusJSONRequestBody) (*http.Request, error)
- func NewUpdateEndpointStatusRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateMethodRateLimitRequest(server string, id string, methodRateLimitId string, ...) (*http.Request, error)
- func NewUpdateMethodRateLimitRequestWithBody(server string, id string, methodRateLimitId string, contentType string, ...) (*http.Request, error)
- func NewUpdateRateLimitsRequest(server string, id string, body UpdateRateLimitsJSONRequestBody) (*http.Request, error)
- func NewUpdateRateLimitsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateRequestFilterRequest(server string, id string, requestFilterId string, ...) (*http.Request, error)
- func NewUpdateRequestFilterRequestWithBody(server string, id string, requestFilterId string, contentType string, ...) (*http.Request, error)
- func NewUpdateSecurityOptionsRequest(server string, id string, body UpdateSecurityOptionsJSONRequestBody) (*http.Request, error)
- func NewUpdateSecurityOptionsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateTeamEndpointsRequest(server string, id int, body UpdateTeamEndpointsJSONRequestBody) (*http.Request, error)
- func NewUpdateTeamEndpointsRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error)
- func NewUsageByChainRequest(server string, params *UsageByChainParams) (*http.Request, error)
- func NewUsageByEndpointRequest(server string, params *UsageByEndpointParams) (*http.Request, error)
- func NewUsageByMethodRequest(server string, params *UsageByMethodParams) (*http.Request, error)
- func NewUsageRequest(server string, params *UsageParams) (*http.Request, error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type ArchiveEndpointResponse
- type Chain
- type ChainUsage
- type ChainsResponse
- type Client
- func (c *Client) ArchiveEndpoint(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Chains(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreateAuthenticationToken(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreateDomainMask(ctx context.Context, id string, body CreateDomainMaskJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateDomainMaskWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateEndpoint(ctx context.Context, body CreateEndpointJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateEndpointWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateIp(ctx context.Context, id string, body CreateIpJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateIpWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateJwt(ctx context.Context, id string, body CreateJwtJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateJwtWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateMethodRateLimit(ctx context.Context, id string, body CreateMethodRateLimitJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateMethodRateLimitWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateOrUpdateIpCustomHeader(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) CreateOrUpdateIpCustomHeaderWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateReferrer(ctx context.Context, id string, body CreateReferrerJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateReferrerWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateRequestFilter(ctx context.Context, id string, body CreateRequestFilterJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateRequestFilterWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateTag(ctx context.Context, id string, body CreateTagJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateTagWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateTeam(ctx context.Context, body CreateTeamJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateTeamWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteDomainMask(ctx context.Context, id string, domainMaskId string, ...) (*http.Response, error)
- func (c *Client) DeleteIp(ctx context.Context, id string, ipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteIpCustomHeader(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteJwt(ctx context.Context, id string, jwtId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteMethodRateLimit(ctx context.Context, id string, methodRateLimitId string, ...) (*http.Response, error)
- func (c *Client) DeleteReferrer(ctx context.Context, id string, referrerId string, ...) (*http.Response, error)
- func (c *Client) DeleteRequestFilter(ctx context.Context, id string, requestFilterId string, ...) (*http.Response, error)
- func (c *Client) DeleteTag(ctx context.Context, id string, tagId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteTeam(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteToken(ctx context.Context, id string, tokenId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DisableMultichain(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) EnableMultichain(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FetchAccountMetrics(ctx context.Context, params *FetchAccountMetricsParams, ...) (*http.Response, error)
- func (c *Client) FetchEndpointMetric(ctx context.Context, id string, params *FetchEndpointMetricParams, ...) (*http.Response, error)
- func (c *Client) GetEndpointLogs(ctx context.Context, id string, params *GetEndpointLogsParams, ...) (*http.Response, error)
- func (c *Client) GetLogDetails(ctx context.Context, id string, params *GetLogDetailsParams, ...) (*http.Response, error)
- func (c *Client) GetMethodRateLimits(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSecurityOptions(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTeam(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) InviteTeamMember(ctx context.Context, id int, body InviteTeamMemberJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InviteTeamMemberWithBody(ctx context.Context, id int, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Invoices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListEndpoints(ctx context.Context, params *ListEndpointsParams, ...) (*http.Response, error)
- func (c *Client) ListTeamEndpoints(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListTeams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Payments(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RemoveTeamMember(ctx context.Context, id int, userId int, body RemoveTeamMemberJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RemoveTeamMemberWithBody(ctx context.Context, id int, userId int, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ResendTeamInvite(ctx context.Context, id int, userId int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ShowEndpoint(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdateEndpoint(ctx context.Context, id string, body UpdateEndpointJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateEndpointStatus(ctx context.Context, id string, body UpdateEndpointStatusJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateEndpointStatusWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateEndpointWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateMethodRateLimit(ctx context.Context, id string, methodRateLimitId string, ...) (*http.Response, error)
- func (c *Client) UpdateMethodRateLimitWithBody(ctx context.Context, id string, methodRateLimitId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateRateLimits(ctx context.Context, id string, body UpdateRateLimitsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateRateLimitsWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateRequestFilter(ctx context.Context, id string, requestFilterId string, ...) (*http.Response, error)
- func (c *Client) UpdateRequestFilterWithBody(ctx context.Context, id string, requestFilterId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateSecurityOptions(ctx context.Context, id string, body UpdateSecurityOptionsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateSecurityOptionsWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateTeamEndpoints(ctx context.Context, id int, body UpdateTeamEndpointsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateTeamEndpointsWithBody(ctx context.Context, id int, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Usage(ctx context.Context, params *UsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UsageByChain(ctx context.Context, params *UsageByChainParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UsageByEndpoint(ctx context.Context, params *UsageByEndpointParams, ...) (*http.Response, error)
- func (c *Client) UsageByMethod(ctx context.Context, params *UsageByMethodParams, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) ArchiveEndpointWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ArchiveEndpointResponse, error)
- func (c *ClientWithResponses) ChainsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ChainsResponse, error)
- func (c *ClientWithResponses) CreateAuthenticationTokenWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CreateAuthenticationTokenResponse, error)
- func (c *ClientWithResponses) CreateDomainMaskWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CreateDomainMaskResponse, error)
- func (c *ClientWithResponses) CreateDomainMaskWithResponse(ctx context.Context, id string, body CreateDomainMaskJSONRequestBody, ...) (*CreateDomainMaskResponse, error)
- func (c *ClientWithResponses) CreateEndpointWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateEndpointResponse, error)
- func (c *ClientWithResponses) CreateEndpointWithResponse(ctx context.Context, body CreateEndpointJSONRequestBody, ...) (*CreateEndpointResponse, error)
- func (c *ClientWithResponses) CreateIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CreateIpResponse, error)
- func (c *ClientWithResponses) CreateIpWithResponse(ctx context.Context, id string, body CreateIpJSONRequestBody, ...) (*CreateIpResponse, error)
- func (c *ClientWithResponses) CreateJwtWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CreateJwtResponse, error)
- func (c *ClientWithResponses) CreateJwtWithResponse(ctx context.Context, id string, body CreateJwtJSONRequestBody, ...) (*CreateJwtResponse, error)
- func (c *ClientWithResponses) CreateMethodRateLimitWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CreateMethodRateLimitResponse, error)
- func (c *ClientWithResponses) CreateMethodRateLimitWithResponse(ctx context.Context, id string, body CreateMethodRateLimitJSONRequestBody, ...) (*CreateMethodRateLimitResponse, error)
- func (c *ClientWithResponses) CreateOrUpdateIpCustomHeaderWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CreateOrUpdateIpCustomHeaderResponse, error)
- func (c *ClientWithResponses) CreateOrUpdateIpCustomHeaderWithResponse(ctx context.Context, id string, ...) (*CreateOrUpdateIpCustomHeaderResponse, error)
- func (c *ClientWithResponses) CreateReferrerWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CreateReferrerResponse, error)
- func (c *ClientWithResponses) CreateReferrerWithResponse(ctx context.Context, id string, body CreateReferrerJSONRequestBody, ...) (*CreateReferrerResponse, error)
- func (c *ClientWithResponses) CreateRequestFilterWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CreateRequestFilterResponse, error)
- func (c *ClientWithResponses) CreateRequestFilterWithResponse(ctx context.Context, id string, body CreateRequestFilterJSONRequestBody, ...) (*CreateRequestFilterResponse, error)
- func (c *ClientWithResponses) CreateTagWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CreateTagResponse, error)
- func (c *ClientWithResponses) CreateTagWithResponse(ctx context.Context, id string, body CreateTagJSONRequestBody, ...) (*CreateTagResponse, error)
- func (c *ClientWithResponses) CreateTeamWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateTeamResponse, error)
- func (c *ClientWithResponses) CreateTeamWithResponse(ctx context.Context, body CreateTeamJSONRequestBody, ...) (*CreateTeamResponse, error)
- func (c *ClientWithResponses) DeleteDomainMaskWithResponse(ctx context.Context, id string, domainMaskId string, ...) (*DeleteDomainMaskResponse, error)
- func (c *ClientWithResponses) DeleteIpCustomHeaderWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIpCustomHeaderResponse, error)
- func (c *ClientWithResponses) DeleteIpWithResponse(ctx context.Context, id string, ipId string, reqEditors ...RequestEditorFn) (*DeleteIpResponse, error)
- func (c *ClientWithResponses) DeleteJwtWithResponse(ctx context.Context, id string, jwtId string, reqEditors ...RequestEditorFn) (*DeleteJwtResponse, error)
- func (c *ClientWithResponses) DeleteMethodRateLimitWithResponse(ctx context.Context, id string, methodRateLimitId string, ...) (*DeleteMethodRateLimitResponse, error)
- func (c *ClientWithResponses) DeleteReferrerWithResponse(ctx context.Context, id string, referrerId string, ...) (*DeleteReferrerResponse, error)
- func (c *ClientWithResponses) DeleteRequestFilterWithResponse(ctx context.Context, id string, requestFilterId string, ...) (*DeleteRequestFilterResponse, error)
- func (c *ClientWithResponses) DeleteTagWithResponse(ctx context.Context, id string, tagId string, reqEditors ...RequestEditorFn) (*DeleteTagResponse, error)
- func (c *ClientWithResponses) DeleteTeamWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DeleteTeamResponse, error)
- func (c *ClientWithResponses) DeleteTokenWithResponse(ctx context.Context, id string, tokenId string, reqEditors ...RequestEditorFn) (*DeleteTokenResponse, error)
- func (c *ClientWithResponses) DisableMultichainWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DisableMultichainResponse, error)
- func (c *ClientWithResponses) EnableMultichainWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*EnableMultichainResponse, error)
- func (c *ClientWithResponses) FetchAccountMetricsWithResponse(ctx context.Context, params *FetchAccountMetricsParams, ...) (*FetchAccountMetricsResponse, error)
- func (c *ClientWithResponses) FetchEndpointMetricWithResponse(ctx context.Context, id string, params *FetchEndpointMetricParams, ...) (*FetchEndpointMetricResponse, error)
- func (c *ClientWithResponses) GetEndpointLogsWithResponse(ctx context.Context, id string, params *GetEndpointLogsParams, ...) (*GetEndpointLogsResponse, error)
- func (c *ClientWithResponses) GetLogDetailsWithResponse(ctx context.Context, id string, params *GetLogDetailsParams, ...) (*GetLogDetailsResponse, error)
- func (c *ClientWithResponses) GetMethodRateLimitsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetMethodRateLimitsResponse, error)
- func (c *ClientWithResponses) GetSecurityOptionsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSecurityOptionsResponse, error)
- func (c *ClientWithResponses) GetTeamWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetTeamResponse, error)
- func (c *ClientWithResponses) InviteTeamMemberWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, ...) (*InviteTeamMemberResponse, error)
- func (c *ClientWithResponses) InviteTeamMemberWithResponse(ctx context.Context, id int, body InviteTeamMemberJSONRequestBody, ...) (*InviteTeamMemberResponse, error)
- func (c *ClientWithResponses) InvoicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InvoicesResponse, error)
- func (c *ClientWithResponses) ListEndpointsWithResponse(ctx context.Context, params *ListEndpointsParams, ...) (*ListEndpointsResponse, error)
- func (c *ClientWithResponses) ListTeamEndpointsWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ListTeamEndpointsResponse, error)
- func (c *ClientWithResponses) ListTeamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTeamsResponse, error)
- func (c *ClientWithResponses) PaymentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PaymentsResponse, error)
- func (c *ClientWithResponses) RemoveTeamMemberWithBodyWithResponse(ctx context.Context, id int, userId int, contentType string, body io.Reader, ...) (*RemoveTeamMemberResponse, error)
- func (c *ClientWithResponses) RemoveTeamMemberWithResponse(ctx context.Context, id int, userId int, body RemoveTeamMemberJSONRequestBody, ...) (*RemoveTeamMemberResponse, error)
- func (c *ClientWithResponses) ResendTeamInviteWithResponse(ctx context.Context, id int, userId int, reqEditors ...RequestEditorFn) (*ResendTeamInviteResponse, error)
- func (c *ClientWithResponses) ShowEndpointWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ShowEndpointResponse, error)
- func (c *ClientWithResponses) UpdateEndpointStatusWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateEndpointStatusResponse, error)
- func (c *ClientWithResponses) UpdateEndpointStatusWithResponse(ctx context.Context, id string, body UpdateEndpointStatusJSONRequestBody, ...) (*UpdateEndpointStatusResponse, error)
- func (c *ClientWithResponses) UpdateEndpointWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateEndpointResponse, error)
- func (c *ClientWithResponses) UpdateEndpointWithResponse(ctx context.Context, id string, body UpdateEndpointJSONRequestBody, ...) (*UpdateEndpointResponse, error)
- func (c *ClientWithResponses) UpdateMethodRateLimitWithBodyWithResponse(ctx context.Context, id string, methodRateLimitId string, contentType string, ...) (*UpdateMethodRateLimitResponse, error)
- func (c *ClientWithResponses) UpdateMethodRateLimitWithResponse(ctx context.Context, id string, methodRateLimitId string, ...) (*UpdateMethodRateLimitResponse, error)
- func (c *ClientWithResponses) UpdateRateLimitsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateRateLimitsResponse, error)
- func (c *ClientWithResponses) UpdateRateLimitsWithResponse(ctx context.Context, id string, body UpdateRateLimitsJSONRequestBody, ...) (*UpdateRateLimitsResponse, error)
- func (c *ClientWithResponses) UpdateRequestFilterWithBodyWithResponse(ctx context.Context, id string, requestFilterId string, contentType string, ...) (*UpdateRequestFilterResponse, error)
- func (c *ClientWithResponses) UpdateRequestFilterWithResponse(ctx context.Context, id string, requestFilterId string, ...) (*UpdateRequestFilterResponse, error)
- func (c *ClientWithResponses) UpdateSecurityOptionsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateSecurityOptionsResponse, error)
- func (c *ClientWithResponses) UpdateSecurityOptionsWithResponse(ctx context.Context, id string, body UpdateSecurityOptionsJSONRequestBody, ...) (*UpdateSecurityOptionsResponse, error)
- func (c *ClientWithResponses) UpdateTeamEndpointsWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, ...) (*UpdateTeamEndpointsResponse, error)
- func (c *ClientWithResponses) UpdateTeamEndpointsWithResponse(ctx context.Context, id int, body UpdateTeamEndpointsJSONRequestBody, ...) (*UpdateTeamEndpointsResponse, error)
- func (c *ClientWithResponses) UsageByChainWithResponse(ctx context.Context, params *UsageByChainParams, reqEditors ...RequestEditorFn) (*UsageByChainResponse, error)
- func (c *ClientWithResponses) UsageByEndpointWithResponse(ctx context.Context, params *UsageByEndpointParams, ...) (*UsageByEndpointResponse, error)
- func (c *ClientWithResponses) UsageByMethodWithResponse(ctx context.Context, params *UsageByMethodParams, ...) (*UsageByMethodResponse, error)
- func (c *ClientWithResponses) UsageWithResponse(ctx context.Context, params *UsageParams, reqEditors ...RequestEditorFn) (*UsageResponse, error)
- type ClientWithResponsesInterface
- type CreateAuthenticationTokenResponse
- type CreateDomainMaskJSONBody
- type CreateDomainMaskJSONRequestBody
- type CreateDomainMaskResponse
- type CreateEndpointJSONBody
- type CreateEndpointJSONRequestBody
- type CreateEndpointResponse
- type CreateIpJSONBody
- type CreateIpJSONRequestBody
- type CreateIpResponse
- type CreateJwtJSONBody
- type CreateJwtJSONRequestBody
- type CreateJwtResponse
- type CreateMethodRateLimitJSONBody
- type CreateMethodRateLimitJSONBodyInterval
- type CreateMethodRateLimitJSONRequestBody
- type CreateMethodRateLimitResponse
- type CreateOrUpdateIpCustomHeaderJSONBody
- type CreateOrUpdateIpCustomHeaderJSONRequestBody
- type CreateOrUpdateIpCustomHeaderResponse
- type CreateReferrerJSONBody
- type CreateReferrerJSONRequestBody
- type CreateReferrerResponse
- type CreateRequestFilterJSONBody
- type CreateRequestFilterJSONRequestBody
- type CreateRequestFilterResponse
- type CreateTagJSONBody
- type CreateTagJSONRequestBody
- type CreateTagResponse
- type CreateTeamJSONBody
- type CreateTeamJSONRequestBody
- type CreateTeamResponse
- type DeleteDomainMaskResponse
- type DeleteIpCustomHeaderResponse
- type DeleteIpResponse
- type DeleteJwtResponse
- type DeleteMethodRateLimitResponse
- type DeleteReferrerResponse
- type DeleteRequestFilterResponse
- type DeleteTagResponse
- type DeleteTeamResponse
- type DeleteTokenResponse
- type DisableMultichainResponse
- type EnableMultichainResponse
- type Endpoint
- type EndpointDomainMask
- type EndpointIp
- type EndpointJwt
- type EndpointMetric
- type EndpointRateLimits
- type EndpointReferrer
- type EndpointRequestFilter
- type EndpointSecurity
- type EndpointToken
- type EndpointUsage
- type FetchAccountMetricsParams
- type FetchAccountMetricsParamsMetric
- type FetchAccountMetricsParamsPeriod
- type FetchAccountMetricsResponse
- type FetchEndpointMetricParams
- type FetchEndpointMetricParamsMetric
- type FetchEndpointMetricParamsPeriod
- type FetchEndpointMetricResponse
- type GetEndpointLogsParams
- type GetEndpointLogsResponse
- type GetLogDetailsParams
- type GetLogDetailsResponse
- type GetMethodRateLimitsResponse
- type GetSecurityOptionsResponse
- type GetTeamResponse
- type HttpRequestDoer
- type InviteTeamMemberJSONBody
- type InviteTeamMemberJSONBodyRole
- type InviteTeamMemberJSONRequestBody
- type InviteTeamMemberResponse
- type Invoice
- type InvoicesResponse
- type ListEndpointsParams
- type ListEndpointsResponse
- type ListTeamEndpointsResponse
- type ListTeamsResponse
- type MethodUsage
- type Network
- type Payment
- type PaymentsResponse
- type RemoveTeamMemberJSONBody
- type RemoveTeamMemberJSONRequestBody
- type RemoveTeamMemberResponse
- type RequestEditorFn
- type ResendTeamInviteResponse
- type ShowEndpointResponse
- type SingleEndpoint
- type UpdateEndpointJSONBody
- type UpdateEndpointJSONRequestBody
- type UpdateEndpointResponse
- type UpdateEndpointStatusJSONBody
- type UpdateEndpointStatusJSONBodyStatus
- type UpdateEndpointStatusJSONRequestBody
- type UpdateEndpointStatusResponse
- type UpdateMethodRateLimitJSONBody
- type UpdateMethodRateLimitJSONBodyStatus
- type UpdateMethodRateLimitJSONRequestBody
- type UpdateMethodRateLimitResponse
- type UpdateRateLimitsJSONBody
- type UpdateRateLimitsJSONRequestBody
- type UpdateRateLimitsResponse
- type UpdateRequestFilterJSONBody
- type UpdateRequestFilterJSONRequestBody
- type UpdateRequestFilterResponse
- type UpdateSecurityOptionsJSONBody
- type UpdateSecurityOptionsJSONBodyOptionsCors
- type UpdateSecurityOptionsJSONBodyOptionsDomainMasks
- type UpdateSecurityOptionsJSONBodyOptionsHsts
- type UpdateSecurityOptionsJSONBodyOptionsIpCustomHeader
- type UpdateSecurityOptionsJSONBodyOptionsIps
- type UpdateSecurityOptionsJSONBodyOptionsJwts
- type UpdateSecurityOptionsJSONBodyOptionsReferrers
- type UpdateSecurityOptionsJSONBodyOptionsRequestFilters
- type UpdateSecurityOptionsJSONBodyOptionsTokens
- type UpdateSecurityOptionsJSONRequestBody
- type UpdateSecurityOptionsResponse
- type UpdateTeamEndpointsJSONBody
- type UpdateTeamEndpointsJSONRequestBody
- type UpdateTeamEndpointsResponse
- type UsageByChainParams
- type UsageByChainResponse
- type UsageByEndpointParams
- type UsageByEndpointResponse
- type UsageByMethodParams
- type UsageByMethodResponse
- type UsageParams
- type UsageResponse
Constants ¶
const ( Api_keyScopes = "api_key.Scopes" BearerAuthScopes = "bearerAuth.Scopes" Bearer_authScopes = "bearer_auth.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 NewArchiveEndpointRequest ¶ added in v0.5.2
NewArchiveEndpointRequest generates requests for ArchiveEndpoint
func NewChainsRequest ¶ added in v0.5.2
NewChainsRequest generates requests for Chains
func NewCreateAuthenticationTokenRequest ¶ added in v0.5.2
NewCreateAuthenticationTokenRequest generates requests for CreateAuthenticationToken
func NewCreateDomainMaskRequest ¶ added in v0.5.2
func NewCreateDomainMaskRequest(server string, id string, body CreateDomainMaskJSONRequestBody) (*http.Request, error)
NewCreateDomainMaskRequest calls the generic CreateDomainMask builder with application/json body
func NewCreateDomainMaskRequestWithBody ¶ added in v0.5.2
func NewCreateDomainMaskRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCreateDomainMaskRequestWithBody generates requests for CreateDomainMask with any type of body
func NewCreateEndpointRequest ¶ added in v0.5.2
func NewCreateEndpointRequest(server string, body CreateEndpointJSONRequestBody) (*http.Request, error)
NewCreateEndpointRequest calls the generic CreateEndpoint builder with application/json body
func NewCreateEndpointRequestWithBody ¶ added in v0.5.2
func NewCreateEndpointRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateEndpointRequestWithBody generates requests for CreateEndpoint with any type of body
func NewCreateIpRequest ¶ added in v0.5.2
func NewCreateIpRequest(server string, id string, body CreateIpJSONRequestBody) (*http.Request, error)
NewCreateIpRequest calls the generic CreateIp builder with application/json body
func NewCreateIpRequestWithBody ¶ added in v0.5.2
func NewCreateIpRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCreateIpRequestWithBody generates requests for CreateIp with any type of body
func NewCreateJwtRequest ¶ added in v0.5.2
func NewCreateJwtRequest(server string, id string, body CreateJwtJSONRequestBody) (*http.Request, error)
NewCreateJwtRequest calls the generic CreateJwt builder with application/json body
func NewCreateJwtRequestWithBody ¶ added in v0.5.2
func NewCreateJwtRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCreateJwtRequestWithBody generates requests for CreateJwt with any type of body
func NewCreateMethodRateLimitRequest ¶ added in v0.5.2
func NewCreateMethodRateLimitRequest(server string, id string, body CreateMethodRateLimitJSONRequestBody) (*http.Request, error)
NewCreateMethodRateLimitRequest calls the generic CreateMethodRateLimit builder with application/json body
func NewCreateMethodRateLimitRequestWithBody ¶ added in v0.5.2
func NewCreateMethodRateLimitRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCreateMethodRateLimitRequestWithBody generates requests for CreateMethodRateLimit with any type of body
func NewCreateOrUpdateIpCustomHeaderRequest ¶ added in v0.7.0
func NewCreateOrUpdateIpCustomHeaderRequest(server string, id string, body CreateOrUpdateIpCustomHeaderJSONRequestBody) (*http.Request, error)
NewCreateOrUpdateIpCustomHeaderRequest calls the generic CreateOrUpdateIpCustomHeader builder with application/json body
func NewCreateOrUpdateIpCustomHeaderRequestWithBody ¶ added in v0.7.0
func NewCreateOrUpdateIpCustomHeaderRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCreateOrUpdateIpCustomHeaderRequestWithBody generates requests for CreateOrUpdateIpCustomHeader with any type of body
func NewCreateReferrerRequest ¶ added in v0.5.2
func NewCreateReferrerRequest(server string, id string, body CreateReferrerJSONRequestBody) (*http.Request, error)
NewCreateReferrerRequest calls the generic CreateReferrer builder with application/json body
func NewCreateReferrerRequestWithBody ¶ added in v0.5.2
func NewCreateReferrerRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCreateReferrerRequestWithBody generates requests for CreateReferrer with any type of body
func NewCreateRequestFilterRequest ¶ added in v0.7.0
func NewCreateRequestFilterRequest(server string, id string, body CreateRequestFilterJSONRequestBody) (*http.Request, error)
NewCreateRequestFilterRequest calls the generic CreateRequestFilter builder with application/json body
func NewCreateRequestFilterRequestWithBody ¶ added in v0.7.0
func NewCreateRequestFilterRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCreateRequestFilterRequestWithBody generates requests for CreateRequestFilter with any type of body
func NewCreateTagRequest ¶ added in v0.7.0
func NewCreateTagRequest(server string, id string, body CreateTagJSONRequestBody) (*http.Request, error)
NewCreateTagRequest calls the generic CreateTag builder with application/json body
func NewCreateTagRequestWithBody ¶ added in v0.7.0
func NewCreateTagRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCreateTagRequestWithBody generates requests for CreateTag with any type of body
func NewCreateTeamRequest ¶ added in v0.7.0
func NewCreateTeamRequest(server string, body CreateTeamJSONRequestBody) (*http.Request, error)
NewCreateTeamRequest calls the generic CreateTeam builder with application/json body
func NewCreateTeamRequestWithBody ¶ added in v0.7.0
func NewCreateTeamRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateTeamRequestWithBody generates requests for CreateTeam with any type of body
func NewDeleteDomainMaskRequest ¶ added in v0.5.2
func NewDeleteDomainMaskRequest(server string, id string, domainMaskId string) (*http.Request, error)
NewDeleteDomainMaskRequest generates requests for DeleteDomainMask
func NewDeleteIpCustomHeaderRequest ¶ added in v0.7.0
NewDeleteIpCustomHeaderRequest generates requests for DeleteIpCustomHeader
func NewDeleteIpRequest ¶ added in v0.5.2
NewDeleteIpRequest generates requests for DeleteIp
func NewDeleteJwtRequest ¶ added in v0.5.2
NewDeleteJwtRequest generates requests for DeleteJwt
func NewDeleteMethodRateLimitRequest ¶ added in v0.5.2
func NewDeleteMethodRateLimitRequest(server string, id string, methodRateLimitId string) (*http.Request, error)
NewDeleteMethodRateLimitRequest generates requests for DeleteMethodRateLimit
func NewDeleteReferrerRequest ¶ added in v0.5.2
NewDeleteReferrerRequest generates requests for DeleteReferrer
func NewDeleteRequestFilterRequest ¶ added in v0.7.0
func NewDeleteRequestFilterRequest(server string, id string, requestFilterId string) (*http.Request, error)
NewDeleteRequestFilterRequest generates requests for DeleteRequestFilter
func NewDeleteTagRequest ¶ added in v0.7.0
NewDeleteTagRequest generates requests for DeleteTag
func NewDeleteTeamRequest ¶ added in v0.7.0
NewDeleteTeamRequest generates requests for DeleteTeam
func NewDeleteTokenRequest ¶ added in v0.5.2
NewDeleteTokenRequest generates requests for DeleteToken
func NewDisableMultichainRequest ¶ added in v0.7.0
NewDisableMultichainRequest generates requests for DisableMultichain
func NewEnableMultichainRequest ¶ added in v0.7.0
NewEnableMultichainRequest generates requests for EnableMultichain
func NewFetchAccountMetricsRequest ¶ added in v0.7.0
func NewFetchAccountMetricsRequest(server string, params *FetchAccountMetricsParams) (*http.Request, error)
NewFetchAccountMetricsRequest generates requests for FetchAccountMetrics
func NewFetchEndpointMetricRequest ¶ added in v0.5.2
func NewFetchEndpointMetricRequest(server string, id string, params *FetchEndpointMetricParams) (*http.Request, error)
NewFetchEndpointMetricRequest generates requests for FetchEndpointMetric
func NewGetEndpointLogsRequest ¶ added in v0.7.0
func NewGetEndpointLogsRequest(server string, id string, params *GetEndpointLogsParams) (*http.Request, error)
NewGetEndpointLogsRequest generates requests for GetEndpointLogs
func NewGetLogDetailsRequest ¶ added in v0.7.0
func NewGetLogDetailsRequest(server string, id string, params *GetLogDetailsParams) (*http.Request, error)
NewGetLogDetailsRequest generates requests for GetLogDetails
func NewGetMethodRateLimitsRequest ¶ added in v0.5.2
NewGetMethodRateLimitsRequest generates requests for GetMethodRateLimits
func NewGetSecurityOptionsRequest ¶ added in v0.5.2
NewGetSecurityOptionsRequest generates requests for GetSecurityOptions
func NewGetTeamRequest ¶ added in v0.7.0
NewGetTeamRequest generates requests for GetTeam
func NewInviteTeamMemberRequest ¶ added in v0.7.0
func NewInviteTeamMemberRequest(server string, id int, body InviteTeamMemberJSONRequestBody) (*http.Request, error)
NewInviteTeamMemberRequest calls the generic InviteTeamMember builder with application/json body
func NewInviteTeamMemberRequestWithBody ¶ added in v0.7.0
func NewInviteTeamMemberRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error)
NewInviteTeamMemberRequestWithBody generates requests for InviteTeamMember with any type of body
func NewInvoicesRequest ¶ added in v0.5.2
NewInvoicesRequest generates requests for Invoices
func NewListEndpointsRequest ¶ added in v0.5.2
func NewListEndpointsRequest(server string, params *ListEndpointsParams) (*http.Request, error)
NewListEndpointsRequest generates requests for ListEndpoints
func NewListTeamEndpointsRequest ¶ added in v0.7.0
NewListTeamEndpointsRequest generates requests for ListTeamEndpoints
func NewListTeamsRequest ¶ added in v0.7.0
NewListTeamsRequest generates requests for ListTeams
func NewPaymentsRequest ¶ added in v0.5.2
NewPaymentsRequest generates requests for Payments
func NewRemoveTeamMemberRequest ¶ added in v0.7.0
func NewRemoveTeamMemberRequest(server string, id int, userId int, body RemoveTeamMemberJSONRequestBody) (*http.Request, error)
NewRemoveTeamMemberRequest calls the generic RemoveTeamMember builder with application/json body
func NewRemoveTeamMemberRequestWithBody ¶ added in v0.7.0
func NewRemoveTeamMemberRequestWithBody(server string, id int, userId int, contentType string, body io.Reader) (*http.Request, error)
NewRemoveTeamMemberRequestWithBody generates requests for RemoveTeamMember with any type of body
func NewResendTeamInviteRequest ¶ added in v0.7.0
NewResendTeamInviteRequest generates requests for ResendTeamInvite
func NewShowEndpointRequest ¶ added in v0.5.2
NewShowEndpointRequest generates requests for ShowEndpoint
func NewUpdateEndpointRequest ¶ added in v0.5.2
func NewUpdateEndpointRequest(server string, id string, body UpdateEndpointJSONRequestBody) (*http.Request, error)
NewUpdateEndpointRequest calls the generic UpdateEndpoint builder with application/json body
func NewUpdateEndpointRequestWithBody ¶ added in v0.5.2
func NewUpdateEndpointRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateEndpointRequestWithBody generates requests for UpdateEndpoint with any type of body
func NewUpdateEndpointStatusRequest ¶ added in v0.7.0
func NewUpdateEndpointStatusRequest(server string, id string, body UpdateEndpointStatusJSONRequestBody) (*http.Request, error)
NewUpdateEndpointStatusRequest calls the generic UpdateEndpointStatus builder with application/json body
func NewUpdateEndpointStatusRequestWithBody ¶ added in v0.7.0
func NewUpdateEndpointStatusRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateEndpointStatusRequestWithBody generates requests for UpdateEndpointStatus with any type of body
func NewUpdateMethodRateLimitRequest ¶ added in v0.5.2
func NewUpdateMethodRateLimitRequest(server string, id string, methodRateLimitId string, body UpdateMethodRateLimitJSONRequestBody) (*http.Request, error)
NewUpdateMethodRateLimitRequest calls the generic UpdateMethodRateLimit builder with application/json body
func NewUpdateMethodRateLimitRequestWithBody ¶ added in v0.5.2
func NewUpdateMethodRateLimitRequestWithBody(server string, id string, methodRateLimitId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateMethodRateLimitRequestWithBody generates requests for UpdateMethodRateLimit with any type of body
func NewUpdateRateLimitsRequest ¶ added in v0.5.2
func NewUpdateRateLimitsRequest(server string, id string, body UpdateRateLimitsJSONRequestBody) (*http.Request, error)
NewUpdateRateLimitsRequest calls the generic UpdateRateLimits builder with application/json body
func NewUpdateRateLimitsRequestWithBody ¶ added in v0.5.2
func NewUpdateRateLimitsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateRateLimitsRequestWithBody generates requests for UpdateRateLimits with any type of body
func NewUpdateRequestFilterRequest ¶ added in v0.7.0
func NewUpdateRequestFilterRequest(server string, id string, requestFilterId string, body UpdateRequestFilterJSONRequestBody) (*http.Request, error)
NewUpdateRequestFilterRequest calls the generic UpdateRequestFilter builder with application/json body
func NewUpdateRequestFilterRequestWithBody ¶ added in v0.7.0
func NewUpdateRequestFilterRequestWithBody(server string, id string, requestFilterId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateRequestFilterRequestWithBody generates requests for UpdateRequestFilter with any type of body
func NewUpdateSecurityOptionsRequest ¶ added in v0.5.2
func NewUpdateSecurityOptionsRequest(server string, id string, body UpdateSecurityOptionsJSONRequestBody) (*http.Request, error)
NewUpdateSecurityOptionsRequest calls the generic UpdateSecurityOptions builder with application/json body
func NewUpdateSecurityOptionsRequestWithBody ¶ added in v0.5.2
func NewUpdateSecurityOptionsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSecurityOptionsRequestWithBody generates requests for UpdateSecurityOptions with any type of body
func NewUpdateTeamEndpointsRequest ¶ added in v0.7.0
func NewUpdateTeamEndpointsRequest(server string, id int, body UpdateTeamEndpointsJSONRequestBody) (*http.Request, error)
NewUpdateTeamEndpointsRequest calls the generic UpdateTeamEndpoints builder with application/json body
func NewUpdateTeamEndpointsRequestWithBody ¶ added in v0.7.0
func NewUpdateTeamEndpointsRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error)
NewUpdateTeamEndpointsRequestWithBody generates requests for UpdateTeamEndpoints with any type of body
func NewUsageByChainRequest ¶ added in v0.5.2
func NewUsageByChainRequest(server string, params *UsageByChainParams) (*http.Request, error)
NewUsageByChainRequest generates requests for UsageByChain
func NewUsageByEndpointRequest ¶ added in v0.5.2
func NewUsageByEndpointRequest(server string, params *UsageByEndpointParams) (*http.Request, error)
NewUsageByEndpointRequest generates requests for UsageByEndpoint
func NewUsageByMethodRequest ¶ added in v0.5.2
func NewUsageByMethodRequest(server string, params *UsageByMethodParams) (*http.Request, error)
NewUsageByMethodRequest generates requests for UsageByMethod
func NewUsageRequest ¶ added in v0.5.2
func NewUsageRequest(server string, params *UsageParams) (*http.Request, error)
NewUsageRequest generates requests for Usage
Types ¶
type ArchiveEndpointResponse ¶ added in v0.5.2
func ParseArchiveEndpointResponse ¶ added in v0.5.2
func ParseArchiveEndpointResponse(rsp *http.Response) (*ArchiveEndpointResponse, error)
ParseArchiveEndpointResponse parses an HTTP response from a ArchiveEndpointWithResponse call
func (ArchiveEndpointResponse) Status ¶ added in v0.5.2
func (r ArchiveEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (ArchiveEndpointResponse) StatusCode ¶ added in v0.5.2
func (r ArchiveEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Chain ¶
type Chain struct {
IsSelectChain *bool `json:"is_select_chain,omitempty"`
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 ChainsResponse ¶ added in v0.5.2
type ChainsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data []Chain `json:"data"`
Error *string `json:"error"`
}
}
func ParseChainsResponse ¶ added in v0.5.2
func ParseChainsResponse(rsp *http.Response) (*ChainsResponse, error)
ParseChainsResponse parses an HTTP response from a ChainsWithResponse call
func (ChainsResponse) Status ¶ added in v0.5.2
func (r ChainsResponse) Status() string
Status returns HTTPResponse.Status
func (ChainsResponse) StatusCode ¶ added in v0.5.2
func (r ChainsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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) ArchiveEndpoint ¶ added in v0.5.2
func (*Client) CreateAuthenticationToken ¶ added in v0.5.2
func (*Client) CreateDomainMask ¶ added in v0.5.2
func (c *Client) CreateDomainMask(ctx context.Context, id string, body CreateDomainMaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateDomainMaskWithBody ¶ added in v0.5.2
func (*Client) CreateEndpoint ¶ added in v0.5.2
func (c *Client) CreateEndpoint(ctx context.Context, body CreateEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateEndpointWithBody ¶ added in v0.5.2
func (*Client) CreateIp ¶ added in v0.5.2
func (c *Client) CreateIp(ctx context.Context, id string, body CreateIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateIpWithBody ¶ added in v0.5.2
func (*Client) CreateJwt ¶ added in v0.5.2
func (c *Client) CreateJwt(ctx context.Context, id string, body CreateJwtJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateJwtWithBody ¶ added in v0.5.2
func (*Client) CreateMethodRateLimit ¶ added in v0.5.2
func (c *Client) CreateMethodRateLimit(ctx context.Context, id string, body CreateMethodRateLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateMethodRateLimitWithBody ¶ added in v0.5.2
func (*Client) CreateOrUpdateIpCustomHeader ¶ added in v0.7.0
func (c *Client) CreateOrUpdateIpCustomHeader(ctx context.Context, id string, body CreateOrUpdateIpCustomHeaderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateOrUpdateIpCustomHeaderWithBody ¶ added in v0.7.0
func (*Client) CreateReferrer ¶ added in v0.5.2
func (c *Client) CreateReferrer(ctx context.Context, id string, body CreateReferrerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateReferrerWithBody ¶ added in v0.5.2
func (*Client) CreateRequestFilter ¶ added in v0.7.0
func (c *Client) CreateRequestFilter(ctx context.Context, id string, body CreateRequestFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateRequestFilterWithBody ¶ added in v0.7.0
func (*Client) CreateTag ¶ added in v0.7.0
func (c *Client) CreateTag(ctx context.Context, id string, body CreateTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateTagWithBody ¶ added in v0.7.0
func (*Client) CreateTeam ¶ added in v0.7.0
func (c *Client) CreateTeam(ctx context.Context, body CreateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateTeamWithBody ¶ added in v0.7.0
func (*Client) DeleteDomainMask ¶ added in v0.5.2
func (*Client) DeleteIpCustomHeader ¶ added in v0.7.0
func (*Client) DeleteMethodRateLimit ¶ added in v0.5.2
func (*Client) DeleteReferrer ¶ added in v0.5.2
func (*Client) DeleteRequestFilter ¶ added in v0.7.0
func (*Client) DeleteTeam ¶ added in v0.7.0
func (*Client) DeleteToken ¶ added in v0.5.2
func (*Client) DisableMultichain ¶ added in v0.7.0
func (*Client) EnableMultichain ¶ added in v0.7.0
func (*Client) FetchAccountMetrics ¶ added in v0.7.0
func (c *Client) FetchAccountMetrics(ctx context.Context, params *FetchAccountMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) FetchEndpointMetric ¶ added in v0.5.2
func (c *Client) FetchEndpointMetric(ctx context.Context, id string, params *FetchEndpointMetricParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetEndpointLogs ¶ added in v0.7.0
func (c *Client) GetEndpointLogs(ctx context.Context, id string, params *GetEndpointLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetLogDetails ¶ added in v0.7.0
func (c *Client) GetLogDetails(ctx context.Context, id string, params *GetLogDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMethodRateLimits ¶ added in v0.5.2
func (*Client) GetSecurityOptions ¶ added in v0.5.2
func (*Client) InviteTeamMember ¶ added in v0.7.0
func (c *Client) InviteTeamMember(ctx context.Context, id int, body InviteTeamMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InviteTeamMemberWithBody ¶ added in v0.7.0
func (*Client) ListEndpoints ¶ added in v0.5.2
func (c *Client) ListEndpoints(ctx context.Context, params *ListEndpointsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListTeamEndpoints ¶ added in v0.7.0
func (*Client) RemoveTeamMember ¶ added in v0.7.0
func (c *Client) RemoveTeamMember(ctx context.Context, id int, userId int, body RemoveTeamMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RemoveTeamMemberWithBody ¶ added in v0.7.0
func (*Client) ResendTeamInvite ¶ added in v0.7.0
func (*Client) ShowEndpoint ¶ added in v0.5.2
func (*Client) UpdateEndpoint ¶ added in v0.5.2
func (c *Client) UpdateEndpoint(ctx context.Context, id string, body UpdateEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateEndpointStatus ¶ added in v0.7.0
func (c *Client) UpdateEndpointStatus(ctx context.Context, id string, body UpdateEndpointStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateEndpointStatusWithBody ¶ added in v0.7.0
func (*Client) UpdateEndpointWithBody ¶ added in v0.5.2
func (*Client) UpdateMethodRateLimit ¶ added in v0.5.2
func (c *Client) UpdateMethodRateLimit(ctx context.Context, id string, methodRateLimitId string, body UpdateMethodRateLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateMethodRateLimitWithBody ¶ added in v0.5.2
func (*Client) UpdateRateLimits ¶ added in v0.5.2
func (c *Client) UpdateRateLimits(ctx context.Context, id string, body UpdateRateLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateRateLimitsWithBody ¶ added in v0.5.2
func (*Client) UpdateRequestFilter ¶ added in v0.7.0
func (c *Client) UpdateRequestFilter(ctx context.Context, id string, requestFilterId string, body UpdateRequestFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateRequestFilterWithBody ¶ added in v0.7.0
func (*Client) UpdateSecurityOptions ¶ added in v0.5.2
func (c *Client) UpdateSecurityOptions(ctx context.Context, id string, body UpdateSecurityOptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateSecurityOptionsWithBody ¶ added in v0.5.2
func (*Client) UpdateTeamEndpoints ¶ added in v0.7.0
func (c *Client) UpdateTeamEndpoints(ctx context.Context, id int, body UpdateTeamEndpointsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateTeamEndpointsWithBody ¶ added in v0.7.0
func (*Client) Usage ¶ added in v0.5.2
func (c *Client) Usage(ctx context.Context, params *UsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UsageByChain ¶ added in v0.5.2
func (c *Client) UsageByChain(ctx context.Context, params *UsageByChainParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UsageByEndpoint ¶ added in v0.5.2
func (c *Client) UsageByEndpoint(ctx context.Context, params *UsageByEndpointParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UsageByMethod ¶ added in v0.5.2
func (c *Client) UsageByMethod(ctx context.Context, params *UsageByMethodParams, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// Invoices request
Invoices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// Payments request
Payments(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// Chains request
Chains(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListEndpoints request
ListEndpoints(ctx context.Context, params *ListEndpointsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEndpointWithBody request with any body
CreateEndpointWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEndpoint(ctx context.Context, body CreateEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ArchiveEndpoint request
ArchiveEndpoint(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ShowEndpoint request
ShowEndpoint(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateEndpointWithBody request with any body
UpdateEndpointWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateEndpoint(ctx context.Context, id string, body UpdateEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DisableMultichain request
DisableMultichain(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnableMultichain request
EnableMultichain(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteIpCustomHeader request
DeleteIpCustomHeader(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateOrUpdateIpCustomHeaderWithBody request with any body
CreateOrUpdateIpCustomHeaderWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateOrUpdateIpCustomHeader(ctx context.Context, id string, body CreateOrUpdateIpCustomHeaderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLogDetails request
GetLogDetails(ctx context.Context, id string, params *GetLogDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEndpointLogs request
GetEndpointLogs(ctx context.Context, id string, params *GetEndpointLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMethodRateLimits request
GetMethodRateLimits(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMethodRateLimitWithBody request with any body
CreateMethodRateLimitWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMethodRateLimit(ctx context.Context, id string, body CreateMethodRateLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteMethodRateLimit request
DeleteMethodRateLimit(ctx context.Context, id string, methodRateLimitId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMethodRateLimitWithBody request with any body
UpdateMethodRateLimitWithBody(ctx context.Context, id string, methodRateLimitId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMethodRateLimit(ctx context.Context, id string, methodRateLimitId string, body UpdateMethodRateLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// FetchEndpointMetric request
FetchEndpointMetric(ctx context.Context, id string, params *FetchEndpointMetricParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateRateLimitsWithBody request with any body
UpdateRateLimitsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateRateLimits(ctx context.Context, id string, body UpdateRateLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDomainMaskWithBody request with any body
CreateDomainMaskWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDomainMask(ctx context.Context, id string, body CreateDomainMaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDomainMask request
DeleteDomainMask(ctx context.Context, id string, domainMaskId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateIpWithBody request with any body
CreateIpWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateIp(ctx context.Context, id string, body CreateIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteIp request
DeleteIp(ctx context.Context, id string, ipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateJwtWithBody request with any body
CreateJwtWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateJwt(ctx context.Context, id string, body CreateJwtJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteJwt request
DeleteJwt(ctx context.Context, id string, jwtId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateReferrerWithBody request with any body
CreateReferrerWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateReferrer(ctx context.Context, id string, body CreateReferrerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteReferrer request
DeleteReferrer(ctx context.Context, id string, referrerId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRequestFilterWithBody request with any body
CreateRequestFilterWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateRequestFilter(ctx context.Context, id string, body CreateRequestFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteRequestFilter request
DeleteRequestFilter(ctx context.Context, id string, requestFilterId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateRequestFilterWithBody request with any body
UpdateRequestFilterWithBody(ctx context.Context, id string, requestFilterId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateRequestFilter(ctx context.Context, id string, requestFilterId string, body UpdateRequestFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAuthenticationToken request
CreateAuthenticationToken(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteToken request
DeleteToken(ctx context.Context, id string, tokenId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSecurityOptions request
GetSecurityOptions(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSecurityOptionsWithBody request with any body
UpdateSecurityOptionsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSecurityOptions(ctx context.Context, id string, body UpdateSecurityOptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateEndpointStatusWithBody request with any body
UpdateEndpointStatusWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateEndpointStatus(ctx context.Context, id string, body UpdateEndpointStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateTagWithBody request with any body
CreateTagWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateTag(ctx context.Context, id string, body CreateTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteTag request
DeleteTag(ctx context.Context, id string, tagId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// FetchAccountMetrics request
FetchAccountMetrics(ctx context.Context, params *FetchAccountMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListTeams request
ListTeams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateTeamWithBody request with any body
CreateTeamWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateTeam(ctx context.Context, body CreateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteTeam request
DeleteTeam(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTeam request
GetTeam(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListTeamEndpoints request
ListTeamEndpoints(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateTeamEndpointsWithBody request with any body
UpdateTeamEndpointsWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateTeamEndpoints(ctx context.Context, id int, body UpdateTeamEndpointsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// InviteTeamMemberWithBody request with any body
InviteTeamMemberWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InviteTeamMember(ctx context.Context, id int, body InviteTeamMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveTeamMemberWithBody request with any body
RemoveTeamMemberWithBody(ctx context.Context, id int, userId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveTeamMember(ctx context.Context, id int, userId int, body RemoveTeamMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResendTeamInvite request
ResendTeamInvite(ctx context.Context, id int, userId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// Usage request
Usage(ctx context.Context, params *UsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UsageByChain request
UsageByChain(ctx context.Context, params *UsageByChainParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UsageByEndpoint request
UsageByEndpoint(ctx context.Context, params *UsageByEndpointParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UsageByMethod request
UsageByMethod(ctx context.Context, params *UsageByMethodParams, 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) ArchiveEndpointWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) ArchiveEndpointWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ArchiveEndpointResponse, error)
ArchiveEndpointWithResponse request returning *ArchiveEndpointResponse
func (*ClientWithResponses) ChainsWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) ChainsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ChainsResponse, error)
ChainsWithResponse request returning *ChainsResponse
func (*ClientWithResponses) CreateAuthenticationTokenWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) CreateAuthenticationTokenWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CreateAuthenticationTokenResponse, error)
CreateAuthenticationTokenWithResponse request returning *CreateAuthenticationTokenResponse
func (*ClientWithResponses) CreateDomainMaskWithBodyWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) CreateDomainMaskWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDomainMaskResponse, error)
CreateDomainMaskWithBodyWithResponse request with arbitrary body returning *CreateDomainMaskResponse
func (*ClientWithResponses) CreateDomainMaskWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) CreateDomainMaskWithResponse(ctx context.Context, id string, body CreateDomainMaskJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDomainMaskResponse, error)
func (*ClientWithResponses) CreateEndpointWithBodyWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) CreateEndpointWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEndpointResponse, error)
CreateEndpointWithBodyWithResponse request with arbitrary body returning *CreateEndpointResponse
func (*ClientWithResponses) CreateEndpointWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) CreateEndpointWithResponse(ctx context.Context, body CreateEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEndpointResponse, error)
func (*ClientWithResponses) CreateIpWithBodyWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) CreateIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIpResponse, error)
CreateIpWithBodyWithResponse request with arbitrary body returning *CreateIpResponse
func (*ClientWithResponses) CreateIpWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) CreateIpWithResponse(ctx context.Context, id string, body CreateIpJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIpResponse, error)
func (*ClientWithResponses) CreateJwtWithBodyWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) CreateJwtWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateJwtResponse, error)
CreateJwtWithBodyWithResponse request with arbitrary body returning *CreateJwtResponse
func (*ClientWithResponses) CreateJwtWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) CreateJwtWithResponse(ctx context.Context, id string, body CreateJwtJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateJwtResponse, error)
func (*ClientWithResponses) CreateMethodRateLimitWithBodyWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) CreateMethodRateLimitWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMethodRateLimitResponse, error)
CreateMethodRateLimitWithBodyWithResponse request with arbitrary body returning *CreateMethodRateLimitResponse
func (*ClientWithResponses) CreateMethodRateLimitWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) CreateMethodRateLimitWithResponse(ctx context.Context, id string, body CreateMethodRateLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMethodRateLimitResponse, error)
func (*ClientWithResponses) CreateOrUpdateIpCustomHeaderWithBodyWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) CreateOrUpdateIpCustomHeaderWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrUpdateIpCustomHeaderResponse, error)
CreateOrUpdateIpCustomHeaderWithBodyWithResponse request with arbitrary body returning *CreateOrUpdateIpCustomHeaderResponse
func (*ClientWithResponses) CreateOrUpdateIpCustomHeaderWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) CreateOrUpdateIpCustomHeaderWithResponse(ctx context.Context, id string, body CreateOrUpdateIpCustomHeaderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrUpdateIpCustomHeaderResponse, error)
func (*ClientWithResponses) CreateReferrerWithBodyWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) CreateReferrerWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateReferrerResponse, error)
CreateReferrerWithBodyWithResponse request with arbitrary body returning *CreateReferrerResponse
func (*ClientWithResponses) CreateReferrerWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) CreateReferrerWithResponse(ctx context.Context, id string, body CreateReferrerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateReferrerResponse, error)
func (*ClientWithResponses) CreateRequestFilterWithBodyWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) CreateRequestFilterWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRequestFilterResponse, error)
CreateRequestFilterWithBodyWithResponse request with arbitrary body returning *CreateRequestFilterResponse
func (*ClientWithResponses) CreateRequestFilterWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) CreateRequestFilterWithResponse(ctx context.Context, id string, body CreateRequestFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRequestFilterResponse, error)
func (*ClientWithResponses) CreateTagWithBodyWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) CreateTagWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTagResponse, error)
CreateTagWithBodyWithResponse request with arbitrary body returning *CreateTagResponse
func (*ClientWithResponses) CreateTagWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) CreateTagWithResponse(ctx context.Context, id string, body CreateTagJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTagResponse, error)
func (*ClientWithResponses) CreateTeamWithBodyWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) CreateTeamWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)
CreateTeamWithBodyWithResponse request with arbitrary body returning *CreateTeamResponse
func (*ClientWithResponses) CreateTeamWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) CreateTeamWithResponse(ctx context.Context, body CreateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)
func (*ClientWithResponses) DeleteDomainMaskWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) DeleteDomainMaskWithResponse(ctx context.Context, id string, domainMaskId string, reqEditors ...RequestEditorFn) (*DeleteDomainMaskResponse, error)
DeleteDomainMaskWithResponse request returning *DeleteDomainMaskResponse
func (*ClientWithResponses) DeleteIpCustomHeaderWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) DeleteIpCustomHeaderWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIpCustomHeaderResponse, error)
DeleteIpCustomHeaderWithResponse request returning *DeleteIpCustomHeaderResponse
func (*ClientWithResponses) DeleteIpWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) DeleteIpWithResponse(ctx context.Context, id string, ipId string, reqEditors ...RequestEditorFn) (*DeleteIpResponse, error)
DeleteIpWithResponse request returning *DeleteIpResponse
func (*ClientWithResponses) DeleteJwtWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) DeleteJwtWithResponse(ctx context.Context, id string, jwtId string, reqEditors ...RequestEditorFn) (*DeleteJwtResponse, error)
DeleteJwtWithResponse request returning *DeleteJwtResponse
func (*ClientWithResponses) DeleteMethodRateLimitWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) DeleteMethodRateLimitWithResponse(ctx context.Context, id string, methodRateLimitId string, reqEditors ...RequestEditorFn) (*DeleteMethodRateLimitResponse, error)
DeleteMethodRateLimitWithResponse request returning *DeleteMethodRateLimitResponse
func (*ClientWithResponses) DeleteReferrerWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) DeleteReferrerWithResponse(ctx context.Context, id string, referrerId string, reqEditors ...RequestEditorFn) (*DeleteReferrerResponse, error)
DeleteReferrerWithResponse request returning *DeleteReferrerResponse
func (*ClientWithResponses) DeleteRequestFilterWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) DeleteRequestFilterWithResponse(ctx context.Context, id string, requestFilterId string, reqEditors ...RequestEditorFn) (*DeleteRequestFilterResponse, error)
DeleteRequestFilterWithResponse request returning *DeleteRequestFilterResponse
func (*ClientWithResponses) DeleteTagWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) DeleteTagWithResponse(ctx context.Context, id string, tagId string, reqEditors ...RequestEditorFn) (*DeleteTagResponse, error)
DeleteTagWithResponse request returning *DeleteTagResponse
func (*ClientWithResponses) DeleteTeamWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) DeleteTeamWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DeleteTeamResponse, error)
DeleteTeamWithResponse request returning *DeleteTeamResponse
func (*ClientWithResponses) DeleteTokenWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) DeleteTokenWithResponse(ctx context.Context, id string, tokenId string, reqEditors ...RequestEditorFn) (*DeleteTokenResponse, error)
DeleteTokenWithResponse request returning *DeleteTokenResponse
func (*ClientWithResponses) DisableMultichainWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) DisableMultichainWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DisableMultichainResponse, error)
DisableMultichainWithResponse request returning *DisableMultichainResponse
func (*ClientWithResponses) EnableMultichainWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) EnableMultichainWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*EnableMultichainResponse, error)
EnableMultichainWithResponse request returning *EnableMultichainResponse
func (*ClientWithResponses) FetchAccountMetricsWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) FetchAccountMetricsWithResponse(ctx context.Context, params *FetchAccountMetricsParams, reqEditors ...RequestEditorFn) (*FetchAccountMetricsResponse, error)
FetchAccountMetricsWithResponse request returning *FetchAccountMetricsResponse
func (*ClientWithResponses) FetchEndpointMetricWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) FetchEndpointMetricWithResponse(ctx context.Context, id string, params *FetchEndpointMetricParams, reqEditors ...RequestEditorFn) (*FetchEndpointMetricResponse, error)
FetchEndpointMetricWithResponse request returning *FetchEndpointMetricResponse
func (*ClientWithResponses) GetEndpointLogsWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) GetEndpointLogsWithResponse(ctx context.Context, id string, params *GetEndpointLogsParams, reqEditors ...RequestEditorFn) (*GetEndpointLogsResponse, error)
GetEndpointLogsWithResponse request returning *GetEndpointLogsResponse
func (*ClientWithResponses) GetLogDetailsWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) GetLogDetailsWithResponse(ctx context.Context, id string, params *GetLogDetailsParams, reqEditors ...RequestEditorFn) (*GetLogDetailsResponse, error)
GetLogDetailsWithResponse request returning *GetLogDetailsResponse
func (*ClientWithResponses) GetMethodRateLimitsWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) GetMethodRateLimitsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetMethodRateLimitsResponse, error)
GetMethodRateLimitsWithResponse request returning *GetMethodRateLimitsResponse
func (*ClientWithResponses) GetSecurityOptionsWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) GetSecurityOptionsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSecurityOptionsResponse, error)
GetSecurityOptionsWithResponse request returning *GetSecurityOptionsResponse
func (*ClientWithResponses) GetTeamWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) GetTeamWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetTeamResponse, error)
GetTeamWithResponse request returning *GetTeamResponse
func (*ClientWithResponses) InviteTeamMemberWithBodyWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) InviteTeamMemberWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteTeamMemberResponse, error)
InviteTeamMemberWithBodyWithResponse request with arbitrary body returning *InviteTeamMemberResponse
func (*ClientWithResponses) InviteTeamMemberWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) InviteTeamMemberWithResponse(ctx context.Context, id int, body InviteTeamMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteTeamMemberResponse, error)
func (*ClientWithResponses) InvoicesWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) InvoicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InvoicesResponse, error)
InvoicesWithResponse request returning *InvoicesResponse
func (*ClientWithResponses) ListEndpointsWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) ListEndpointsWithResponse(ctx context.Context, params *ListEndpointsParams, reqEditors ...RequestEditorFn) (*ListEndpointsResponse, error)
ListEndpointsWithResponse request returning *ListEndpointsResponse
func (*ClientWithResponses) ListTeamEndpointsWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) ListTeamEndpointsWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ListTeamEndpointsResponse, error)
ListTeamEndpointsWithResponse request returning *ListTeamEndpointsResponse
func (*ClientWithResponses) ListTeamsWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) ListTeamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTeamsResponse, error)
ListTeamsWithResponse request returning *ListTeamsResponse
func (*ClientWithResponses) PaymentsWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) PaymentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PaymentsResponse, error)
PaymentsWithResponse request returning *PaymentsResponse
func (*ClientWithResponses) RemoveTeamMemberWithBodyWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) RemoveTeamMemberWithBodyWithResponse(ctx context.Context, id int, userId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveTeamMemberResponse, error)
RemoveTeamMemberWithBodyWithResponse request with arbitrary body returning *RemoveTeamMemberResponse
func (*ClientWithResponses) RemoveTeamMemberWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) RemoveTeamMemberWithResponse(ctx context.Context, id int, userId int, body RemoveTeamMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveTeamMemberResponse, error)
func (*ClientWithResponses) ResendTeamInviteWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) ResendTeamInviteWithResponse(ctx context.Context, id int, userId int, reqEditors ...RequestEditorFn) (*ResendTeamInviteResponse, error)
ResendTeamInviteWithResponse request returning *ResendTeamInviteResponse
func (*ClientWithResponses) ShowEndpointWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) ShowEndpointWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ShowEndpointResponse, error)
ShowEndpointWithResponse request returning *ShowEndpointResponse
func (*ClientWithResponses) UpdateEndpointStatusWithBodyWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) UpdateEndpointStatusWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEndpointStatusResponse, error)
UpdateEndpointStatusWithBodyWithResponse request with arbitrary body returning *UpdateEndpointStatusResponse
func (*ClientWithResponses) UpdateEndpointStatusWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) UpdateEndpointStatusWithResponse(ctx context.Context, id string, body UpdateEndpointStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEndpointStatusResponse, error)
func (*ClientWithResponses) UpdateEndpointWithBodyWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) UpdateEndpointWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEndpointResponse, error)
UpdateEndpointWithBodyWithResponse request with arbitrary body returning *UpdateEndpointResponse
func (*ClientWithResponses) UpdateEndpointWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) UpdateEndpointWithResponse(ctx context.Context, id string, body UpdateEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEndpointResponse, error)
func (*ClientWithResponses) UpdateMethodRateLimitWithBodyWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) UpdateMethodRateLimitWithBodyWithResponse(ctx context.Context, id string, methodRateLimitId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMethodRateLimitResponse, error)
UpdateMethodRateLimitWithBodyWithResponse request with arbitrary body returning *UpdateMethodRateLimitResponse
func (*ClientWithResponses) UpdateMethodRateLimitWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) UpdateMethodRateLimitWithResponse(ctx context.Context, id string, methodRateLimitId string, body UpdateMethodRateLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMethodRateLimitResponse, error)
func (*ClientWithResponses) UpdateRateLimitsWithBodyWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) UpdateRateLimitsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRateLimitsResponse, error)
UpdateRateLimitsWithBodyWithResponse request with arbitrary body returning *UpdateRateLimitsResponse
func (*ClientWithResponses) UpdateRateLimitsWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) UpdateRateLimitsWithResponse(ctx context.Context, id string, body UpdateRateLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRateLimitsResponse, error)
func (*ClientWithResponses) UpdateRequestFilterWithBodyWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) UpdateRequestFilterWithBodyWithResponse(ctx context.Context, id string, requestFilterId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRequestFilterResponse, error)
UpdateRequestFilterWithBodyWithResponse request with arbitrary body returning *UpdateRequestFilterResponse
func (*ClientWithResponses) UpdateRequestFilterWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) UpdateRequestFilterWithResponse(ctx context.Context, id string, requestFilterId string, body UpdateRequestFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRequestFilterResponse, error)
func (*ClientWithResponses) UpdateSecurityOptionsWithBodyWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) UpdateSecurityOptionsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSecurityOptionsResponse, error)
UpdateSecurityOptionsWithBodyWithResponse request with arbitrary body returning *UpdateSecurityOptionsResponse
func (*ClientWithResponses) UpdateSecurityOptionsWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) UpdateSecurityOptionsWithResponse(ctx context.Context, id string, body UpdateSecurityOptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSecurityOptionsResponse, error)
func (*ClientWithResponses) UpdateTeamEndpointsWithBodyWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) UpdateTeamEndpointsWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTeamEndpointsResponse, error)
UpdateTeamEndpointsWithBodyWithResponse request with arbitrary body returning *UpdateTeamEndpointsResponse
func (*ClientWithResponses) UpdateTeamEndpointsWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) UpdateTeamEndpointsWithResponse(ctx context.Context, id int, body UpdateTeamEndpointsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTeamEndpointsResponse, error)
func (*ClientWithResponses) UsageByChainWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) UsageByChainWithResponse(ctx context.Context, params *UsageByChainParams, reqEditors ...RequestEditorFn) (*UsageByChainResponse, error)
UsageByChainWithResponse request returning *UsageByChainResponse
func (*ClientWithResponses) UsageByEndpointWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) UsageByEndpointWithResponse(ctx context.Context, params *UsageByEndpointParams, reqEditors ...RequestEditorFn) (*UsageByEndpointResponse, error)
UsageByEndpointWithResponse request returning *UsageByEndpointResponse
func (*ClientWithResponses) UsageByMethodWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) UsageByMethodWithResponse(ctx context.Context, params *UsageByMethodParams, reqEditors ...RequestEditorFn) (*UsageByMethodResponse, error)
UsageByMethodWithResponse request returning *UsageByMethodResponse
func (*ClientWithResponses) UsageWithResponse ¶ added in v0.5.2
func (c *ClientWithResponses) UsageWithResponse(ctx context.Context, params *UsageParams, reqEditors ...RequestEditorFn) (*UsageResponse, error)
UsageWithResponse request returning *UsageResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// InvoicesWithResponse request
InvoicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InvoicesResponse, error)
// PaymentsWithResponse request
PaymentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PaymentsResponse, error)
// ChainsWithResponse request
ChainsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ChainsResponse, error)
// ListEndpointsWithResponse request
ListEndpointsWithResponse(ctx context.Context, params *ListEndpointsParams, reqEditors ...RequestEditorFn) (*ListEndpointsResponse, error)
// CreateEndpointWithBodyWithResponse request with any body
CreateEndpointWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEndpointResponse, error)
CreateEndpointWithResponse(ctx context.Context, body CreateEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEndpointResponse, error)
// ArchiveEndpointWithResponse request
ArchiveEndpointWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ArchiveEndpointResponse, error)
// ShowEndpointWithResponse request
ShowEndpointWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ShowEndpointResponse, error)
// UpdateEndpointWithBodyWithResponse request with any body
UpdateEndpointWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEndpointResponse, error)
UpdateEndpointWithResponse(ctx context.Context, id string, body UpdateEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEndpointResponse, error)
// DisableMultichainWithResponse request
DisableMultichainWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DisableMultichainResponse, error)
// EnableMultichainWithResponse request
EnableMultichainWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*EnableMultichainResponse, error)
// DeleteIpCustomHeaderWithResponse request
DeleteIpCustomHeaderWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteIpCustomHeaderResponse, error)
// CreateOrUpdateIpCustomHeaderWithBodyWithResponse request with any body
CreateOrUpdateIpCustomHeaderWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrUpdateIpCustomHeaderResponse, error)
CreateOrUpdateIpCustomHeaderWithResponse(ctx context.Context, id string, body CreateOrUpdateIpCustomHeaderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrUpdateIpCustomHeaderResponse, error)
// GetLogDetailsWithResponse request
GetLogDetailsWithResponse(ctx context.Context, id string, params *GetLogDetailsParams, reqEditors ...RequestEditorFn) (*GetLogDetailsResponse, error)
// GetEndpointLogsWithResponse request
GetEndpointLogsWithResponse(ctx context.Context, id string, params *GetEndpointLogsParams, reqEditors ...RequestEditorFn) (*GetEndpointLogsResponse, error)
// GetMethodRateLimitsWithResponse request
GetMethodRateLimitsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetMethodRateLimitsResponse, error)
// CreateMethodRateLimitWithBodyWithResponse request with any body
CreateMethodRateLimitWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMethodRateLimitResponse, error)
CreateMethodRateLimitWithResponse(ctx context.Context, id string, body CreateMethodRateLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMethodRateLimitResponse, error)
// DeleteMethodRateLimitWithResponse request
DeleteMethodRateLimitWithResponse(ctx context.Context, id string, methodRateLimitId string, reqEditors ...RequestEditorFn) (*DeleteMethodRateLimitResponse, error)
// UpdateMethodRateLimitWithBodyWithResponse request with any body
UpdateMethodRateLimitWithBodyWithResponse(ctx context.Context, id string, methodRateLimitId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMethodRateLimitResponse, error)
UpdateMethodRateLimitWithResponse(ctx context.Context, id string, methodRateLimitId string, body UpdateMethodRateLimitJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMethodRateLimitResponse, error)
// FetchEndpointMetricWithResponse request
FetchEndpointMetricWithResponse(ctx context.Context, id string, params *FetchEndpointMetricParams, reqEditors ...RequestEditorFn) (*FetchEndpointMetricResponse, error)
// UpdateRateLimitsWithBodyWithResponse request with any body
UpdateRateLimitsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRateLimitsResponse, error)
UpdateRateLimitsWithResponse(ctx context.Context, id string, body UpdateRateLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRateLimitsResponse, error)
// CreateDomainMaskWithBodyWithResponse request with any body
CreateDomainMaskWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDomainMaskResponse, error)
CreateDomainMaskWithResponse(ctx context.Context, id string, body CreateDomainMaskJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDomainMaskResponse, error)
// DeleteDomainMaskWithResponse request
DeleteDomainMaskWithResponse(ctx context.Context, id string, domainMaskId string, reqEditors ...RequestEditorFn) (*DeleteDomainMaskResponse, error)
// CreateIpWithBodyWithResponse request with any body
CreateIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIpResponse, error)
CreateIpWithResponse(ctx context.Context, id string, body CreateIpJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIpResponse, error)
// DeleteIpWithResponse request
DeleteIpWithResponse(ctx context.Context, id string, ipId string, reqEditors ...RequestEditorFn) (*DeleteIpResponse, error)
// CreateJwtWithBodyWithResponse request with any body
CreateJwtWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateJwtResponse, error)
CreateJwtWithResponse(ctx context.Context, id string, body CreateJwtJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateJwtResponse, error)
// DeleteJwtWithResponse request
DeleteJwtWithResponse(ctx context.Context, id string, jwtId string, reqEditors ...RequestEditorFn) (*DeleteJwtResponse, error)
// CreateReferrerWithBodyWithResponse request with any body
CreateReferrerWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateReferrerResponse, error)
CreateReferrerWithResponse(ctx context.Context, id string, body CreateReferrerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateReferrerResponse, error)
// DeleteReferrerWithResponse request
DeleteReferrerWithResponse(ctx context.Context, id string, referrerId string, reqEditors ...RequestEditorFn) (*DeleteReferrerResponse, error)
// CreateRequestFilterWithBodyWithResponse request with any body
CreateRequestFilterWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRequestFilterResponse, error)
CreateRequestFilterWithResponse(ctx context.Context, id string, body CreateRequestFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRequestFilterResponse, error)
// DeleteRequestFilterWithResponse request
DeleteRequestFilterWithResponse(ctx context.Context, id string, requestFilterId string, reqEditors ...RequestEditorFn) (*DeleteRequestFilterResponse, error)
// UpdateRequestFilterWithBodyWithResponse request with any body
UpdateRequestFilterWithBodyWithResponse(ctx context.Context, id string, requestFilterId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRequestFilterResponse, error)
UpdateRequestFilterWithResponse(ctx context.Context, id string, requestFilterId string, body UpdateRequestFilterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRequestFilterResponse, error)
// CreateAuthenticationTokenWithResponse request
CreateAuthenticationTokenWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CreateAuthenticationTokenResponse, error)
// DeleteTokenWithResponse request
DeleteTokenWithResponse(ctx context.Context, id string, tokenId string, reqEditors ...RequestEditorFn) (*DeleteTokenResponse, error)
// GetSecurityOptionsWithResponse request
GetSecurityOptionsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSecurityOptionsResponse, error)
// UpdateSecurityOptionsWithBodyWithResponse request with any body
UpdateSecurityOptionsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSecurityOptionsResponse, error)
UpdateSecurityOptionsWithResponse(ctx context.Context, id string, body UpdateSecurityOptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSecurityOptionsResponse, error)
// UpdateEndpointStatusWithBodyWithResponse request with any body
UpdateEndpointStatusWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEndpointStatusResponse, error)
UpdateEndpointStatusWithResponse(ctx context.Context, id string, body UpdateEndpointStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEndpointStatusResponse, error)
// CreateTagWithBodyWithResponse request with any body
CreateTagWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTagResponse, error)
CreateTagWithResponse(ctx context.Context, id string, body CreateTagJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTagResponse, error)
// DeleteTagWithResponse request
DeleteTagWithResponse(ctx context.Context, id string, tagId string, reqEditors ...RequestEditorFn) (*DeleteTagResponse, error)
// FetchAccountMetricsWithResponse request
FetchAccountMetricsWithResponse(ctx context.Context, params *FetchAccountMetricsParams, reqEditors ...RequestEditorFn) (*FetchAccountMetricsResponse, error)
// ListTeamsWithResponse request
ListTeamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTeamsResponse, error)
// CreateTeamWithBodyWithResponse request with any body
CreateTeamWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)
CreateTeamWithResponse(ctx context.Context, body CreateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)
// DeleteTeamWithResponse request
DeleteTeamWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DeleteTeamResponse, error)
// GetTeamWithResponse request
GetTeamWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetTeamResponse, error)
// ListTeamEndpointsWithResponse request
ListTeamEndpointsWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ListTeamEndpointsResponse, error)
// UpdateTeamEndpointsWithBodyWithResponse request with any body
UpdateTeamEndpointsWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTeamEndpointsResponse, error)
UpdateTeamEndpointsWithResponse(ctx context.Context, id int, body UpdateTeamEndpointsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTeamEndpointsResponse, error)
// InviteTeamMemberWithBodyWithResponse request with any body
InviteTeamMemberWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteTeamMemberResponse, error)
InviteTeamMemberWithResponse(ctx context.Context, id int, body InviteTeamMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteTeamMemberResponse, error)
// RemoveTeamMemberWithBodyWithResponse request with any body
RemoveTeamMemberWithBodyWithResponse(ctx context.Context, id int, userId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveTeamMemberResponse, error)
RemoveTeamMemberWithResponse(ctx context.Context, id int, userId int, body RemoveTeamMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveTeamMemberResponse, error)
// ResendTeamInviteWithResponse request
ResendTeamInviteWithResponse(ctx context.Context, id int, userId int, reqEditors ...RequestEditorFn) (*ResendTeamInviteResponse, error)
// UsageWithResponse request
UsageWithResponse(ctx context.Context, params *UsageParams, reqEditors ...RequestEditorFn) (*UsageResponse, error)
// UsageByChainWithResponse request
UsageByChainWithResponse(ctx context.Context, params *UsageByChainParams, reqEditors ...RequestEditorFn) (*UsageByChainResponse, error)
// UsageByEndpointWithResponse request
UsageByEndpointWithResponse(ctx context.Context, params *UsageByEndpointParams, reqEditors ...RequestEditorFn) (*UsageByEndpointResponse, error)
// UsageByMethodWithResponse request
UsageByMethodWithResponse(ctx context.Context, params *UsageByMethodParams, reqEditors ...RequestEditorFn) (*UsageByMethodResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateAuthenticationTokenResponse ¶ added in v0.5.2
func ParseCreateAuthenticationTokenResponse ¶ added in v0.5.2
func ParseCreateAuthenticationTokenResponse(rsp *http.Response) (*CreateAuthenticationTokenResponse, error)
ParseCreateAuthenticationTokenResponse parses an HTTP response from a CreateAuthenticationTokenWithResponse call
func (CreateAuthenticationTokenResponse) Status ¶ added in v0.5.2
func (r CreateAuthenticationTokenResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAuthenticationTokenResponse) StatusCode ¶ added in v0.5.2
func (r CreateAuthenticationTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDomainMaskJSONBody ¶ added in v0.5.2
type CreateDomainMaskJSONBody struct {
DomainMask *string `json:"domain_mask,omitempty"`
}
CreateDomainMaskJSONBody defines parameters for CreateDomainMask.
type CreateDomainMaskJSONRequestBody ¶ added in v0.5.2
type CreateDomainMaskJSONRequestBody CreateDomainMaskJSONBody
CreateDomainMaskJSONRequestBody defines body for CreateDomainMask for application/json ContentType.
type CreateDomainMaskResponse ¶ added in v0.5.2
func ParseCreateDomainMaskResponse ¶ added in v0.5.2
func ParseCreateDomainMaskResponse(rsp *http.Response) (*CreateDomainMaskResponse, error)
ParseCreateDomainMaskResponse parses an HTTP response from a CreateDomainMaskWithResponse call
func (CreateDomainMaskResponse) Status ¶ added in v0.5.2
func (r CreateDomainMaskResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDomainMaskResponse) StatusCode ¶ added in v0.5.2
func (r CreateDomainMaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateEndpointJSONBody ¶ added in v0.5.2
type CreateEndpointJSONBody struct {
Chain *string `json:"chain,omitempty"`
Network *string `json:"network,omitempty"`
}
CreateEndpointJSONBody defines parameters for CreateEndpoint.
type CreateEndpointJSONRequestBody ¶ added in v0.5.2
type CreateEndpointJSONRequestBody CreateEndpointJSONBody
CreateEndpointJSONRequestBody defines body for CreateEndpoint for application/json ContentType.
type CreateEndpointResponse ¶ added in v0.5.2
type CreateEndpointResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data SingleEndpoint `json:"data"`
Error *string `json:"error"`
}
}
func ParseCreateEndpointResponse ¶ added in v0.5.2
func ParseCreateEndpointResponse(rsp *http.Response) (*CreateEndpointResponse, error)
ParseCreateEndpointResponse parses an HTTP response from a CreateEndpointWithResponse call
func (CreateEndpointResponse) Status ¶ added in v0.5.2
func (r CreateEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (CreateEndpointResponse) StatusCode ¶ added in v0.5.2
func (r CreateEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateIpJSONBody ¶ added in v0.5.2
type CreateIpJSONBody struct {
Ip *string `json:"ip,omitempty"`
}
CreateIpJSONBody defines parameters for CreateIp.
type CreateIpJSONRequestBody ¶ added in v0.5.2
type CreateIpJSONRequestBody CreateIpJSONBody
CreateIpJSONRequestBody defines body for CreateIp for application/json ContentType.
type CreateIpResponse ¶ added in v0.5.2
func ParseCreateIpResponse ¶ added in v0.5.2
func ParseCreateIpResponse(rsp *http.Response) (*CreateIpResponse, error)
ParseCreateIpResponse parses an HTTP response from a CreateIpWithResponse call
func (CreateIpResponse) Status ¶ added in v0.5.2
func (r CreateIpResponse) Status() string
Status returns HTTPResponse.Status
func (CreateIpResponse) StatusCode ¶ added in v0.5.2
func (r CreateIpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateJwtJSONBody ¶ added in v0.5.2
type CreateJwtJSONBody struct {
Kid *string `json:"kid,omitempty"`
Name *string `json:"name,omitempty"`
PublicKey *string `json:"public_key,omitempty"`
}
CreateJwtJSONBody defines parameters for CreateJwt.
type CreateJwtJSONRequestBody ¶ added in v0.5.2
type CreateJwtJSONRequestBody CreateJwtJSONBody
CreateJwtJSONRequestBody defines body for CreateJwt for application/json ContentType.
type CreateJwtResponse ¶ added in v0.5.2
func ParseCreateJwtResponse ¶ added in v0.5.2
func ParseCreateJwtResponse(rsp *http.Response) (*CreateJwtResponse, error)
ParseCreateJwtResponse parses an HTTP response from a CreateJwtWithResponse call
func (CreateJwtResponse) Status ¶ added in v0.5.2
func (r CreateJwtResponse) Status() string
Status returns HTTPResponse.Status
func (CreateJwtResponse) StatusCode ¶ added in v0.5.2
func (r CreateJwtResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateMethodRateLimitJSONBody ¶ added in v0.5.2
type CreateMethodRateLimitJSONBody struct {
Interval CreateMethodRateLimitJSONBodyInterval `json:"interval"`
Methods []string `json:"methods"`
Rate int `json:"rate"`
}
CreateMethodRateLimitJSONBody defines parameters for CreateMethodRateLimit.
type CreateMethodRateLimitJSONBodyInterval ¶ added in v0.5.2
type CreateMethodRateLimitJSONBodyInterval string
CreateMethodRateLimitJSONBodyInterval defines parameters for CreateMethodRateLimit.
const ( CreateMethodRateLimitJSONBodyIntervalDay CreateMethodRateLimitJSONBodyInterval = "day" CreateMethodRateLimitJSONBodyIntervalMinute CreateMethodRateLimitJSONBodyInterval = "minute" CreateMethodRateLimitJSONBodyIntervalSecond CreateMethodRateLimitJSONBodyInterval = "second" )
Defines values for CreateMethodRateLimitJSONBodyInterval.
type CreateMethodRateLimitJSONRequestBody ¶ added in v0.5.2
type CreateMethodRateLimitJSONRequestBody CreateMethodRateLimitJSONBody
CreateMethodRateLimitJSONRequestBody defines body for CreateMethodRateLimit for application/json ContentType.
type CreateMethodRateLimitResponse ¶ added in v0.5.2
func ParseCreateMethodRateLimitResponse ¶ added in v0.5.2
func ParseCreateMethodRateLimitResponse(rsp *http.Response) (*CreateMethodRateLimitResponse, error)
ParseCreateMethodRateLimitResponse parses an HTTP response from a CreateMethodRateLimitWithResponse call
func (CreateMethodRateLimitResponse) Status ¶ added in v0.5.2
func (r CreateMethodRateLimitResponse) Status() string
Status returns HTTPResponse.Status
func (CreateMethodRateLimitResponse) StatusCode ¶ added in v0.5.2
func (r CreateMethodRateLimitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateOrUpdateIpCustomHeaderJSONBody ¶ added in v0.7.0
type CreateOrUpdateIpCustomHeaderJSONBody struct {
// HeaderName IP custom header name
HeaderName string `json:"header_name"`
}
CreateOrUpdateIpCustomHeaderJSONBody defines parameters for CreateOrUpdateIpCustomHeader.
type CreateOrUpdateIpCustomHeaderJSONRequestBody ¶ added in v0.7.0
type CreateOrUpdateIpCustomHeaderJSONRequestBody CreateOrUpdateIpCustomHeaderJSONBody
CreateOrUpdateIpCustomHeaderJSONRequestBody defines body for CreateOrUpdateIpCustomHeader for application/json ContentType.
type CreateOrUpdateIpCustomHeaderResponse ¶ added in v0.7.0
type CreateOrUpdateIpCustomHeaderResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
HeaderName *string `json:"header_name,omitempty"`
} `json:"data,omitempty"`
Error *string `json:"error"`
}
}
func ParseCreateOrUpdateIpCustomHeaderResponse ¶ added in v0.7.0
func ParseCreateOrUpdateIpCustomHeaderResponse(rsp *http.Response) (*CreateOrUpdateIpCustomHeaderResponse, error)
ParseCreateOrUpdateIpCustomHeaderResponse parses an HTTP response from a CreateOrUpdateIpCustomHeaderWithResponse call
func (CreateOrUpdateIpCustomHeaderResponse) Status ¶ added in v0.7.0
func (r CreateOrUpdateIpCustomHeaderResponse) Status() string
Status returns HTTPResponse.Status
func (CreateOrUpdateIpCustomHeaderResponse) StatusCode ¶ added in v0.7.0
func (r CreateOrUpdateIpCustomHeaderResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateReferrerJSONBody ¶ added in v0.5.2
type CreateReferrerJSONBody struct {
Referrer *string `json:"referrer,omitempty"`
}
CreateReferrerJSONBody defines parameters for CreateReferrer.
type CreateReferrerJSONRequestBody ¶ added in v0.5.2
type CreateReferrerJSONRequestBody CreateReferrerJSONBody
CreateReferrerJSONRequestBody defines body for CreateReferrer for application/json ContentType.
type CreateReferrerResponse ¶ added in v0.5.2
func ParseCreateReferrerResponse ¶ added in v0.5.2
func ParseCreateReferrerResponse(rsp *http.Response) (*CreateReferrerResponse, error)
ParseCreateReferrerResponse parses an HTTP response from a CreateReferrerWithResponse call
func (CreateReferrerResponse) Status ¶ added in v0.5.2
func (r CreateReferrerResponse) Status() string
Status returns HTTPResponse.Status
func (CreateReferrerResponse) StatusCode ¶ added in v0.5.2
func (r CreateReferrerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateRequestFilterJSONBody ¶ added in v0.7.0
type CreateRequestFilterJSONBody struct {
// Method Array of method names for whitelisting
Method *[]string `json:"method,omitempty"`
}
CreateRequestFilterJSONBody defines parameters for CreateRequestFilter.
type CreateRequestFilterJSONRequestBody ¶ added in v0.7.0
type CreateRequestFilterJSONRequestBody CreateRequestFilterJSONBody
CreateRequestFilterJSONRequestBody defines body for CreateRequestFilter for application/json ContentType.
type CreateRequestFilterResponse ¶ added in v0.7.0
type CreateRequestFilterResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Id *string `json:"id,omitempty"`
} `json:"data,omitempty"`
Error *string `json:"error"`
}
}
func ParseCreateRequestFilterResponse ¶ added in v0.7.0
func ParseCreateRequestFilterResponse(rsp *http.Response) (*CreateRequestFilterResponse, error)
ParseCreateRequestFilterResponse parses an HTTP response from a CreateRequestFilterWithResponse call
func (CreateRequestFilterResponse) Status ¶ added in v0.7.0
func (r CreateRequestFilterResponse) Status() string
Status returns HTTPResponse.Status
func (CreateRequestFilterResponse) StatusCode ¶ added in v0.7.0
func (r CreateRequestFilterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateTagJSONBody ¶ added in v0.7.0
type CreateTagJSONBody struct {
Label *string `json:"label,omitempty"`
}
CreateTagJSONBody defines parameters for CreateTag.
type CreateTagJSONRequestBody ¶ added in v0.7.0
type CreateTagJSONRequestBody CreateTagJSONBody
CreateTagJSONRequestBody defines body for CreateTag for application/json ContentType.
type CreateTagResponse ¶ added in v0.7.0
func ParseCreateTagResponse ¶ added in v0.7.0
func ParseCreateTagResponse(rsp *http.Response) (*CreateTagResponse, error)
ParseCreateTagResponse parses an HTTP response from a CreateTagWithResponse call
func (CreateTagResponse) Status ¶ added in v0.7.0
func (r CreateTagResponse) Status() string
Status returns HTTPResponse.Status
func (CreateTagResponse) StatusCode ¶ added in v0.7.0
func (r CreateTagResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateTeamJSONBody ¶ added in v0.7.0
type CreateTeamJSONBody struct {
Name string `json:"name"`
}
CreateTeamJSONBody defines parameters for CreateTeam.
type CreateTeamJSONRequestBody ¶ added in v0.7.0
type CreateTeamJSONRequestBody CreateTeamJSONBody
CreateTeamJSONRequestBody defines body for CreateTeam for application/json ContentType.
type CreateTeamResponse ¶ added in v0.7.0
type CreateTeamResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data struct {
DefaultRole *string `json:"default_role,omitempty"`
Id *int `json:"id,omitempty"`
MembersCount *int `json:"members_count,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"data"`
Error *string `json:"error"`
}
JSON400 *struct {
Data *string `json:"data"`
Error string `json:"error"`
}
}
func ParseCreateTeamResponse ¶ added in v0.7.0
func ParseCreateTeamResponse(rsp *http.Response) (*CreateTeamResponse, error)
ParseCreateTeamResponse parses an HTTP response from a CreateTeamWithResponse call
func (CreateTeamResponse) Status ¶ added in v0.7.0
func (r CreateTeamResponse) Status() string
Status returns HTTPResponse.Status
func (CreateTeamResponse) StatusCode ¶ added in v0.7.0
func (r CreateTeamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteDomainMaskResponse ¶ added in v0.5.2
func ParseDeleteDomainMaskResponse ¶ added in v0.5.2
func ParseDeleteDomainMaskResponse(rsp *http.Response) (*DeleteDomainMaskResponse, error)
ParseDeleteDomainMaskResponse parses an HTTP response from a DeleteDomainMaskWithResponse call
func (DeleteDomainMaskResponse) Status ¶ added in v0.5.2
func (r DeleteDomainMaskResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDomainMaskResponse) StatusCode ¶ added in v0.5.2
func (r DeleteDomainMaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIpCustomHeaderResponse ¶ added in v0.7.0
type DeleteIpCustomHeaderResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *bool `json:"data,omitempty"`
Error *string `json:"error"`
}
}
func ParseDeleteIpCustomHeaderResponse ¶ added in v0.7.0
func ParseDeleteIpCustomHeaderResponse(rsp *http.Response) (*DeleteIpCustomHeaderResponse, error)
ParseDeleteIpCustomHeaderResponse parses an HTTP response from a DeleteIpCustomHeaderWithResponse call
func (DeleteIpCustomHeaderResponse) Status ¶ added in v0.7.0
func (r DeleteIpCustomHeaderResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIpCustomHeaderResponse) StatusCode ¶ added in v0.7.0
func (r DeleteIpCustomHeaderResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIpResponse ¶ added in v0.5.2
type DeleteIpResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *bool `json:"data,omitempty"`
Error *string `json:"error"`
}
}
func ParseDeleteIpResponse ¶ added in v0.5.2
func ParseDeleteIpResponse(rsp *http.Response) (*DeleteIpResponse, error)
ParseDeleteIpResponse parses an HTTP response from a DeleteIpWithResponse call
func (DeleteIpResponse) Status ¶ added in v0.5.2
func (r DeleteIpResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIpResponse) StatusCode ¶ added in v0.5.2
func (r DeleteIpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteJwtResponse ¶ added in v0.5.2
func ParseDeleteJwtResponse ¶ added in v0.5.2
func ParseDeleteJwtResponse(rsp *http.Response) (*DeleteJwtResponse, error)
ParseDeleteJwtResponse parses an HTTP response from a DeleteJwtWithResponse call
func (DeleteJwtResponse) Status ¶ added in v0.5.2
func (r DeleteJwtResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteJwtResponse) StatusCode ¶ added in v0.5.2
func (r DeleteJwtResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteMethodRateLimitResponse ¶ added in v0.5.2
func ParseDeleteMethodRateLimitResponse ¶ added in v0.5.2
func ParseDeleteMethodRateLimitResponse(rsp *http.Response) (*DeleteMethodRateLimitResponse, error)
ParseDeleteMethodRateLimitResponse parses an HTTP response from a DeleteMethodRateLimitWithResponse call
func (DeleteMethodRateLimitResponse) Status ¶ added in v0.5.2
func (r DeleteMethodRateLimitResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteMethodRateLimitResponse) StatusCode ¶ added in v0.5.2
func (r DeleteMethodRateLimitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteReferrerResponse ¶ added in v0.5.2
type DeleteReferrerResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *bool `json:"data,omitempty"`
Error *string `json:"error"`
}
}
func ParseDeleteReferrerResponse ¶ added in v0.5.2
func ParseDeleteReferrerResponse(rsp *http.Response) (*DeleteReferrerResponse, error)
ParseDeleteReferrerResponse parses an HTTP response from a DeleteReferrerWithResponse call
func (DeleteReferrerResponse) Status ¶ added in v0.5.2
func (r DeleteReferrerResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteReferrerResponse) StatusCode ¶ added in v0.5.2
func (r DeleteReferrerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteRequestFilterResponse ¶ added in v0.7.0
func ParseDeleteRequestFilterResponse ¶ added in v0.7.0
func ParseDeleteRequestFilterResponse(rsp *http.Response) (*DeleteRequestFilterResponse, error)
ParseDeleteRequestFilterResponse parses an HTTP response from a DeleteRequestFilterWithResponse call
func (DeleteRequestFilterResponse) Status ¶ added in v0.7.0
func (r DeleteRequestFilterResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteRequestFilterResponse) StatusCode ¶ added in v0.7.0
func (r DeleteRequestFilterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteTagResponse ¶ added in v0.7.0
func ParseDeleteTagResponse ¶ added in v0.7.0
func ParseDeleteTagResponse(rsp *http.Response) (*DeleteTagResponse, error)
ParseDeleteTagResponse parses an HTTP response from a DeleteTagWithResponse call
func (DeleteTagResponse) Status ¶ added in v0.7.0
func (r DeleteTagResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteTagResponse) StatusCode ¶ added in v0.7.0
func (r DeleteTagResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteTeamResponse ¶ added in v0.7.0
type DeleteTeamResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data struct {
Message *string `json:"message,omitempty"`
} `json:"data"`
Error *string `json:"error"`
}
JSON400 *struct {
Data *string `json:"data"`
Error string `json:"error"`
}
JSON404 *struct {
Data *string `json:"data"`
Error string `json:"error"`
}
}
func ParseDeleteTeamResponse ¶ added in v0.7.0
func ParseDeleteTeamResponse(rsp *http.Response) (*DeleteTeamResponse, error)
ParseDeleteTeamResponse parses an HTTP response from a DeleteTeamWithResponse call
func (DeleteTeamResponse) Status ¶ added in v0.7.0
func (r DeleteTeamResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteTeamResponse) StatusCode ¶ added in v0.7.0
func (r DeleteTeamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteTokenResponse ¶ added in v0.5.2
type DeleteTokenResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *bool `json:"data,omitempty"`
Error *string `json:"error"`
}
}
func ParseDeleteTokenResponse ¶ added in v0.5.2
func ParseDeleteTokenResponse(rsp *http.Response) (*DeleteTokenResponse, error)
ParseDeleteTokenResponse parses an HTTP response from a DeleteTokenWithResponse call
func (DeleteTokenResponse) Status ¶ added in v0.5.2
func (r DeleteTokenResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteTokenResponse) StatusCode ¶ added in v0.5.2
func (r DeleteTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DisableMultichainResponse ¶ added in v0.7.0
func ParseDisableMultichainResponse ¶ added in v0.7.0
func ParseDisableMultichainResponse(rsp *http.Response) (*DisableMultichainResponse, error)
ParseDisableMultichainResponse parses an HTTP response from a DisableMultichainWithResponse call
func (DisableMultichainResponse) Status ¶ added in v0.7.0
func (r DisableMultichainResponse) Status() string
Status returns HTTPResponse.Status
func (DisableMultichainResponse) StatusCode ¶ added in v0.7.0
func (r DisableMultichainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EnableMultichainResponse ¶ added in v0.7.0
func ParseEnableMultichainResponse ¶ added in v0.7.0
func ParseEnableMultichainResponse(rsp *http.Response) (*EnableMultichainResponse, error)
ParseEnableMultichainResponse parses an HTTP response from a EnableMultichainWithResponse call
func (EnableMultichainResponse) Status ¶ added in v0.7.0
func (r EnableMultichainResponse) Status() string
Status returns HTTPResponse.Status
func (EnableMultichainResponse) StatusCode ¶ added in v0.7.0
func (r EnableMultichainResponse) 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"`
Tags *[]struct {
Label *string `json:"label,omitempty"`
TagId *int `json:"tag_id,omitempty"`
} `json:"tags,omitempty"`
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 EndpointMetric ¶ added in v0.3.0
type EndpointMetric struct {
Data *[][]int `json:"data,omitempty"`
Tag *string `json:"tag,omitempty"`
}
EndpointMetric defines model for endpoint_metric.
type EndpointRateLimits ¶ added in v0.3.0
type EndpointRateLimits struct {
Account *int `json:"account"`
RateLimitByIp *bool `json:"rate_limit_by_ip"`
Rpd *int `json:"rpd"`
Rpm *int `json:"rpm"`
Rps *int `json:"rps"`
}
EndpointRateLimits defines model for endpoint_rate_limits.
type EndpointReferrer ¶
type EndpointReferrer struct {
Id *string `json:"id,omitempty"`
Referrer *string `json:"referrer,omitempty"`
}
EndpointReferrer defines model for endpoint_referrer.
type EndpointRequestFilter ¶ added in v0.7.0
type EndpointRequestFilter struct {
Id *string `json:"id,omitempty"`
Method *[]string `json:"method,omitempty"`
Params *map[string]interface{} `json:"params,omitempty"`
}
EndpointRequestFilter defines model for endpoint_request_filter.
type EndpointSecurity ¶
type EndpointSecurity struct {
DomainMasks *[]EndpointDomainMask `json:"domain_masks,omitempty"`
Ips *[]EndpointIp `json:"ips,omitempty"`
Jwts *[]EndpointJwt `json:"jwts,omitempty"`
Options *struct {
DomainMasks *bool `json:"domainMasks"`
IpCustomHeader *struct {
Value *string `json:"value"`
} `json:"ipCustomHeader,omitempty"`
Ips *bool `json:"ips"`
Jwts *bool `json:"jwts"`
Referrers *bool `json:"referrers"`
RequestFilters *bool `json:"requestFilters"`
Tokens *bool `json:"tokens"`
} `json:"options,omitempty"`
Referrers *[]EndpointReferrer `json:"referrers,omitempty"`
RequestFilters *[]EndpointRequestFilter `json:"request_filters,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"`
Requests *int `json:"requests,omitempty"`
Status *string `json:"status,omitempty"`
}
EndpointUsage defines model for endpoint_usage.
type FetchAccountMetricsParams ¶ added in v0.7.0
type FetchAccountMetricsParams struct {
// Period hour, day, week, month
Period FetchAccountMetricsParamsPeriod `form:"period" json:"period"`
// Metric method_calls_over_time, response_status_over_time, method_call_breakdown, response_status_breakdown, method_response_time_max, request_errors_over_time, total_request_errors_over_time
Metric FetchAccountMetricsParamsMetric `form:"metric" json:"metric"`
// Percentile Percentile for response time metrics
Percentile *string `form:"percentile,omitempty" json:"percentile,omitempty"`
}
FetchAccountMetricsParams defines parameters for FetchAccountMetrics.
type FetchAccountMetricsParamsMetric ¶ added in v0.7.0
type FetchAccountMetricsParamsMetric string
FetchAccountMetricsParamsMetric defines parameters for FetchAccountMetrics.
const ( FetchAccountMetricsParamsMetricMethodCallBreakdown FetchAccountMetricsParamsMetric = "method_call_breakdown" FetchAccountMetricsParamsMetricMethodCallsOverTime FetchAccountMetricsParamsMetric = "method_calls_over_time" FetchAccountMetricsParamsMetricMethodResponseTimeMax FetchAccountMetricsParamsMetric = "method_response_time_max" FetchAccountMetricsParamsMetricRequestErrorsOverTime FetchAccountMetricsParamsMetric = "request_errors_over_time" FetchAccountMetricsParamsMetricResponseStatusBreakdown FetchAccountMetricsParamsMetric = "response_status_breakdown" FetchAccountMetricsParamsMetricResponseStatusOverTime FetchAccountMetricsParamsMetric = "response_status_over_time" FetchAccountMetricsParamsMetricTotalRequestErrorsOverTime FetchAccountMetricsParamsMetric = "total_request_errors_over_time" )
Defines values for FetchAccountMetricsParamsMetric.
type FetchAccountMetricsParamsPeriod ¶ added in v0.7.0
type FetchAccountMetricsParamsPeriod string
FetchAccountMetricsParamsPeriod defines parameters for FetchAccountMetrics.
const ( Day FetchAccountMetricsParamsPeriod = "day" Hour FetchAccountMetricsParamsPeriod = "hour" Month FetchAccountMetricsParamsPeriod = "month" Week FetchAccountMetricsParamsPeriod = "week" )
Defines values for FetchAccountMetricsParamsPeriod.
type FetchAccountMetricsResponse ¶ added in v0.7.0
type FetchAccountMetricsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data []EndpointMetric `json:"data"`
Error *string `json:"error"`
}
}
func ParseFetchAccountMetricsResponse ¶ added in v0.7.0
func ParseFetchAccountMetricsResponse(rsp *http.Response) (*FetchAccountMetricsResponse, error)
ParseFetchAccountMetricsResponse parses an HTTP response from a FetchAccountMetricsWithResponse call
func (FetchAccountMetricsResponse) Status ¶ added in v0.7.0
func (r FetchAccountMetricsResponse) Status() string
Status returns HTTPResponse.Status
func (FetchAccountMetricsResponse) StatusCode ¶ added in v0.7.0
func (r FetchAccountMetricsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FetchEndpointMetricParams ¶ added in v0.5.2
type FetchEndpointMetricParams struct {
// Period hour, day, week, month
Period FetchEndpointMetricParamsPeriod `form:"period" json:"period"`
// Metric method_calls_over_time, response_status_over_time, method_call_breakdown, response_status_breakdown, method_response_time_max, request_errors_over_time, total_request_errors_over_time
Metric FetchEndpointMetricParamsMetric `form:"metric" json:"metric"`
}
FetchEndpointMetricParams defines parameters for FetchEndpointMetric.
type FetchEndpointMetricParamsMetric ¶ added in v0.5.2
type FetchEndpointMetricParamsMetric string
FetchEndpointMetricParamsMetric defines parameters for FetchEndpointMetric.
const ( FetchEndpointMetricParamsMetricMethodCallBreakdown FetchEndpointMetricParamsMetric = "method_call_breakdown" FetchEndpointMetricParamsMetricMethodCallsOverTime FetchEndpointMetricParamsMetric = "method_calls_over_time" FetchEndpointMetricParamsMetricMethodResponseTimeMax FetchEndpointMetricParamsMetric = "method_response_time_max" FetchEndpointMetricParamsMetricRequestErrorsOverTime FetchEndpointMetricParamsMetric = "request_errors_over_time" FetchEndpointMetricParamsMetricResponseStatusBreakdown FetchEndpointMetricParamsMetric = "response_status_breakdown" FetchEndpointMetricParamsMetricResponseStatusOverTime FetchEndpointMetricParamsMetric = "response_status_over_time" FetchEndpointMetricParamsMetricTotalRequestErrorsOverTime FetchEndpointMetricParamsMetric = "total_request_errors_over_time" )
Defines values for FetchEndpointMetricParamsMetric.
type FetchEndpointMetricParamsPeriod ¶ added in v0.5.2
type FetchEndpointMetricParamsPeriod string
FetchEndpointMetricParamsPeriod defines parameters for FetchEndpointMetric.
const ( FetchEndpointMetricParamsPeriodDay FetchEndpointMetricParamsPeriod = "day" FetchEndpointMetricParamsPeriodHour FetchEndpointMetricParamsPeriod = "hour" FetchEndpointMetricParamsPeriodMonth FetchEndpointMetricParamsPeriod = "month" FetchEndpointMetricParamsPeriodWeek FetchEndpointMetricParamsPeriod = "week" )
Defines values for FetchEndpointMetricParamsPeriod.
type FetchEndpointMetricResponse ¶ added in v0.5.2
type FetchEndpointMetricResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data []EndpointMetric `json:"data"`
Error *string `json:"error"`
}
}
func ParseFetchEndpointMetricResponse ¶ added in v0.5.2
func ParseFetchEndpointMetricResponse(rsp *http.Response) (*FetchEndpointMetricResponse, error)
ParseFetchEndpointMetricResponse parses an HTTP response from a FetchEndpointMetricWithResponse call
func (FetchEndpointMetricResponse) Status ¶ added in v0.5.2
func (r FetchEndpointMetricResponse) Status() string
Status returns HTTPResponse.Status
func (FetchEndpointMetricResponse) StatusCode ¶ added in v0.5.2
func (r FetchEndpointMetricResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEndpointLogsParams ¶ added in v0.7.0
type GetEndpointLogsParams struct {
IncludeDetails *bool `form:"include_details,omitempty" json:"include_details,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
NextAt *string `form:"next_at,omitempty" json:"next_at,omitempty"`
From string `form:"from" json:"from"`
To string `form:"to" json:"to"`
}
GetEndpointLogsParams defines parameters for GetEndpointLogs.
type GetEndpointLogsResponse ¶ added in v0.7.0
func ParseGetEndpointLogsResponse ¶ added in v0.7.0
func ParseGetEndpointLogsResponse(rsp *http.Response) (*GetEndpointLogsResponse, error)
ParseGetEndpointLogsResponse parses an HTTP response from a GetEndpointLogsWithResponse call
func (GetEndpointLogsResponse) Status ¶ added in v0.7.0
func (r GetEndpointLogsResponse) Status() string
Status returns HTTPResponse.Status
func (GetEndpointLogsResponse) StatusCode ¶ added in v0.7.0
func (r GetEndpointLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLogDetailsParams ¶ added in v0.7.0
type GetLogDetailsParams struct {
RequestId string `form:"request_id" json:"request_id"`
}
GetLogDetailsParams defines parameters for GetLogDetails.
type GetLogDetailsResponse ¶ added in v0.7.0
func ParseGetLogDetailsResponse ¶ added in v0.7.0
func ParseGetLogDetailsResponse(rsp *http.Response) (*GetLogDetailsResponse, error)
ParseGetLogDetailsResponse parses an HTTP response from a GetLogDetailsWithResponse call
func (GetLogDetailsResponse) Status ¶ added in v0.7.0
func (r GetLogDetailsResponse) Status() string
Status returns HTTPResponse.Status
func (GetLogDetailsResponse) StatusCode ¶ added in v0.7.0
func (r GetLogDetailsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMethodRateLimitsResponse ¶ added in v0.5.2
func ParseGetMethodRateLimitsResponse ¶ added in v0.5.2
func ParseGetMethodRateLimitsResponse(rsp *http.Response) (*GetMethodRateLimitsResponse, error)
ParseGetMethodRateLimitsResponse parses an HTTP response from a GetMethodRateLimitsWithResponse call
func (GetMethodRateLimitsResponse) Status ¶ added in v0.5.2
func (r GetMethodRateLimitsResponse) Status() string
Status returns HTTPResponse.Status
func (GetMethodRateLimitsResponse) StatusCode ¶ added in v0.5.2
func (r GetMethodRateLimitsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSecurityOptionsResponse ¶ added in v0.5.2
func ParseGetSecurityOptionsResponse ¶ added in v0.5.2
func ParseGetSecurityOptionsResponse(rsp *http.Response) (*GetSecurityOptionsResponse, error)
ParseGetSecurityOptionsResponse parses an HTTP response from a GetSecurityOptionsWithResponse call
func (GetSecurityOptionsResponse) Status ¶ added in v0.5.2
func (r GetSecurityOptionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetSecurityOptionsResponse) StatusCode ¶ added in v0.5.2
func (r GetSecurityOptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTeamResponse ¶ added in v0.7.0
type GetTeamResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data struct {
DefaultRole *string `json:"default_role,omitempty"`
Id *int `json:"id,omitempty"`
MembersCount *int `json:"members_count,omitempty"`
Name *string `json:"name,omitempty"`
PendingInvites *[]struct {
AccountPrimaryUser *bool `json:"account_primary_user,omitempty"`
CreatedAt *string `json:"created_at,omitempty"`
Email *string `json:"email,omitempty"`
FullName *string `json:"full_name,omitempty"`
Id *int `json:"id,omitempty"`
PhotoUrl *string `json:"photo_url,omitempty"`
Role *string `json:"role"`
Status *string `json:"status,omitempty"`
} `json:"pending_invites,omitempty"`
Users *[]struct {
AccountPrimaryUser *bool `json:"account_primary_user,omitempty"`
CreatedAt *string `json:"created_at,omitempty"`
Email *string `json:"email,omitempty"`
FullName *string `json:"full_name,omitempty"`
Id *int `json:"id,omitempty"`
PhotoUrl *string `json:"photo_url,omitempty"`
Role *string `json:"role"`
Status *string `json:"status,omitempty"`
} `json:"users,omitempty"`
} `json:"data"`
Error *string `json:"error"`
}
JSON404 *struct {
Data *string `json:"data"`
Error string `json:"error"`
}
}
func ParseGetTeamResponse ¶ added in v0.7.0
func ParseGetTeamResponse(rsp *http.Response) (*GetTeamResponse, error)
ParseGetTeamResponse parses an HTTP response from a GetTeamWithResponse call
func (GetTeamResponse) Status ¶ added in v0.7.0
func (r GetTeamResponse) Status() string
Status returns HTTPResponse.Status
func (GetTeamResponse) StatusCode ¶ added in v0.7.0
func (r GetTeamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InviteTeamMemberJSONBody ¶ added in v0.7.0
type InviteTeamMemberJSONBody struct {
Email string `json:"email"`
FullName *string `json:"full_name,omitempty"`
Role *InviteTeamMemberJSONBodyRole `json:"role,omitempty"`
}
InviteTeamMemberJSONBody defines parameters for InviteTeamMember.
type InviteTeamMemberJSONBodyRole ¶ added in v0.7.0
type InviteTeamMemberJSONBodyRole string
InviteTeamMemberJSONBodyRole defines parameters for InviteTeamMember.
const ( Admin InviteTeamMemberJSONBodyRole = "admin" Billing InviteTeamMemberJSONBodyRole = "billing" Viewer InviteTeamMemberJSONBodyRole = "viewer" )
Defines values for InviteTeamMemberJSONBodyRole.
type InviteTeamMemberJSONRequestBody ¶ added in v0.7.0
type InviteTeamMemberJSONRequestBody InviteTeamMemberJSONBody
InviteTeamMemberJSONRequestBody defines body for InviteTeamMember for application/json ContentType.
type InviteTeamMemberResponse ¶ added in v0.7.0
type InviteTeamMemberResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data struct {
Email *string `json:"email,omitempty"`
FullName *string `json:"full_name,omitempty"`
Id *int `json:"id,omitempty"`
Role *string `json:"role"`
Status *string `json:"status,omitempty"`
} `json:"data"`
Error *string `json:"error"`
}
JSON400 *struct {
Data *string `json:"data"`
Error string `json:"error"`
}
JSON404 *struct {
Data *string `json:"data"`
Error string `json:"error"`
}
}
func ParseInviteTeamMemberResponse ¶ added in v0.7.0
func ParseInviteTeamMemberResponse(rsp *http.Response) (*InviteTeamMemberResponse, error)
ParseInviteTeamMemberResponse parses an HTTP response from a InviteTeamMemberWithResponse call
func (InviteTeamMemberResponse) Status ¶ added in v0.7.0
func (r InviteTeamMemberResponse) Status() string
Status returns HTTPResponse.Status
func (InviteTeamMemberResponse) StatusCode ¶ added in v0.7.0
func (r InviteTeamMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Invoice ¶ added in v0.3.0
type Invoice struct {
AmountDue *int `json:"amount_due,omitempty"`
AmountPaid *int `json:"amount_paid,omitempty"`
BillingReason *string `json:"billing_reason,omitempty"`
Created *int `json:"created,omitempty"`
Id *string `json:"id,omitempty"`
Lines *[]struct {
Amount *int `json:"amount,omitempty"`
Description *string `json:"description,omitempty"`
} `json:"lines,omitempty"`
PeriodEnd *int `json:"period_end,omitempty"`
PeriodStart *int `json:"period_start,omitempty"`
Status *string `json:"status,omitempty"`
Subtotal *int `json:"subtotal,omitempty"`
}
Invoice defines model for invoice.
type InvoicesResponse ¶ added in v0.5.2
type InvoicesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Invoices *[]Invoice `json:"invoices,omitempty"`
} `json:"data,omitempty"`
Error *string `json:"error"`
}
}
func ParseInvoicesResponse ¶ added in v0.5.2
func ParseInvoicesResponse(rsp *http.Response) (*InvoicesResponse, error)
ParseInvoicesResponse parses an HTTP response from a InvoicesWithResponse call
func (InvoicesResponse) Status ¶ added in v0.5.2
func (r InvoicesResponse) Status() string
Status returns HTTPResponse.Status
func (InvoicesResponse) StatusCode ¶ added in v0.5.2
func (r InvoicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListEndpointsParams ¶ added in v0.5.2
type ListEndpointsParams struct {
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
TagIds *[]int `form:"tag_ids,omitempty" json:"tag_ids,omitempty"`
TagLabels *[]string `form:"tag_labels,omitempty" json:"tag_labels,omitempty"`
}
ListEndpointsParams defines parameters for ListEndpoints.
type ListEndpointsResponse ¶ added in v0.5.2
type ListEndpointsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]Endpoint `json:"data"`
Error *string `json:"error"`
}
}
func ParseListEndpointsResponse ¶ added in v0.5.2
func ParseListEndpointsResponse(rsp *http.Response) (*ListEndpointsResponse, error)
ParseListEndpointsResponse parses an HTTP response from a ListEndpointsWithResponse call
func (ListEndpointsResponse) Status ¶ added in v0.5.2
func (r ListEndpointsResponse) Status() string
Status returns HTTPResponse.Status
func (ListEndpointsResponse) StatusCode ¶ added in v0.5.2
func (r ListEndpointsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListTeamEndpointsResponse ¶ added in v0.7.0
type ListTeamEndpointsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data []struct {
Chain *string `json:"chain"`
Id *int `json:"id,omitempty"`
Network *string `json:"network"`
Subdomain *string `json:"subdomain,omitempty"`
} `json:"data"`
Error *string `json:"error"`
}
JSON404 *struct {
Data *string `json:"data"`
Error string `json:"error"`
}
}
func ParseListTeamEndpointsResponse ¶ added in v0.7.0
func ParseListTeamEndpointsResponse(rsp *http.Response) (*ListTeamEndpointsResponse, error)
ParseListTeamEndpointsResponse parses an HTTP response from a ListTeamEndpointsWithResponse call
func (ListTeamEndpointsResponse) Status ¶ added in v0.7.0
func (r ListTeamEndpointsResponse) Status() string
Status returns HTTPResponse.Status
func (ListTeamEndpointsResponse) StatusCode ¶ added in v0.7.0
func (r ListTeamEndpointsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListTeamsResponse ¶ added in v0.7.0
type ListTeamsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data []struct {
Id *int `json:"id,omitempty"`
MembersCount *int `json:"members_count,omitempty"`
Name *string `json:"name,omitempty"`
Users *[]struct {
CreatedAt *string `json:"created_at,omitempty"`
Email *string `json:"email,omitempty"`
FullName *string `json:"full_name,omitempty"`
Id *int `json:"id,omitempty"`
PhotoUrl *string `json:"photo_url,omitempty"`
Role *string `json:"role"`
Status *string `json:"status,omitempty"`
} `json:"users,omitempty"`
} `json:"data"`
Error *string `json:"error"`
}
}
func ParseListTeamsResponse ¶ added in v0.7.0
func ParseListTeamsResponse(rsp *http.Response) (*ListTeamsResponse, error)
ParseListTeamsResponse parses an HTTP response from a ListTeamsWithResponse call
func (ListTeamsResponse) Status ¶ added in v0.7.0
func (r ListTeamsResponse) Status() string
Status returns HTTPResponse.Status
func (ListTeamsResponse) StatusCode ¶ added in v0.7.0
func (r ListTeamsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MethodUsage ¶
type MethodUsage struct {
Archive *bool `json:"archive"`
Chain *string `json:"chain,omitempty"`
CreditsUsed *int `json:"credits_used,omitempty"`
MethodName *string `json:"method_name,omitempty"`
Network *string `json:"network,omitempty"`
}
MethodUsage defines model for method_usage.
type Network ¶
type Network struct {
ChainId *int `json:"chain_id"`
Name *string `json:"name,omitempty"`
Slug *string `json:"slug,omitempty"`
}
Network defines model for network.
type Payment ¶ added in v0.3.0
type Payment struct {
Amount *string `json:"amount,omitempty"`
CardLast4 *string `json:"card_last_4"`
CreatedAt *string `json:"created_at,omitempty"`
Currency *string `json:"currency,omitempty"`
MarketplaceAmount *int `json:"marketplace_amount"`
Status *string `json:"status,omitempty"`
}
Payment defines model for payment.
type PaymentsResponse ¶ added in v0.5.2
type PaymentsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Payments *[]Payment `json:"payments,omitempty"`
} `json:"data,omitempty"`
Error *string `json:"error"`
}
}
func ParsePaymentsResponse ¶ added in v0.5.2
func ParsePaymentsResponse(rsp *http.Response) (*PaymentsResponse, error)
ParsePaymentsResponse parses an HTTP response from a PaymentsWithResponse call
func (PaymentsResponse) Status ¶ added in v0.5.2
func (r PaymentsResponse) Status() string
Status returns HTTPResponse.Status
func (PaymentsResponse) StatusCode ¶ added in v0.5.2
func (r PaymentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveTeamMemberJSONBody ¶ added in v0.7.0
type RemoveTeamMemberJSONBody struct {
DestroyUser *bool `json:"destroy_user,omitempty"`
}
RemoveTeamMemberJSONBody defines parameters for RemoveTeamMember.
type RemoveTeamMemberJSONRequestBody ¶ added in v0.7.0
type RemoveTeamMemberJSONRequestBody RemoveTeamMemberJSONBody
RemoveTeamMemberJSONRequestBody defines body for RemoveTeamMember for application/json ContentType.
type RemoveTeamMemberResponse ¶ added in v0.7.0
type RemoveTeamMemberResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data struct {
Message *string `json:"message,omitempty"`
} `json:"data"`
Error *string `json:"error"`
}
JSON400 *struct {
Data *string `json:"data"`
Error string `json:"error"`
}
JSON404 *struct {
Data *string `json:"data"`
Error string `json:"error"`
}
}
func ParseRemoveTeamMemberResponse ¶ added in v0.7.0
func ParseRemoveTeamMemberResponse(rsp *http.Response) (*RemoveTeamMemberResponse, error)
ParseRemoveTeamMemberResponse parses an HTTP response from a RemoveTeamMemberWithResponse call
func (RemoveTeamMemberResponse) Status ¶ added in v0.7.0
func (r RemoveTeamMemberResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveTeamMemberResponse) StatusCode ¶ added in v0.7.0
func (r RemoveTeamMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResendTeamInviteResponse ¶ added in v0.7.0
type ResendTeamInviteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data struct {
Message *string `json:"message,omitempty"`
} `json:"data"`
Error *string `json:"error"`
}
JSON400 *struct {
Data *string `json:"data"`
Error string `json:"error"`
}
JSON404 *struct {
Data *string `json:"data"`
Error string `json:"error"`
}
}
func ParseResendTeamInviteResponse ¶ added in v0.7.0
func ParseResendTeamInviteResponse(rsp *http.Response) (*ResendTeamInviteResponse, error)
ParseResendTeamInviteResponse parses an HTTP response from a ResendTeamInviteWithResponse call
func (ResendTeamInviteResponse) Status ¶ added in v0.7.0
func (r ResendTeamInviteResponse) Status() string
Status returns HTTPResponse.Status
func (ResendTeamInviteResponse) StatusCode ¶ added in v0.7.0
func (r ResendTeamInviteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ShowEndpointResponse ¶ added in v0.5.2
type ShowEndpointResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *SingleEndpoint `json:"data,omitempty"`
Error *string `json:"error"`
}
}
func ParseShowEndpointResponse ¶ added in v0.5.2
func ParseShowEndpointResponse(rsp *http.Response) (*ShowEndpointResponse, error)
ParseShowEndpointResponse parses an HTTP response from a ShowEndpointWithResponse call
func (ShowEndpointResponse) Status ¶ added in v0.5.2
func (r ShowEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (ShowEndpointResponse) StatusCode ¶ added in v0.5.2
func (r ShowEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SingleEndpoint ¶ added in v0.3.0
type SingleEndpoint 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"`
RateLimits *EndpointRateLimits `json:"rate_limits,omitempty"`
Security EndpointSecurity `json:"security"`
Status *string `json:"status,omitempty"`
Tags *[]struct {
Label *string `json:"label,omitempty"`
TagId *int `json:"tag_id,omitempty"`
} `json:"tags,omitempty"`
WssUrl *string `json:"wss_url"`
}
SingleEndpoint defines model for single_endpoint.
type UpdateEndpointJSONBody ¶ added in v0.5.2
type UpdateEndpointJSONBody struct {
Label *string `json:"label,omitempty"`
}
UpdateEndpointJSONBody defines parameters for UpdateEndpoint.
type UpdateEndpointJSONRequestBody ¶ added in v0.5.2
type UpdateEndpointJSONRequestBody UpdateEndpointJSONBody
UpdateEndpointJSONRequestBody defines body for UpdateEndpoint for application/json ContentType.
type UpdateEndpointResponse ¶ added in v0.5.2
func ParseUpdateEndpointResponse ¶ added in v0.5.2
func ParseUpdateEndpointResponse(rsp *http.Response) (*UpdateEndpointResponse, error)
ParseUpdateEndpointResponse parses an HTTP response from a UpdateEndpointWithResponse call
func (UpdateEndpointResponse) Status ¶ added in v0.5.2
func (r UpdateEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateEndpointResponse) StatusCode ¶ added in v0.5.2
func (r UpdateEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateEndpointStatusJSONBody ¶ added in v0.7.0
type UpdateEndpointStatusJSONBody struct {
Status UpdateEndpointStatusJSONBodyStatus `json:"status"`
}
UpdateEndpointStatusJSONBody defines parameters for UpdateEndpointStatus.
type UpdateEndpointStatusJSONBodyStatus ¶ added in v0.7.0
type UpdateEndpointStatusJSONBodyStatus string
UpdateEndpointStatusJSONBodyStatus defines parameters for UpdateEndpointStatus.
const ( Active UpdateEndpointStatusJSONBodyStatus = "active" Paused UpdateEndpointStatusJSONBodyStatus = "paused" )
Defines values for UpdateEndpointStatusJSONBodyStatus.
type UpdateEndpointStatusJSONRequestBody ¶ added in v0.7.0
type UpdateEndpointStatusJSONRequestBody UpdateEndpointStatusJSONBody
UpdateEndpointStatusJSONRequestBody defines body for UpdateEndpointStatus for application/json ContentType.
type UpdateEndpointStatusResponse ¶ added in v0.7.0
type UpdateEndpointStatusResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *string `json:"data"`
Error *string `json:"error"`
}
JSON400 *struct {
Data *bool `json:"data"`
Error string `json:"error"`
}
}
func ParseUpdateEndpointStatusResponse ¶ added in v0.7.0
func ParseUpdateEndpointStatusResponse(rsp *http.Response) (*UpdateEndpointStatusResponse, error)
ParseUpdateEndpointStatusResponse parses an HTTP response from a UpdateEndpointStatusWithResponse call
func (UpdateEndpointStatusResponse) Status ¶ added in v0.7.0
func (r UpdateEndpointStatusResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateEndpointStatusResponse) StatusCode ¶ added in v0.7.0
func (r UpdateEndpointStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateMethodRateLimitJSONBody ¶ added in v0.5.2
type UpdateMethodRateLimitJSONBody struct {
Methods *[]string `json:"methods,omitempty"`
Rate *int `json:"rate,omitempty"`
Status *UpdateMethodRateLimitJSONBodyStatus `json:"status,omitempty"`
}
UpdateMethodRateLimitJSONBody defines parameters for UpdateMethodRateLimit.
type UpdateMethodRateLimitJSONBodyStatus ¶ added in v0.5.2
type UpdateMethodRateLimitJSONBodyStatus string
UpdateMethodRateLimitJSONBodyStatus defines parameters for UpdateMethodRateLimit.
const ( UpdateMethodRateLimitJSONBodyStatusDisabled UpdateMethodRateLimitJSONBodyStatus = "disabled" UpdateMethodRateLimitJSONBodyStatusEnabled UpdateMethodRateLimitJSONBodyStatus = "enabled" )
Defines values for UpdateMethodRateLimitJSONBodyStatus.
type UpdateMethodRateLimitJSONRequestBody ¶ added in v0.5.2
type UpdateMethodRateLimitJSONRequestBody UpdateMethodRateLimitJSONBody
UpdateMethodRateLimitJSONRequestBody defines body for UpdateMethodRateLimit for application/json ContentType.
type UpdateMethodRateLimitResponse ¶ added in v0.5.2
func ParseUpdateMethodRateLimitResponse ¶ added in v0.5.2
func ParseUpdateMethodRateLimitResponse(rsp *http.Response) (*UpdateMethodRateLimitResponse, error)
ParseUpdateMethodRateLimitResponse parses an HTTP response from a UpdateMethodRateLimitWithResponse call
func (UpdateMethodRateLimitResponse) Status ¶ added in v0.5.2
func (r UpdateMethodRateLimitResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateMethodRateLimitResponse) StatusCode ¶ added in v0.5.2
func (r UpdateMethodRateLimitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateRateLimitsJSONBody ¶ added in v0.5.2
type UpdateRateLimitsJSONBody struct {
RateLimits struct {
Rpd *int `json:"rpd,omitempty"`
Rpm *int `json:"rpm,omitempty"`
Rps *int `json:"rps,omitempty"`
} `json:"rate_limits"`
}
UpdateRateLimitsJSONBody defines parameters for UpdateRateLimits.
type UpdateRateLimitsJSONRequestBody ¶ added in v0.5.2
type UpdateRateLimitsJSONRequestBody UpdateRateLimitsJSONBody
UpdateRateLimitsJSONRequestBody defines body for UpdateRateLimits for application/json ContentType.
type UpdateRateLimitsResponse ¶ added in v0.5.2
func ParseUpdateRateLimitsResponse ¶ added in v0.5.2
func ParseUpdateRateLimitsResponse(rsp *http.Response) (*UpdateRateLimitsResponse, error)
ParseUpdateRateLimitsResponse parses an HTTP response from a UpdateRateLimitsWithResponse call
func (UpdateRateLimitsResponse) Status ¶ added in v0.5.2
func (r UpdateRateLimitsResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateRateLimitsResponse) StatusCode ¶ added in v0.5.2
func (r UpdateRateLimitsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateRequestFilterJSONBody ¶ added in v0.7.0
type UpdateRequestFilterJSONBody struct {
// Method Array of method names for whitelisting
Method *[]string `json:"method,omitempty"`
}
UpdateRequestFilterJSONBody defines parameters for UpdateRequestFilter.
type UpdateRequestFilterJSONRequestBody ¶ added in v0.7.0
type UpdateRequestFilterJSONRequestBody UpdateRequestFilterJSONBody
UpdateRequestFilterJSONRequestBody defines body for UpdateRequestFilter for application/json ContentType.
type UpdateRequestFilterResponse ¶ added in v0.7.0
func ParseUpdateRequestFilterResponse ¶ added in v0.7.0
func ParseUpdateRequestFilterResponse(rsp *http.Response) (*UpdateRequestFilterResponse, error)
ParseUpdateRequestFilterResponse parses an HTTP response from a UpdateRequestFilterWithResponse call
func (UpdateRequestFilterResponse) Status ¶ added in v0.7.0
func (r UpdateRequestFilterResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateRequestFilterResponse) StatusCode ¶ added in v0.7.0
func (r UpdateRequestFilterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSecurityOptionsJSONBody ¶ added in v0.5.2
type UpdateSecurityOptionsJSONBody struct {
Options struct {
Cors *UpdateSecurityOptionsJSONBodyOptionsCors `json:"cors,omitempty"`
DomainMasks *UpdateSecurityOptionsJSONBodyOptionsDomainMasks `json:"domainMasks,omitempty"`
Hsts *UpdateSecurityOptionsJSONBodyOptionsHsts `json:"hsts,omitempty"`
IpCustomHeader *UpdateSecurityOptionsJSONBodyOptionsIpCustomHeader `json:"ipCustomHeader,omitempty"`
Ips *UpdateSecurityOptionsJSONBodyOptionsIps `json:"ips,omitempty"`
Jwts *UpdateSecurityOptionsJSONBodyOptionsJwts `json:"jwts,omitempty"`
Referrers *UpdateSecurityOptionsJSONBodyOptionsReferrers `json:"referrers,omitempty"`
RequestFilters *UpdateSecurityOptionsJSONBodyOptionsRequestFilters `json:"requestFilters,omitempty"`
Tokens *UpdateSecurityOptionsJSONBodyOptionsTokens `json:"tokens,omitempty"`
} `json:"options"`
}
UpdateSecurityOptionsJSONBody defines parameters for UpdateSecurityOptions.
type UpdateSecurityOptionsJSONBodyOptionsCors ¶ added in v0.5.2
type UpdateSecurityOptionsJSONBodyOptionsCors string
UpdateSecurityOptionsJSONBodyOptionsCors defines parameters for UpdateSecurityOptions.
const ( UpdateSecurityOptionsJSONBodyOptionsCorsDisabled UpdateSecurityOptionsJSONBodyOptionsCors = "disabled" UpdateSecurityOptionsJSONBodyOptionsCorsEnabled UpdateSecurityOptionsJSONBodyOptionsCors = "enabled" )
Defines values for UpdateSecurityOptionsJSONBodyOptionsCors.
type UpdateSecurityOptionsJSONBodyOptionsDomainMasks ¶ added in v0.5.2
type UpdateSecurityOptionsJSONBodyOptionsDomainMasks string
UpdateSecurityOptionsJSONBodyOptionsDomainMasks defines parameters for UpdateSecurityOptions.
const ( UpdateSecurityOptionsJSONBodyOptionsDomainMasksDisabled UpdateSecurityOptionsJSONBodyOptionsDomainMasks = "disabled" UpdateSecurityOptionsJSONBodyOptionsDomainMasksEnabled UpdateSecurityOptionsJSONBodyOptionsDomainMasks = "enabled" )
Defines values for UpdateSecurityOptionsJSONBodyOptionsDomainMasks.
type UpdateSecurityOptionsJSONBodyOptionsHsts ¶ added in v0.5.2
type UpdateSecurityOptionsJSONBodyOptionsHsts string
UpdateSecurityOptionsJSONBodyOptionsHsts defines parameters for UpdateSecurityOptions.
const ( UpdateSecurityOptionsJSONBodyOptionsHstsDisabled UpdateSecurityOptionsJSONBodyOptionsHsts = "disabled" UpdateSecurityOptionsJSONBodyOptionsHstsEnabled UpdateSecurityOptionsJSONBodyOptionsHsts = "enabled" )
Defines values for UpdateSecurityOptionsJSONBodyOptionsHsts.
type UpdateSecurityOptionsJSONBodyOptionsIpCustomHeader ¶ added in v0.7.0
type UpdateSecurityOptionsJSONBodyOptionsIpCustomHeader string
UpdateSecurityOptionsJSONBodyOptionsIpCustomHeader defines parameters for UpdateSecurityOptions.
const ( UpdateSecurityOptionsJSONBodyOptionsIpCustomHeaderDisabled UpdateSecurityOptionsJSONBodyOptionsIpCustomHeader = "disabled" UpdateSecurityOptionsJSONBodyOptionsIpCustomHeaderEnabled UpdateSecurityOptionsJSONBodyOptionsIpCustomHeader = "enabled" )
Defines values for UpdateSecurityOptionsJSONBodyOptionsIpCustomHeader.
type UpdateSecurityOptionsJSONBodyOptionsIps ¶ added in v0.5.2
type UpdateSecurityOptionsJSONBodyOptionsIps string
UpdateSecurityOptionsJSONBodyOptionsIps defines parameters for UpdateSecurityOptions.
const ( UpdateSecurityOptionsJSONBodyOptionsIpsDisabled UpdateSecurityOptionsJSONBodyOptionsIps = "disabled" UpdateSecurityOptionsJSONBodyOptionsIpsEnabled UpdateSecurityOptionsJSONBodyOptionsIps = "enabled" )
Defines values for UpdateSecurityOptionsJSONBodyOptionsIps.
type UpdateSecurityOptionsJSONBodyOptionsJwts ¶ added in v0.5.2
type UpdateSecurityOptionsJSONBodyOptionsJwts string
UpdateSecurityOptionsJSONBodyOptionsJwts defines parameters for UpdateSecurityOptions.
const ( UpdateSecurityOptionsJSONBodyOptionsJwtsDisabled UpdateSecurityOptionsJSONBodyOptionsJwts = "disabled" UpdateSecurityOptionsJSONBodyOptionsJwtsEnabled UpdateSecurityOptionsJSONBodyOptionsJwts = "enabled" )
Defines values for UpdateSecurityOptionsJSONBodyOptionsJwts.
type UpdateSecurityOptionsJSONBodyOptionsReferrers ¶ added in v0.5.2
type UpdateSecurityOptionsJSONBodyOptionsReferrers string
UpdateSecurityOptionsJSONBodyOptionsReferrers defines parameters for UpdateSecurityOptions.
const ( UpdateSecurityOptionsJSONBodyOptionsReferrersDisabled UpdateSecurityOptionsJSONBodyOptionsReferrers = "disabled" UpdateSecurityOptionsJSONBodyOptionsReferrersEnabled UpdateSecurityOptionsJSONBodyOptionsReferrers = "enabled" )
Defines values for UpdateSecurityOptionsJSONBodyOptionsReferrers.
type UpdateSecurityOptionsJSONBodyOptionsRequestFilters ¶ added in v0.7.0
type UpdateSecurityOptionsJSONBodyOptionsRequestFilters string
UpdateSecurityOptionsJSONBodyOptionsRequestFilters defines parameters for UpdateSecurityOptions.
const ( UpdateSecurityOptionsJSONBodyOptionsRequestFiltersDisabled UpdateSecurityOptionsJSONBodyOptionsRequestFilters = "disabled" UpdateSecurityOptionsJSONBodyOptionsRequestFiltersEnabled UpdateSecurityOptionsJSONBodyOptionsRequestFilters = "enabled" )
Defines values for UpdateSecurityOptionsJSONBodyOptionsRequestFilters.
type UpdateSecurityOptionsJSONBodyOptionsTokens ¶ added in v0.5.2
type UpdateSecurityOptionsJSONBodyOptionsTokens string
UpdateSecurityOptionsJSONBodyOptionsTokens defines parameters for UpdateSecurityOptions.
const ( UpdateSecurityOptionsJSONBodyOptionsTokensDisabled UpdateSecurityOptionsJSONBodyOptionsTokens = "disabled" UpdateSecurityOptionsJSONBodyOptionsTokensEnabled UpdateSecurityOptionsJSONBodyOptionsTokens = "enabled" )
Defines values for UpdateSecurityOptionsJSONBodyOptionsTokens.
type UpdateSecurityOptionsJSONRequestBody ¶ added in v0.5.2
type UpdateSecurityOptionsJSONRequestBody UpdateSecurityOptionsJSONBody
UpdateSecurityOptionsJSONRequestBody defines body for UpdateSecurityOptions for application/json ContentType.
type UpdateSecurityOptionsResponse ¶ added in v0.5.2
func ParseUpdateSecurityOptionsResponse ¶ added in v0.5.2
func ParseUpdateSecurityOptionsResponse(rsp *http.Response) (*UpdateSecurityOptionsResponse, error)
ParseUpdateSecurityOptionsResponse parses an HTTP response from a UpdateSecurityOptionsWithResponse call
func (UpdateSecurityOptionsResponse) Status ¶ added in v0.5.2
func (r UpdateSecurityOptionsResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSecurityOptionsResponse) StatusCode ¶ added in v0.5.2
func (r UpdateSecurityOptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateTeamEndpointsJSONBody ¶ added in v0.7.0
type UpdateTeamEndpointsJSONBody struct {
EndpointIds []string `json:"endpoint_ids"`
}
UpdateTeamEndpointsJSONBody defines parameters for UpdateTeamEndpoints.
type UpdateTeamEndpointsJSONRequestBody ¶ added in v0.7.0
type UpdateTeamEndpointsJSONRequestBody UpdateTeamEndpointsJSONBody
UpdateTeamEndpointsJSONRequestBody defines body for UpdateTeamEndpoints for application/json ContentType.
type UpdateTeamEndpointsResponse ¶ added in v0.7.0
type UpdateTeamEndpointsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data struct {
Success *bool `json:"success,omitempty"`
} `json:"data"`
Error *string `json:"error"`
}
JSON404 *struct {
Data *string `json:"data"`
Error string `json:"error"`
}
}
func ParseUpdateTeamEndpointsResponse ¶ added in v0.7.0
func ParseUpdateTeamEndpointsResponse(rsp *http.Response) (*UpdateTeamEndpointsResponse, error)
ParseUpdateTeamEndpointsResponse parses an HTTP response from a UpdateTeamEndpointsWithResponse call
func (UpdateTeamEndpointsResponse) Status ¶ added in v0.7.0
func (r UpdateTeamEndpointsResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateTeamEndpointsResponse) StatusCode ¶ added in v0.7.0
func (r UpdateTeamEndpointsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UsageByChainParams ¶ added in v0.5.2
type UsageByChainParams 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"`
}
UsageByChainParams defines parameters for UsageByChain.
type UsageByChainResponse ¶ added in v0.5.2
type UsageByChainResponse 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 ParseUsageByChainResponse ¶ added in v0.5.2
func ParseUsageByChainResponse(rsp *http.Response) (*UsageByChainResponse, error)
ParseUsageByChainResponse parses an HTTP response from a UsageByChainWithResponse call
func (UsageByChainResponse) Status ¶ added in v0.5.2
func (r UsageByChainResponse) Status() string
Status returns HTTPResponse.Status
func (UsageByChainResponse) StatusCode ¶ added in v0.5.2
func (r UsageByChainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UsageByEndpointParams ¶ added in v0.5.2
type UsageByEndpointParams 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"`
}
UsageByEndpointParams defines parameters for UsageByEndpoint.
type UsageByEndpointResponse ¶ added in v0.5.2
type UsageByEndpointResponse 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 ParseUsageByEndpointResponse ¶ added in v0.5.2
func ParseUsageByEndpointResponse(rsp *http.Response) (*UsageByEndpointResponse, error)
ParseUsageByEndpointResponse parses an HTTP response from a UsageByEndpointWithResponse call
func (UsageByEndpointResponse) Status ¶ added in v0.5.2
func (r UsageByEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (UsageByEndpointResponse) StatusCode ¶ added in v0.5.2
func (r UsageByEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UsageByMethodParams ¶ added in v0.5.2
type UsageByMethodParams 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"`
}
UsageByMethodParams defines parameters for UsageByMethod.
type UsageByMethodResponse ¶ added in v0.5.2
type UsageByMethodResponse 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 ParseUsageByMethodResponse ¶ added in v0.5.2
func ParseUsageByMethodResponse(rsp *http.Response) (*UsageByMethodResponse, error)
ParseUsageByMethodResponse parses an HTTP response from a UsageByMethodWithResponse call
func (UsageByMethodResponse) Status ¶ added in v0.5.2
func (r UsageByMethodResponse) Status() string
Status returns HTTPResponse.Status
func (UsageByMethodResponse) StatusCode ¶ added in v0.5.2
func (r UsageByMethodResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UsageParams ¶ added in v0.5.2
type UsageParams 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"`
}
UsageParams defines parameters for Usage.
type UsageResponse ¶ added in v0.5.2
type UsageResponse 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 ParseUsageResponse ¶ added in v0.5.2
func ParseUsageResponse(rsp *http.Response) (*UsageResponse, error)
ParseUsageResponse parses an HTTP response from a UsageWithResponse call
func (UsageResponse) Status ¶ added in v0.5.2
func (r UsageResponse) Status() string
Status returns HTTPResponse.Status
func (UsageResponse) StatusCode ¶ added in v0.5.2
func (r UsageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode