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.7.1 DO NOT EDIT.
Index ¶
- Constants
- func GetSpec() (swagger *openapi3.T, err error)
- func GetSpecJSON() ([]byte, error)
- func GetSwagger() (*openapi3.T, error)deprecated
- func NewArchiveEndpointRequest(server string, id string) (*http.Request, error)
- func NewBulkAddTagRequest(server string, body BulkAddTagJSONRequestBody) (*http.Request, error)
- func NewBulkAddTagRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewBulkRemoveTagRequest(server string, body BulkRemoveTagJSONRequestBody) (*http.Request, error)
- func NewBulkRemoveTagRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewBulkUpdateEndpointStatusRequest(server string, body BulkUpdateEndpointStatusJSONRequestBody) (*http.Request, error)
- func NewBulkUpdateEndpointStatusRequestWithBody(server string, contentType string, body io.Reader) (*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 NewDeleteAccountTagRequest(server string, id int) (*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 NewDeleteRateLimitOverrideRequest(server string, id string, overrideId 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 NewGetEndpointSecurityRequest(server string, id string) (*http.Request, error)
- func NewGetLogDetailsRequest(server string, id string, params *GetLogDetailsParams) (*http.Request, error)
- func NewGetMethodRateLimitsRequest(server string, id string) (*http.Request, error)
- func NewGetRateLimitsRequest(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 NewListTagsRequest(server string) (*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 NewRenameTagRequest(server string, id int, body RenameTagJSONRequestBody) (*http.Request, error)
- func NewRenameTagRequestWithBody(server string, id 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 NewShowEndpointUrlsRequest(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 NewUpdateRateLimitsLegacyPutRequest(server string, id string, body UpdateRateLimitsLegacyPutJSONRequestBody) (*http.Request, error)
- func NewUpdateRateLimitsLegacyPutRequestWithBody(server string, id string, contentType string, body io.Reader) (*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 NewUsageByTagRequest(server string, params *UsageByTagParams) (*http.Request, error)
- func NewUsageRequest(server string, params *UsageParams) (*http.Request, error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type ArchiveEndpointResponse
- type BulkAddTagJSONBody
- type BulkAddTagJSONRequestBody
- type BulkAddTagResponse
- type BulkRemoveTagJSONBody
- type BulkRemoveTagJSONRequestBody
- type BulkRemoveTagResponse
- type BulkUpdateEndpointStatusJSONBody
- type BulkUpdateEndpointStatusJSONBodyStatus
- type BulkUpdateEndpointStatusJSONRequestBody
- type BulkUpdateEndpointStatusResponse
- 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) BulkAddTag(ctx context.Context, body BulkAddTagJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) BulkAddTagWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BulkRemoveTag(ctx context.Context, body BulkRemoveTagJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) BulkRemoveTagWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BulkUpdateEndpointStatus(ctx context.Context, body BulkUpdateEndpointStatusJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) BulkUpdateEndpointStatusWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*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) DeleteAccountTag(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*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) DeleteRateLimitOverride(ctx context.Context, id string, overrideId 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) GetEndpointSecurity(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*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) GetRateLimits(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) ListTags(ctx context.Context, reqEditors ...RequestEditorFn) (*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) RenameTag(ctx context.Context, id int, body RenameTagJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RenameTagWithBody(ctx context.Context, id 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) ShowEndpointUrls(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) UpdateRateLimitsLegacyPut(ctx context.Context, id string, body UpdateRateLimitsLegacyPutJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateRateLimitsLegacyPutWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*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)
- func (c *Client) UsageByTag(ctx context.Context, params *UsageByTagParams, reqEditors ...RequestEditorFn) (*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) BulkAddTagWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*BulkAddTagResponse, error)
- func (c *ClientWithResponses) BulkAddTagWithResponse(ctx context.Context, body BulkAddTagJSONRequestBody, ...) (*BulkAddTagResponse, error)
- func (c *ClientWithResponses) BulkRemoveTagWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*BulkRemoveTagResponse, error)
- func (c *ClientWithResponses) BulkRemoveTagWithResponse(ctx context.Context, body BulkRemoveTagJSONRequestBody, ...) (*BulkRemoveTagResponse, error)
- func (c *ClientWithResponses) BulkUpdateEndpointStatusWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*BulkUpdateEndpointStatusResponse, error)
- func (c *ClientWithResponses) BulkUpdateEndpointStatusWithResponse(ctx context.Context, body BulkUpdateEndpointStatusJSONRequestBody, ...) (*BulkUpdateEndpointStatusResponse, 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) DeleteAccountTagWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DeleteAccountTagResponse, 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) DeleteRateLimitOverrideWithResponse(ctx context.Context, id string, overrideId string, ...) (*DeleteRateLimitOverrideResponse, 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) GetEndpointSecurityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetEndpointSecurityResponse, 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) GetRateLimitsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetRateLimitsResponse, 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) ListTagsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTagsResponse, 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) RenameTagWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, ...) (*RenameTagResponse, error)
- func (c *ClientWithResponses) RenameTagWithResponse(ctx context.Context, id int, body RenameTagJSONRequestBody, ...) (*RenameTagResponse, error)
- func (c *ClientWithResponses) ResendTeamInviteWithResponse(ctx context.Context, id int, userId int, reqEditors ...RequestEditorFn) (*ResendTeamInviteResponse, error)
- func (c *ClientWithResponses) ShowEndpointUrlsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ShowEndpointUrlsResponse, 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) UpdateRateLimitsLegacyPutWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateRateLimitsLegacyPutResponse, error)
- func (c *ClientWithResponses) UpdateRateLimitsLegacyPutWithResponse(ctx context.Context, id string, body UpdateRateLimitsLegacyPutJSONRequestBody, ...) (*UpdateRateLimitsLegacyPutResponse, 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) UsageByTagWithResponse(ctx context.Context, params *UsageByTagParams, reqEditors ...RequestEditorFn) (*UsageByTagResponse, 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 DeleteAccountTagResponse
- type DeleteDomainMaskResponse
- type DeleteIpCustomHeaderResponse
- type DeleteIpResponse
- type DeleteJwtResponse
- type DeleteMethodRateLimitResponse
- type DeleteRateLimitOverrideResponse
- 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 EndpointStatus
- type EndpointToken
- type EndpointUrls
- type EndpointUsage
- type FetchAccountMetricsParams
- type FetchAccountMetricsParamsMetric
- type FetchAccountMetricsParamsPeriod
- type FetchAccountMetricsResponse
- type FetchEndpointMetricParams
- type FetchEndpointMetricParamsMetric
- type FetchEndpointMetricParamsPeriod
- type FetchEndpointMetricResponse
- type GetEndpointLogsParams
- type GetEndpointLogsResponse
- type GetEndpointSecurityResponse
- type GetLogDetailsParams
- type GetLogDetailsResponse
- type GetMethodRateLimitsResponse
- type GetRateLimitsResponse
- type GetSecurityOptionsResponse
- type GetTeamResponse
- type HttpRequestDoer
- type InviteTeamMemberJSONBody
- type InviteTeamMemberJSONBodyRole
- type InviteTeamMemberJSONRequestBody
- type InviteTeamMemberResponse
- type Invoice
- type InvoicesResponse
- type ListEndpointsParams
- type ListEndpointsParamsSortBy
- type ListEndpointsParamsSortDirection
- type ListEndpointsParamsStatuses
- type ListEndpointsResponse
- type ListTagsResponse
- type ListTeamEndpointsResponse
- type ListTeamsResponse
- type MethodUsage
- type Network
- type Payment
- type PaymentsResponse
- type RemoveTeamMemberJSONBody
- type RemoveTeamMemberJSONRequestBody
- type RemoveTeamMemberResponse
- type RenameTagJSONBody
- type RenameTagJSONRequestBody
- type RenameTagResponse
- type RequestEditorFn
- type ResendTeamInviteResponse
- type ShowEndpointResponse
- type ShowEndpointUrlsResponse
- 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 UpdateRateLimitsLegacyPutJSONBody
- type UpdateRateLimitsLegacyPutJSONRequestBody
- type UpdateRateLimitsLegacyPutResponse
- 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 UsageByTagParams
- type UsageByTagResponse
- type UsageParams
- type UsageResponse
Constants ¶
const ( Api_keyScopes apiKeyContextKey = "api_key.Scopes" BearerAuthScopes bearerAuthContextKey = "bearerAuth.Scopes" Bearer_authScopes bearerAuthContextKey = "bearer_auth.Scopes" )
Variables ¶
This section is empty.
Functions ¶
func GetSpec ¶ added in v0.9.1
GetSpec returns the OpenAPI specification corresponding to the generated code in this file. External references in the spec are resolved through PathToRawSpec; externally-referenced files must be embedded in their corresponding Go packages (via the import-mapping feature). URL-based external refs are not supported.
func GetSpecJSON ¶ added in v0.9.1
GetSpecJSON returns the raw JSON bytes of the embedded OpenAPI specification: decompressed but not unmarshaled. External references are not resolved here; the bytes are the spec exactly as embedded by codegen. The result is cached at package init time, so repeated calls are cheap.
func GetSwagger
deprecated
func NewArchiveEndpointRequest ¶ added in v0.5.2
NewArchiveEndpointRequest generates requests for ArchiveEndpoint
func NewBulkAddTagRequest ¶ added in v0.8.0
func NewBulkAddTagRequest(server string, body BulkAddTagJSONRequestBody) (*http.Request, error)
NewBulkAddTagRequest calls the generic BulkAddTag builder with application/json body
func NewBulkAddTagRequestWithBody ¶ added in v0.8.0
func NewBulkAddTagRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewBulkAddTagRequestWithBody generates requests for BulkAddTag with any type of body
func NewBulkRemoveTagRequest ¶ added in v0.8.0
func NewBulkRemoveTagRequest(server string, body BulkRemoveTagJSONRequestBody) (*http.Request, error)
NewBulkRemoveTagRequest calls the generic BulkRemoveTag builder with application/json body
func NewBulkRemoveTagRequestWithBody ¶ added in v0.8.0
func NewBulkRemoveTagRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewBulkRemoveTagRequestWithBody generates requests for BulkRemoveTag with any type of body
func NewBulkUpdateEndpointStatusRequest ¶ added in v0.8.0
func NewBulkUpdateEndpointStatusRequest(server string, body BulkUpdateEndpointStatusJSONRequestBody) (*http.Request, error)
NewBulkUpdateEndpointStatusRequest calls the generic BulkUpdateEndpointStatus builder with application/json body
func NewBulkUpdateEndpointStatusRequestWithBody ¶ added in v0.8.0
func NewBulkUpdateEndpointStatusRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewBulkUpdateEndpointStatusRequestWithBody generates requests for BulkUpdateEndpointStatus with any type of body
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 NewDeleteAccountTagRequest ¶ added in v0.8.0
NewDeleteAccountTagRequest generates requests for DeleteAccountTag
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 NewDeleteRateLimitOverrideRequest ¶ added in v0.8.1
func NewDeleteRateLimitOverrideRequest(server string, id string, overrideId string) (*http.Request, error)
NewDeleteRateLimitOverrideRequest generates requests for DeleteRateLimitOverride
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 NewGetEndpointSecurityRequest ¶ added in v0.8.0
NewGetEndpointSecurityRequest generates requests for GetEndpointSecurity
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 NewGetRateLimitsRequest ¶ added in v0.8.1
NewGetRateLimitsRequest generates requests for GetRateLimits
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 NewListTagsRequest ¶ added in v0.8.0
NewListTagsRequest generates requests for ListTags
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 NewRenameTagRequest ¶ added in v0.8.0
func NewRenameTagRequest(server string, id int, body RenameTagJSONRequestBody) (*http.Request, error)
NewRenameTagRequest calls the generic RenameTag builder with application/json body
func NewRenameTagRequestWithBody ¶ added in v0.8.0
func NewRenameTagRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error)
NewRenameTagRequestWithBody generates requests for RenameTag 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 NewShowEndpointUrlsRequest ¶ added in v0.8.1
NewShowEndpointUrlsRequest generates requests for ShowEndpointUrls
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 NewUpdateRateLimitsLegacyPutRequest ¶ added in v0.8.1
func NewUpdateRateLimitsLegacyPutRequest(server string, id string, body UpdateRateLimitsLegacyPutJSONRequestBody) (*http.Request, error)
NewUpdateRateLimitsLegacyPutRequest calls the generic UpdateRateLimitsLegacyPut builder with application/json body
func NewUpdateRateLimitsLegacyPutRequestWithBody ¶ added in v0.8.1
func NewUpdateRateLimitsLegacyPutRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateRateLimitsLegacyPutRequestWithBody generates requests for UpdateRateLimitsLegacyPut 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 NewUsageByTagRequest ¶ added in v0.8.0
func NewUsageByTagRequest(server string, params *UsageByTagParams) (*http.Request, error)
NewUsageByTagRequest generates requests for UsageByTag
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) ContentType ¶ added in v0.9.1
func (r ArchiveEndpointResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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 BulkAddTagJSONBody ¶ added in v0.8.0
type BulkAddTagJSONBody struct {
// Ids Endpoint IDs
Ids []string `json:"ids"`
// Label Tag label to add
Label string `json:"label"`
}
BulkAddTagJSONBody defines parameters for BulkAddTag.
type BulkAddTagJSONRequestBody ¶ added in v0.8.0
type BulkAddTagJSONRequestBody BulkAddTagJSONBody
BulkAddTagJSONRequestBody defines body for BulkAddTag for application/json ContentType.
type BulkAddTagResponse ¶ added in v0.8.0
type BulkAddTagResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data struct {
FailedCount int `json:"failed_count"`
Results []struct {
Id string `json:"id"`
Success bool `json:"success"`
} `json:"results"`
Tag struct {
Label *string `json:"label,omitempty"`
TagId *int `json:"tag_id,omitempty"`
} `json:"tag"`
Total int `json:"total"`
UpdatedCount int `json:"updated_count"`
} `json:"data"`
}
}
func ParseBulkAddTagResponse ¶ added in v0.8.0
func ParseBulkAddTagResponse(rsp *http.Response) (*BulkAddTagResponse, error)
ParseBulkAddTagResponse parses an HTTP response from a BulkAddTagWithResponse call
func (BulkAddTagResponse) ContentType ¶ added in v0.9.1
func (r BulkAddTagResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BulkAddTagResponse) Status ¶ added in v0.8.0
func (r BulkAddTagResponse) Status() string
Status returns HTTPResponse.Status
func (BulkAddTagResponse) StatusCode ¶ added in v0.8.0
func (r BulkAddTagResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BulkRemoveTagJSONBody ¶ added in v0.8.0
type BulkRemoveTagJSONBody struct {
// Ids Endpoint IDs
Ids []string `json:"ids"`
// TagId Tag ID to remove
TagId int `json:"tag_id"`
}
BulkRemoveTagJSONBody defines parameters for BulkRemoveTag.
type BulkRemoveTagJSONRequestBody ¶ added in v0.8.0
type BulkRemoveTagJSONRequestBody BulkRemoveTagJSONBody
BulkRemoveTagJSONRequestBody defines body for BulkRemoveTag for application/json ContentType.
type BulkRemoveTagResponse ¶ added in v0.8.0
type BulkRemoveTagResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data struct {
FailedCount int `json:"failed_count"`
Results []struct {
Id string `json:"id"`
Success bool `json:"success"`
} `json:"results"`
Total int `json:"total"`
UpdatedCount int `json:"updated_count"`
} `json:"data"`
}
}
func ParseBulkRemoveTagResponse ¶ added in v0.8.0
func ParseBulkRemoveTagResponse(rsp *http.Response) (*BulkRemoveTagResponse, error)
ParseBulkRemoveTagResponse parses an HTTP response from a BulkRemoveTagWithResponse call
func (BulkRemoveTagResponse) ContentType ¶ added in v0.9.1
func (r BulkRemoveTagResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BulkRemoveTagResponse) Status ¶ added in v0.8.0
func (r BulkRemoveTagResponse) Status() string
Status returns HTTPResponse.Status
func (BulkRemoveTagResponse) StatusCode ¶ added in v0.8.0
func (r BulkRemoveTagResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BulkUpdateEndpointStatusJSONBody ¶ added in v0.8.0
type BulkUpdateEndpointStatusJSONBody struct {
// Ids Endpoint IDs
Ids []string `json:"ids"`
Status BulkUpdateEndpointStatusJSONBodyStatus `json:"status"`
}
BulkUpdateEndpointStatusJSONBody defines parameters for BulkUpdateEndpointStatus.
type BulkUpdateEndpointStatusJSONBodyStatus ¶ added in v0.8.0
type BulkUpdateEndpointStatusJSONBodyStatus string
BulkUpdateEndpointStatusJSONBodyStatus defines parameters for BulkUpdateEndpointStatus.
const ( BulkUpdateEndpointStatusJSONBodyStatusActive BulkUpdateEndpointStatusJSONBodyStatus = "active" BulkUpdateEndpointStatusJSONBodyStatusPaused BulkUpdateEndpointStatusJSONBodyStatus = "paused" )
Defines values for BulkUpdateEndpointStatusJSONBodyStatus.
func (BulkUpdateEndpointStatusJSONBodyStatus) Valid ¶ added in v0.9.1
func (e BulkUpdateEndpointStatusJSONBodyStatus) Valid() bool
Valid indicates whether the value is a known member of the BulkUpdateEndpointStatusJSONBodyStatus enum.
type BulkUpdateEndpointStatusJSONRequestBody ¶ added in v0.8.0
type BulkUpdateEndpointStatusJSONRequestBody BulkUpdateEndpointStatusJSONBody
BulkUpdateEndpointStatusJSONRequestBody defines body for BulkUpdateEndpointStatus for application/json ContentType.
type BulkUpdateEndpointStatusResponse ¶ added in v0.8.0
type BulkUpdateEndpointStatusResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data struct {
FailedCount int `json:"failed_count"`
Results []struct {
Id string `json:"id"`
Success bool `json:"success"`
} `json:"results"`
Total int `json:"total"`
UpdatedCount int `json:"updated_count"`
} `json:"data"`
}
}
func ParseBulkUpdateEndpointStatusResponse ¶ added in v0.8.0
func ParseBulkUpdateEndpointStatusResponse(rsp *http.Response) (*BulkUpdateEndpointStatusResponse, error)
ParseBulkUpdateEndpointStatusResponse parses an HTTP response from a BulkUpdateEndpointStatusWithResponse call
func (BulkUpdateEndpointStatusResponse) ContentType ¶ added in v0.9.1
func (r BulkUpdateEndpointStatusResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BulkUpdateEndpointStatusResponse) Status ¶ added in v0.8.0
func (r BulkUpdateEndpointStatusResponse) Status() string
Status returns HTTPResponse.Status
func (BulkUpdateEndpointStatusResponse) StatusCode ¶ added in v0.8.0
func (r BulkUpdateEndpointStatusResponse) 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) ContentType ¶ added in v0.9.1
func (r ChainsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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) BulkAddTag ¶ added in v0.8.0
func (c *Client) BulkAddTag(ctx context.Context, body BulkAddTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BulkAddTagWithBody ¶ added in v0.8.0
func (*Client) BulkRemoveTag ¶ added in v0.8.0
func (c *Client) BulkRemoveTag(ctx context.Context, body BulkRemoveTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BulkRemoveTagWithBody ¶ added in v0.8.0
func (*Client) BulkUpdateEndpointStatus ¶ added in v0.8.0
func (c *Client) BulkUpdateEndpointStatus(ctx context.Context, body BulkUpdateEndpointStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BulkUpdateEndpointStatusWithBody ¶ added in v0.8.0
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) DeleteAccountTag ¶ added in v0.8.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) DeleteRateLimitOverride ¶ added in v0.8.1
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) GetEndpointSecurity ¶ added in v0.8.0
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) GetRateLimits ¶ added in v0.8.1
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) RenameTag ¶ added in v0.8.0
func (c *Client) RenameTag(ctx context.Context, id int, body RenameTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RenameTagWithBody ¶ added in v0.8.0
func (*Client) ResendTeamInvite ¶ added in v0.7.0
func (*Client) ShowEndpoint ¶ added in v0.5.2
func (*Client) ShowEndpointUrls ¶ added in v0.8.1
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) UpdateRateLimitsLegacyPut ¶ added in v0.8.1
func (c *Client) UpdateRateLimitsLegacyPut(ctx context.Context, id string, body UpdateRateLimitsLegacyPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateRateLimitsLegacyPutWithBody ¶ added in v0.8.1
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)
func (*Client) UsageByTag ¶ added in v0.8.0
func (c *Client) UsageByTag(ctx context.Context, params *UsageByTagParams, 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)
// BulkUpdateEndpointStatusWithBody request with any body
BulkUpdateEndpointStatusWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkUpdateEndpointStatus(ctx context.Context, body BulkUpdateEndpointStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkRemoveTagWithBody request with any body
BulkRemoveTagWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkRemoveTag(ctx context.Context, body BulkRemoveTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkAddTagWithBody request with any body
BulkAddTagWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkAddTag(ctx context.Context, body BulkAddTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListTags request
ListTags(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAccountTag request
DeleteAccountTag(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)
// RenameTagWithBody request with any body
RenameTagWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RenameTag(ctx context.Context, id int, body RenameTagJSONRequestBody, 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)
// GetRateLimits request
GetRateLimits(ctx context.Context, id string, 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)
// UpdateRateLimitsLegacyPutWithBody request with any body
UpdateRateLimitsLegacyPutWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateRateLimitsLegacyPut(ctx context.Context, id string, body UpdateRateLimitsLegacyPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteRateLimitOverride request
DeleteRateLimitOverride(ctx context.Context, id string, overrideId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEndpointSecurity request
GetEndpointSecurity(ctx context.Context, id string, 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)
// ShowEndpointUrls request
ShowEndpointUrls(ctx context.Context, id 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)
// UsageByTag request
UsageByTag(ctx context.Context, params *UsageByTagParams, 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) BulkAddTagWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) BulkAddTagWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkAddTagResponse, error)
BulkAddTagWithBodyWithResponse request with arbitrary body returning *BulkAddTagResponse
func (*ClientWithResponses) BulkAddTagWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) BulkAddTagWithResponse(ctx context.Context, body BulkAddTagJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkAddTagResponse, error)
func (*ClientWithResponses) BulkRemoveTagWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) BulkRemoveTagWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkRemoveTagResponse, error)
BulkRemoveTagWithBodyWithResponse request with arbitrary body returning *BulkRemoveTagResponse
func (*ClientWithResponses) BulkRemoveTagWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) BulkRemoveTagWithResponse(ctx context.Context, body BulkRemoveTagJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkRemoveTagResponse, error)
func (*ClientWithResponses) BulkUpdateEndpointStatusWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) BulkUpdateEndpointStatusWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkUpdateEndpointStatusResponse, error)
BulkUpdateEndpointStatusWithBodyWithResponse request with arbitrary body returning *BulkUpdateEndpointStatusResponse
func (*ClientWithResponses) BulkUpdateEndpointStatusWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) BulkUpdateEndpointStatusWithResponse(ctx context.Context, body BulkUpdateEndpointStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkUpdateEndpointStatusResponse, error)
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) DeleteAccountTagWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) DeleteAccountTagWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DeleteAccountTagResponse, error)
DeleteAccountTagWithResponse request returning *DeleteAccountTagResponse
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) DeleteRateLimitOverrideWithResponse ¶ added in v0.8.1
func (c *ClientWithResponses) DeleteRateLimitOverrideWithResponse(ctx context.Context, id string, overrideId string, reqEditors ...RequestEditorFn) (*DeleteRateLimitOverrideResponse, error)
DeleteRateLimitOverrideWithResponse request returning *DeleteRateLimitOverrideResponse
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) GetEndpointSecurityWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) GetEndpointSecurityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetEndpointSecurityResponse, error)
GetEndpointSecurityWithResponse request returning *GetEndpointSecurityResponse
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) GetRateLimitsWithResponse ¶ added in v0.8.1
func (c *ClientWithResponses) GetRateLimitsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetRateLimitsResponse, error)
GetRateLimitsWithResponse request returning *GetRateLimitsResponse
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) ListTagsWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) ListTagsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTagsResponse, error)
ListTagsWithResponse request returning *ListTagsResponse
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) RenameTagWithBodyWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RenameTagWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameTagResponse, error)
RenameTagWithBodyWithResponse request with arbitrary body returning *RenameTagResponse
func (*ClientWithResponses) RenameTagWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) RenameTagWithResponse(ctx context.Context, id int, body RenameTagJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameTagResponse, 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) ShowEndpointUrlsWithResponse ¶ added in v0.8.1
func (c *ClientWithResponses) ShowEndpointUrlsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ShowEndpointUrlsResponse, error)
ShowEndpointUrlsWithResponse request returning *ShowEndpointUrlsResponse
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) UpdateRateLimitsLegacyPutWithBodyWithResponse ¶ added in v0.8.1
func (c *ClientWithResponses) UpdateRateLimitsLegacyPutWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRateLimitsLegacyPutResponse, error)
UpdateRateLimitsLegacyPutWithBodyWithResponse request with arbitrary body returning *UpdateRateLimitsLegacyPutResponse
func (*ClientWithResponses) UpdateRateLimitsLegacyPutWithResponse ¶ added in v0.8.1
func (c *ClientWithResponses) UpdateRateLimitsLegacyPutWithResponse(ctx context.Context, id string, body UpdateRateLimitsLegacyPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRateLimitsLegacyPutResponse, 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) UsageByTagWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) UsageByTagWithResponse(ctx context.Context, params *UsageByTagParams, reqEditors ...RequestEditorFn) (*UsageByTagResponse, error)
UsageByTagWithResponse request returning *UsageByTagResponse
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)
// BulkUpdateEndpointStatusWithBodyWithResponse request with any body
BulkUpdateEndpointStatusWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkUpdateEndpointStatusResponse, error)
BulkUpdateEndpointStatusWithResponse(ctx context.Context, body BulkUpdateEndpointStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkUpdateEndpointStatusResponse, error)
// BulkRemoveTagWithBodyWithResponse request with any body
BulkRemoveTagWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkRemoveTagResponse, error)
BulkRemoveTagWithResponse(ctx context.Context, body BulkRemoveTagJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkRemoveTagResponse, error)
// BulkAddTagWithBodyWithResponse request with any body
BulkAddTagWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkAddTagResponse, error)
BulkAddTagWithResponse(ctx context.Context, body BulkAddTagJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkAddTagResponse, error)
// ListTagsWithResponse request
ListTagsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTagsResponse, error)
// DeleteAccountTagWithResponse request
DeleteAccountTagWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DeleteAccountTagResponse, error)
// RenameTagWithBodyWithResponse request with any body
RenameTagWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameTagResponse, error)
RenameTagWithResponse(ctx context.Context, id int, body RenameTagJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameTagResponse, 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)
// GetRateLimitsWithResponse request
GetRateLimitsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetRateLimitsResponse, 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)
// UpdateRateLimitsLegacyPutWithBodyWithResponse request with any body
UpdateRateLimitsLegacyPutWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRateLimitsLegacyPutResponse, error)
UpdateRateLimitsLegacyPutWithResponse(ctx context.Context, id string, body UpdateRateLimitsLegacyPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRateLimitsLegacyPutResponse, error)
// DeleteRateLimitOverrideWithResponse request
DeleteRateLimitOverrideWithResponse(ctx context.Context, id string, overrideId string, reqEditors ...RequestEditorFn) (*DeleteRateLimitOverrideResponse, error)
// GetEndpointSecurityWithResponse request
GetEndpointSecurityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetEndpointSecurityResponse, 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)
// ShowEndpointUrlsWithResponse request
ShowEndpointUrlsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ShowEndpointUrlsResponse, 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)
// UsageByTagWithResponse request
UsageByTagWithResponse(ctx context.Context, params *UsageByTagParams, reqEditors ...RequestEditorFn) (*UsageByTagResponse, 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) ContentType ¶ added in v0.9.1
func (r CreateAuthenticationTokenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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) ContentType ¶ added in v0.9.1
func (r CreateDomainMaskResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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) ContentType ¶ added in v0.9.1
func (r CreateEndpointResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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) ContentType ¶ added in v0.9.1
func (r CreateIpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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) ContentType ¶ added in v0.9.1
func (r CreateJwtResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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.
func (CreateMethodRateLimitJSONBodyInterval) Valid ¶ added in v0.9.1
func (e CreateMethodRateLimitJSONBodyInterval) Valid() bool
Valid indicates whether the value is a known member of the CreateMethodRateLimitJSONBodyInterval enum.
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) ContentType ¶ added in v0.9.1
func (r CreateMethodRateLimitResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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,omitempty"`
}
}
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) ContentType ¶ added in v0.9.1
func (r CreateOrUpdateIpCustomHeaderResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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) ContentType ¶ added in v0.9.1
func (r CreateReferrerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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,omitempty"`
}
JSON400 *struct {
Error *string `json:"error,omitempty"`
}
}
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) ContentType ¶ added in v0.9.1
func (r CreateRequestFilterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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) ContentType ¶ added in v0.9.1
func (r CreateTagResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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) ContentType ¶ added in v0.9.1
func (r CreateTeamResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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 DeleteAccountTagResponse ¶ added in v0.8.0
type DeleteAccountTagResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Success *bool `json:"success,omitempty"`
} `json:"data,omitempty"`
Error *string `json:"error,omitempty"`
}
JSON400 *struct {
Data interface{} `json:"data,omitempty"`
Error *string `json:"error,omitempty"`
}
JSON404 *struct {
Data interface{} `json:"data,omitempty"`
Error *string `json:"error,omitempty"`
}
}
func ParseDeleteAccountTagResponse ¶ added in v0.8.0
func ParseDeleteAccountTagResponse(rsp *http.Response) (*DeleteAccountTagResponse, error)
ParseDeleteAccountTagResponse parses an HTTP response from a DeleteAccountTagWithResponse call
func (DeleteAccountTagResponse) ContentType ¶ added in v0.9.1
func (r DeleteAccountTagResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteAccountTagResponse) Status ¶ added in v0.8.0
func (r DeleteAccountTagResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAccountTagResponse) StatusCode ¶ added in v0.8.0
func (r DeleteAccountTagResponse) 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) ContentType ¶ added in v0.9.1
func (r DeleteDomainMaskResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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,omitempty"`
}
}
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) ContentType ¶ added in v0.9.1
func (r DeleteIpCustomHeaderResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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,omitempty"`
}
}
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) ContentType ¶ added in v0.9.1
func (r DeleteIpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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) ContentType ¶ added in v0.9.1
func (r DeleteJwtResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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) ContentType ¶ added in v0.9.1
func (r DeleteMethodRateLimitResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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 DeleteRateLimitOverrideResponse ¶ added in v0.8.1
func ParseDeleteRateLimitOverrideResponse ¶ added in v0.8.1
func ParseDeleteRateLimitOverrideResponse(rsp *http.Response) (*DeleteRateLimitOverrideResponse, error)
ParseDeleteRateLimitOverrideResponse parses an HTTP response from a DeleteRateLimitOverrideWithResponse call
func (DeleteRateLimitOverrideResponse) ContentType ¶ added in v0.9.1
func (r DeleteRateLimitOverrideResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteRateLimitOverrideResponse) Status ¶ added in v0.8.1
func (r DeleteRateLimitOverrideResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteRateLimitOverrideResponse) StatusCode ¶ added in v0.8.1
func (r DeleteRateLimitOverrideResponse) 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,omitempty"`
}
}
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) ContentType ¶ added in v0.9.1
func (r DeleteReferrerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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) ContentType ¶ added in v0.9.1
func (r DeleteRequestFilterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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) ContentType ¶ added in v0.9.1
func (r DeleteTagResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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) ContentType ¶ added in v0.9.1
func (r DeleteTeamResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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,omitempty"`
}
}
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) ContentType ¶ added in v0.9.1
func (r DeleteTokenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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) ContentType ¶ added in v0.9.1
func (r DisableMultichainResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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) ContentType ¶ added in v0.9.1
func (r EnableMultichainResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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"`
IsDedicated bool `json:"is_dedicated"`
IsFlatRate bool `json:"is_flat_rate"`
IsMultichain bool `json:"is_multichain"`
Label *string `json:"label,omitempty"`
// Name endpoint subdomain
Name string `json:"name"`
// Network network slug
Network string `json:"network"`
Status EndpointStatus `json:"status"`
Tags *[]struct {
Label *string `json:"label,omitempty"`
TagId *int `json:"tag_id,omitempty"`
} `json:"tags,omitempty"`
WssUrl *string `json:"wss_url,omitempty"`
}
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,omitempty"`
RateLimitByIp *bool `json:"rate_limit_by_ip,omitempty"`
Rpd *int `json:"rpd,omitempty"`
Rpm *int `json:"rpm,omitempty"`
Rps *int `json:"rps,omitempty"`
}
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,omitempty"`
IpCustomHeader *struct {
Value *string `json:"value,omitempty"`
} `json:"ipCustomHeader,omitempty"`
Ips *bool `json:"ips,omitempty"`
Jwts *bool `json:"jwts,omitempty"`
Referrers *bool `json:"referrers,omitempty"`
RequestFilters *bool `json:"requestFilters,omitempty"`
Tokens *bool `json:"tokens,omitempty"`
} `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 EndpointStatus ¶ added in v0.8.0
type EndpointStatus string
EndpointStatus defines model for Endpoint.Status.
const ( EndpointStatusActive EndpointStatus = "active" EndpointStatusPaused EndpointStatus = "paused" )
Defines values for EndpointStatus.
func (EndpointStatus) Valid ¶ added in v0.9.1
func (e EndpointStatus) Valid() bool
Valid indicates whether the value is a known member of the EndpointStatus enum.
type EndpointToken ¶
type EndpointToken struct {
Id *string `json:"id,omitempty"`
Token *string `json:"token,omitempty"`
}
EndpointToken defines model for endpoint_token.
type EndpointUrls ¶ added in v0.8.1
type EndpointUrls struct {
HttpUrl string `json:"http_url"`
// MultichainUrls Map of network name → { http_url, wss_url } for multichain endpoints; null otherwise.
MultichainUrls *map[string]struct {
HttpUrl string `json:"http_url"`
WssUrl *string `json:"wss_url"`
} `json:"multichain_urls"`
WssUrl *string `json:"wss_url"`
}
EndpointUrls defines model for endpoint_urls.
type EndpointUsage ¶
type EndpointUsage struct {
Chain *string `json:"chain,omitempty"`
CreditsUsed *int `json:"credits_used,omitempty"`
Label *string `json:"label,omitempty"`
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, metered_endpoint_data_over_time, metered_endpoint_credits_over_time, credits_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 ( FetchAccountMetricsParamsMetricCreditsOverTime FetchAccountMetricsParamsMetric = "credits_over_time" FetchAccountMetricsParamsMetricMeteredEndpointCreditsOverTime FetchAccountMetricsParamsMetric = "metered_endpoint_credits_over_time" FetchAccountMetricsParamsMetricMeteredEndpointDataOverTime FetchAccountMetricsParamsMetric = "metered_endpoint_data_over_time" FetchAccountMetricsParamsMetricMethodCallsOverTime FetchAccountMetricsParamsMetric = "method_calls_over_time" )
Defines values for FetchAccountMetricsParamsMetric.
func (FetchAccountMetricsParamsMetric) Valid ¶ added in v0.9.1
func (e FetchAccountMetricsParamsMetric) Valid() bool
Valid indicates whether the value is a known member of the FetchAccountMetricsParamsMetric enum.
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.
func (FetchAccountMetricsParamsPeriod) Valid ¶ added in v0.9.1
func (e FetchAccountMetricsParamsPeriod) Valid() bool
Valid indicates whether the value is a known member of the FetchAccountMetricsParamsPeriod enum.
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) ContentType ¶ added in v0.9.1
func (r FetchAccountMetricsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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, metered_endpoint_data_over_time, metered_endpoint_credits_over_time, credits_over_time, response_status_over_time, response_status_breakdown, response_time_over_time, 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 ( FetchEndpointMetricParamsMetricCreditsOverTime FetchEndpointMetricParamsMetric = "credits_over_time" FetchEndpointMetricParamsMetricMeteredEndpointCreditsOverTime FetchEndpointMetricParamsMetric = "metered_endpoint_credits_over_time" FetchEndpointMetricParamsMetricMeteredEndpointDataOverTime FetchEndpointMetricParamsMetric = "metered_endpoint_data_over_time" 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" FetchEndpointMetricParamsMetricResponseTimeOverTime FetchEndpointMetricParamsMetric = "response_time_over_time" FetchEndpointMetricParamsMetricTotalRequestErrorsOverTime FetchEndpointMetricParamsMetric = "total_request_errors_over_time" )
Defines values for FetchEndpointMetricParamsMetric.
func (FetchEndpointMetricParamsMetric) Valid ¶ added in v0.9.1
func (e FetchEndpointMetricParamsMetric) Valid() bool
Valid indicates whether the value is a known member of the FetchEndpointMetricParamsMetric enum.
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.
func (FetchEndpointMetricParamsPeriod) Valid ¶ added in v0.9.1
func (e FetchEndpointMetricParamsPeriod) Valid() bool
Valid indicates whether the value is a known member of the FetchEndpointMetricParamsPeriod enum.
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) ContentType ¶ added in v0.9.1
func (r FetchEndpointMetricResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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) ContentType ¶ added in v0.9.1
func (r GetEndpointLogsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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 GetEndpointSecurityResponse ¶ added in v0.8.0
type GetEndpointSecurityResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *EndpointSecurity `json:"data,omitempty"`
Error *string `json:"error,omitempty"`
}
JSON404 *struct {
Data interface{} `json:"data,omitempty"`
Error *string `json:"error,omitempty"`
}
}
func ParseGetEndpointSecurityResponse ¶ added in v0.8.0
func ParseGetEndpointSecurityResponse(rsp *http.Response) (*GetEndpointSecurityResponse, error)
ParseGetEndpointSecurityResponse parses an HTTP response from a GetEndpointSecurityWithResponse call
func (GetEndpointSecurityResponse) ContentType ¶ added in v0.9.1
func (r GetEndpointSecurityResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEndpointSecurityResponse) Status ¶ added in v0.8.0
func (r GetEndpointSecurityResponse) Status() string
Status returns HTTPResponse.Status
func (GetEndpointSecurityResponse) StatusCode ¶ added in v0.8.0
func (r GetEndpointSecurityResponse) 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) ContentType ¶ added in v0.9.1
func (r GetLogDetailsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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) ContentType ¶ added in v0.9.1
func (r GetMethodRateLimitsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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 GetRateLimitsResponse ¶ added in v0.8.1
func ParseGetRateLimitsResponse ¶ added in v0.8.1
func ParseGetRateLimitsResponse(rsp *http.Response) (*GetRateLimitsResponse, error)
ParseGetRateLimitsResponse parses an HTTP response from a GetRateLimitsWithResponse call
func (GetRateLimitsResponse) ContentType ¶ added in v0.9.1
func (r GetRateLimitsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRateLimitsResponse) Status ¶ added in v0.8.1
func (r GetRateLimitsResponse) Status() string
Status returns HTTPResponse.Status
func (GetRateLimitsResponse) StatusCode ¶ added in v0.8.1
func (r GetRateLimitsResponse) 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) ContentType ¶ added in v0.9.1
func (r GetSecurityOptionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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,omitempty"`
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,omitempty"`
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) ContentType ¶ added in v0.9.1
func (r GetTeamResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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.
func (InviteTeamMemberJSONBodyRole) Valid ¶ added in v0.9.1
func (e InviteTeamMemberJSONBodyRole) Valid() bool
Valid indicates whether the value is a known member of the InviteTeamMemberJSONBodyRole enum.
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,omitempty"`
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) ContentType ¶ added in v0.9.1
func (r InviteTeamMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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,omitempty"`
}
}
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) ContentType ¶ added in v0.9.1
func (r InvoicesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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"`
// Search Search by subdomain or label
Search *string `form:"search,omitempty" json:"search,omitempty"`
// SortBy Sort field
SortBy *ListEndpointsParamsSortBy `form:"sort_by,omitempty" json:"sort_by,omitempty"`
SortDirection *ListEndpointsParamsSortDirection `form:"sort_direction,omitempty" json:"sort_direction,omitempty"`
// Networks Filter by network name(s)
Networks *[]string `form:"networks,omitempty" json:"networks,omitempty"`
// Statuses Filter by status
Statuses *[]ListEndpointsParamsStatuses `form:"statuses,omitempty" json:"statuses,omitempty"`
// Labels Filter by label(s)
Labels *[]string `form:"labels,omitempty" json:"labels,omitempty"`
// Dedicated Filter dedicated endpoints
Dedicated *bool `form:"dedicated,omitempty" json:"dedicated,omitempty"`
// IsFlatRate Filter flat rate endpoints
IsFlatRate *bool `form:"is_flat_rate,omitempty" json:"is_flat_rate,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 ListEndpointsParamsSortBy ¶ added in v0.8.0
type ListEndpointsParamsSortBy string
ListEndpointsParamsSortBy defines parameters for ListEndpoints.
const ( ListEndpointsParamsSortByCreatedAt ListEndpointsParamsSortBy = "created_at" ListEndpointsParamsSortByLabel ListEndpointsParamsSortBy = "label" ListEndpointsParamsSortByName ListEndpointsParamsSortBy = "name" ListEndpointsParamsSortByNetwork ListEndpointsParamsSortBy = "network" ListEndpointsParamsSortByStatus ListEndpointsParamsSortBy = "status" ListEndpointsParamsSortByTags ListEndpointsParamsSortBy = "tags" ListEndpointsParamsSortByUsage ListEndpointsParamsSortBy = "usage" )
Defines values for ListEndpointsParamsSortBy.
func (ListEndpointsParamsSortBy) Valid ¶ added in v0.9.1
func (e ListEndpointsParamsSortBy) Valid() bool
Valid indicates whether the value is a known member of the ListEndpointsParamsSortBy enum.
type ListEndpointsParamsSortDirection ¶ added in v0.8.0
type ListEndpointsParamsSortDirection string
ListEndpointsParamsSortDirection defines parameters for ListEndpoints.
const ( Asc ListEndpointsParamsSortDirection = "asc" Desc ListEndpointsParamsSortDirection = "desc" )
Defines values for ListEndpointsParamsSortDirection.
func (ListEndpointsParamsSortDirection) Valid ¶ added in v0.9.1
func (e ListEndpointsParamsSortDirection) Valid() bool
Valid indicates whether the value is a known member of the ListEndpointsParamsSortDirection enum.
type ListEndpointsParamsStatuses ¶ added in v0.8.0
type ListEndpointsParamsStatuses string
ListEndpointsParamsStatuses defines parameters for ListEndpoints.
const ( ListEndpointsParamsStatusesActive ListEndpointsParamsStatuses = "active" ListEndpointsParamsStatusesPaused ListEndpointsParamsStatuses = "paused" )
Defines values for ListEndpointsParamsStatuses.
func (ListEndpointsParamsStatuses) Valid ¶ added in v0.9.1
func (e ListEndpointsParamsStatuses) Valid() bool
Valid indicates whether the value is a known member of the ListEndpointsParamsStatuses enum.
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"`
Pagination *struct {
Limit int `json:"limit"`
Offset int `json:"offset"`
Total int `json:"total"`
} `json:"pagination,omitempty"`
}
}
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) ContentType ¶ added in v0.9.1
func (r ListEndpointsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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 ListTagsResponse ¶ added in v0.8.0
type ListTagsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Tags *[]struct {
Id int `json:"id"`
Label string `json:"label"`
// UsageCount Number of endpoints using this tag
UsageCount int `json:"usage_count"`
} `json:"tags,omitempty"`
} `json:"data,omitempty"`
Error *string `json:"error,omitempty"`
}
}
func ParseListTagsResponse ¶ added in v0.8.0
func ParseListTagsResponse(rsp *http.Response) (*ListTagsResponse, error)
ParseListTagsResponse parses an HTTP response from a ListTagsWithResponse call
func (ListTagsResponse) ContentType ¶ added in v0.9.1
func (r ListTagsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListTagsResponse) Status ¶ added in v0.8.0
func (r ListTagsResponse) Status() string
Status returns HTTPResponse.Status
func (ListTagsResponse) StatusCode ¶ added in v0.8.0
func (r ListTagsResponse) 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,omitempty"`
Id *int `json:"id,omitempty"`
Network *string `json:"network,omitempty"`
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) ContentType ¶ added in v0.9.1
func (r ListTeamEndpointsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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,omitempty"`
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) ContentType ¶ added in v0.9.1
func (r ListTeamsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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,omitempty"`
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,omitempty"`
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,omitempty"`
CreatedAt *string `json:"created_at,omitempty"`
Currency *string `json:"currency,omitempty"`
MarketplaceAmount *int `json:"marketplace_amount,omitempty"`
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,omitempty"`
}
}
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) ContentType ¶ added in v0.9.1
func (r PaymentsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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) ContentType ¶ added in v0.9.1
func (r RemoveTeamMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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 RenameTagJSONBody ¶ added in v0.8.0
type RenameTagJSONBody struct {
Label string `json:"label"`
}
RenameTagJSONBody defines parameters for RenameTag.
type RenameTagJSONRequestBody ¶ added in v0.8.0
type RenameTagJSONRequestBody RenameTagJSONBody
RenameTagJSONRequestBody defines body for RenameTag for application/json ContentType.
type RenameTagResponse ¶ added in v0.8.0
type RenameTagResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Id *int `json:"id,omitempty"`
Label *string `json:"label,omitempty"`
UsageCount *int `json:"usage_count,omitempty"`
} `json:"data,omitempty"`
Error *string `json:"error,omitempty"`
}
JSON404 *struct {
Data interface{} `json:"data,omitempty"`
Error *string `json:"error,omitempty"`
}
}
func ParseRenameTagResponse ¶ added in v0.8.0
func ParseRenameTagResponse(rsp *http.Response) (*RenameTagResponse, error)
ParseRenameTagResponse parses an HTTP response from a RenameTagWithResponse call
func (RenameTagResponse) ContentType ¶ added in v0.9.1
func (r RenameTagResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RenameTagResponse) Status ¶ added in v0.8.0
func (r RenameTagResponse) Status() string
Status returns HTTPResponse.Status
func (RenameTagResponse) StatusCode ¶ added in v0.8.0
func (r RenameTagResponse) 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) ContentType ¶ added in v0.9.1
func (r ResendTeamInviteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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,omitempty"`
}
}
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) ContentType ¶ added in v0.9.1
func (r ShowEndpointResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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 ShowEndpointUrlsResponse ¶ added in v0.8.1
type ShowEndpointUrlsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *EndpointUrls `json:"data,omitempty"`
Error *string `json:"error,omitempty"`
}
}
func ParseShowEndpointUrlsResponse ¶ added in v0.8.1
func ParseShowEndpointUrlsResponse(rsp *http.Response) (*ShowEndpointUrlsResponse, error)
ParseShowEndpointUrlsResponse parses an HTTP response from a ShowEndpointUrlsWithResponse call
func (ShowEndpointUrlsResponse) ContentType ¶ added in v0.9.1
func (r ShowEndpointUrlsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ShowEndpointUrlsResponse) Status ¶ added in v0.8.1
func (r ShowEndpointUrlsResponse) Status() string
Status returns HTTPResponse.Status
func (ShowEndpointUrlsResponse) StatusCode ¶ added in v0.8.1
func (r ShowEndpointUrlsResponse) 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"`
IsMultichain bool `json:"is_multichain"`
Label *string `json:"label,omitempty"`
// 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,omitempty"`
}
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) ContentType ¶ added in v0.9.1
func (r UpdateEndpointResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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 ( UpdateEndpointStatusJSONBodyStatusActive UpdateEndpointStatusJSONBodyStatus = "active" UpdateEndpointStatusJSONBodyStatusPaused UpdateEndpointStatusJSONBodyStatus = "paused" )
Defines values for UpdateEndpointStatusJSONBodyStatus.
func (UpdateEndpointStatusJSONBodyStatus) Valid ¶ added in v0.9.1
func (e UpdateEndpointStatusJSONBodyStatus) Valid() bool
Valid indicates whether the value is a known member of the UpdateEndpointStatusJSONBodyStatus enum.
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) ContentType ¶ added in v0.9.1
func (r UpdateEndpointStatusResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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.
func (UpdateMethodRateLimitJSONBodyStatus) Valid ¶ added in v0.9.1
func (e UpdateMethodRateLimitJSONBodyStatus) Valid() bool
Valid indicates whether the value is a known member of the UpdateMethodRateLimitJSONBodyStatus enum.
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) ContentType ¶ added in v0.9.1
func (r UpdateMethodRateLimitResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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 Maximum requests per day. Capped by the account's plan tier.
Rpd *int `json:"rpd,omitempty"`
// Rpm Maximum requests per minute. Capped by the account's plan tier.
Rpm *int `json:"rpm,omitempty"`
// Rps Maximum requests per second. Capped by the account's plan tier.
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 UpdateRateLimitsLegacyPutJSONBody ¶ added in v0.8.1
type UpdateRateLimitsLegacyPutJSONBody struct {
RateLimits struct {
// Rpd Maximum requests per day. Capped by the account's plan tier.
Rpd *int `json:"rpd,omitempty"`
// Rpm Maximum requests per minute. Capped by the account's plan tier.
Rpm *int `json:"rpm,omitempty"`
// Rps Maximum requests per second. Capped by the account's plan tier.
Rps *int `json:"rps,omitempty"`
} `json:"rate_limits"`
}
UpdateRateLimitsLegacyPutJSONBody defines parameters for UpdateRateLimitsLegacyPut.
type UpdateRateLimitsLegacyPutJSONRequestBody ¶ added in v0.8.1
type UpdateRateLimitsLegacyPutJSONRequestBody UpdateRateLimitsLegacyPutJSONBody
UpdateRateLimitsLegacyPutJSONRequestBody defines body for UpdateRateLimitsLegacyPut for application/json ContentType.
type UpdateRateLimitsLegacyPutResponse ¶ added in v0.8.1
func ParseUpdateRateLimitsLegacyPutResponse ¶ added in v0.8.1
func ParseUpdateRateLimitsLegacyPutResponse(rsp *http.Response) (*UpdateRateLimitsLegacyPutResponse, error)
ParseUpdateRateLimitsLegacyPutResponse parses an HTTP response from a UpdateRateLimitsLegacyPutWithResponse call
func (UpdateRateLimitsLegacyPutResponse) ContentType ¶ added in v0.9.1
func (r UpdateRateLimitsLegacyPutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateRateLimitsLegacyPutResponse) Status ¶ added in v0.8.1
func (r UpdateRateLimitsLegacyPutResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateRateLimitsLegacyPutResponse) StatusCode ¶ added in v0.8.1
func (r UpdateRateLimitsLegacyPutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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) ContentType ¶ added in v0.9.1
func (r UpdateRateLimitsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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) ContentType ¶ added in v0.9.1
func (r UpdateRequestFilterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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.
func (UpdateSecurityOptionsJSONBodyOptionsCors) Valid ¶ added in v0.9.1
func (e UpdateSecurityOptionsJSONBodyOptionsCors) Valid() bool
Valid indicates whether the value is a known member of the UpdateSecurityOptionsJSONBodyOptionsCors enum.
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.
func (UpdateSecurityOptionsJSONBodyOptionsDomainMasks) Valid ¶ added in v0.9.1
func (e UpdateSecurityOptionsJSONBodyOptionsDomainMasks) Valid() bool
Valid indicates whether the value is a known member of the UpdateSecurityOptionsJSONBodyOptionsDomainMasks enum.
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.
func (UpdateSecurityOptionsJSONBodyOptionsHsts) Valid ¶ added in v0.9.1
func (e UpdateSecurityOptionsJSONBodyOptionsHsts) Valid() bool
Valid indicates whether the value is a known member of the UpdateSecurityOptionsJSONBodyOptionsHsts enum.
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.
func (UpdateSecurityOptionsJSONBodyOptionsIpCustomHeader) Valid ¶ added in v0.9.1
func (e UpdateSecurityOptionsJSONBodyOptionsIpCustomHeader) Valid() bool
Valid indicates whether the value is a known member of the UpdateSecurityOptionsJSONBodyOptionsIpCustomHeader enum.
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.
func (UpdateSecurityOptionsJSONBodyOptionsIps) Valid ¶ added in v0.9.1
func (e UpdateSecurityOptionsJSONBodyOptionsIps) Valid() bool
Valid indicates whether the value is a known member of the UpdateSecurityOptionsJSONBodyOptionsIps enum.
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.
func (UpdateSecurityOptionsJSONBodyOptionsJwts) Valid ¶ added in v0.9.1
func (e UpdateSecurityOptionsJSONBodyOptionsJwts) Valid() bool
Valid indicates whether the value is a known member of the UpdateSecurityOptionsJSONBodyOptionsJwts enum.
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.
func (UpdateSecurityOptionsJSONBodyOptionsReferrers) Valid ¶ added in v0.9.1
func (e UpdateSecurityOptionsJSONBodyOptionsReferrers) Valid() bool
Valid indicates whether the value is a known member of the UpdateSecurityOptionsJSONBodyOptionsReferrers enum.
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.
func (UpdateSecurityOptionsJSONBodyOptionsRequestFilters) Valid ¶ added in v0.9.1
func (e UpdateSecurityOptionsJSONBodyOptionsRequestFilters) Valid() bool
Valid indicates whether the value is a known member of the UpdateSecurityOptionsJSONBodyOptionsRequestFilters enum.
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.
func (UpdateSecurityOptionsJSONBodyOptionsTokens) Valid ¶ added in v0.9.1
func (e UpdateSecurityOptionsJSONBodyOptionsTokens) Valid() bool
Valid indicates whether the value is a known member of the UpdateSecurityOptionsJSONBodyOptionsTokens enum.
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) ContentType ¶ added in v0.9.1
func (r UpdateSecurityOptionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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) ContentType ¶ added in v0.9.1
func (r UpdateTeamEndpointsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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) ContentType ¶ added in v0.9.1
func (r UsageByChainResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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,omitempty"`
}
}
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) ContentType ¶ added in v0.9.1
func (r UsageByEndpointResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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,omitempty"`
}
}
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) ContentType ¶ added in v0.9.1
func (r UsageByMethodResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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 UsageByTagParams ¶ added in v0.8.0
type UsageByTagParams struct {
// StartTime Start time (unix timestamp)
StartTime *int `form:"start_time,omitempty" json:"start_time,omitempty"`
// EndTime End time (unix timestamp)
EndTime *int `form:"end_time,omitempty" json:"end_time,omitempty"`
}
UsageByTagParams defines parameters for UsageByTag.
type UsageByTagResponse ¶ added in v0.8.0
type UsageByTagResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
EndTime int `json:"end_time"`
StartTime int `json:"start_time"`
Tags []struct {
CreditsUsed int `json:"credits_used"`
Label string `json:"label"`
Requests int `json:"requests"`
// TagId null for the untagged bucket
TagId *int `json:"tag_id"`
} `json:"tags"`
} `json:"data,omitempty"`
Error *string `json:"error,omitempty"`
}
}
func ParseUsageByTagResponse ¶ added in v0.8.0
func ParseUsageByTagResponse(rsp *http.Response) (*UsageByTagResponse, error)
ParseUsageByTagResponse parses an HTTP response from a UsageByTagWithResponse call
func (UsageByTagResponse) ContentType ¶ added in v0.9.1
func (r UsageByTagResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UsageByTagResponse) Status ¶ added in v0.8.0
func (r UsageByTagResponse) Status() string
Status returns HTTPResponse.Status
func (UsageByTagResponse) StatusCode ¶ added in v0.8.0
func (r UsageByTagResponse) 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,omitempty"`
CreditsUsed int `json:"credits_used"`
EndTime int `json:"end_time"`
Limit *int `json:"limit,omitempty"`
Overages *int `json:"overages,omitempty"`
StartTime int `json:"start_time"`
} `json:"data,omitempty"`
Error *string `json:"error,omitempty"`
}
}
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) ContentType ¶ added in v0.9.1
func (r UsageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
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