admin

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: MPL-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package admin provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeleteV0EndpointsBulkTagsRequest

func NewDeleteV0EndpointsBulkTagsRequest(server string, body DeleteV0EndpointsBulkTagsJSONRequestBody) (*http.Request, error)

NewDeleteV0EndpointsBulkTagsRequest calls the generic DeleteV0EndpointsBulkTags builder with application/json body

func NewDeleteV0EndpointsBulkTagsRequestWithBody

func NewDeleteV0EndpointsBulkTagsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteV0EndpointsBulkTagsRequestWithBody constructs an http.Request for the DeleteV0EndpointsBulkTags method, with any body, and a specified content type

func NewDeleteV0EndpointsByIdIpCustomHeaderRequest

func NewDeleteV0EndpointsByIdIpCustomHeaderRequest(server string, id string) (*http.Request, error)

NewDeleteV0EndpointsByIdIpCustomHeaderRequest constructs an http.Request for the DeleteV0EndpointsByIdIpCustomHeader method

func NewDeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdRequest

func NewDeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdRequest(server string, id string, methodRateLimitId string) (*http.Request, error)

NewDeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdRequest constructs an http.Request for the DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitId method

func NewDeleteV0EndpointsByIdRateLimitsByOverrideIdRequest

func NewDeleteV0EndpointsByIdRateLimitsByOverrideIdRequest(server string, id string, overrideId string) (*http.Request, error)

NewDeleteV0EndpointsByIdRateLimitsByOverrideIdRequest constructs an http.Request for the DeleteV0EndpointsByIdRateLimitsByOverrideId method

func NewDeleteV0EndpointsByIdRequest

func NewDeleteV0EndpointsByIdRequest(server string, id string) (*http.Request, error)

NewDeleteV0EndpointsByIdRequest constructs an http.Request for the DeleteV0EndpointsById method

func NewDeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdRequest

func NewDeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdRequest(server string, id string, domainMaskId string) (*http.Request, error)

NewDeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdRequest constructs an http.Request for the DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskId method

func NewDeleteV0EndpointsByIdSecurityIpsByIpIdRequest

func NewDeleteV0EndpointsByIdSecurityIpsByIpIdRequest(server string, id string, ipId string) (*http.Request, error)

NewDeleteV0EndpointsByIdSecurityIpsByIpIdRequest constructs an http.Request for the DeleteV0EndpointsByIdSecurityIpsByIpId method

func NewDeleteV0EndpointsByIdSecurityJwtsByJwtIdRequest

func NewDeleteV0EndpointsByIdSecurityJwtsByJwtIdRequest(server string, id string, jwtId string) (*http.Request, error)

NewDeleteV0EndpointsByIdSecurityJwtsByJwtIdRequest constructs an http.Request for the DeleteV0EndpointsByIdSecurityJwtsByJwtId method

func NewDeleteV0EndpointsByIdSecurityReferrersByReferrerIdRequest

func NewDeleteV0EndpointsByIdSecurityReferrersByReferrerIdRequest(server string, id string, referrerId string) (*http.Request, error)

NewDeleteV0EndpointsByIdSecurityReferrersByReferrerIdRequest constructs an http.Request for the DeleteV0EndpointsByIdSecurityReferrersByReferrerId method

func NewDeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdRequest

func NewDeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdRequest(server string, id string, requestFilterId string) (*http.Request, error)

NewDeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdRequest constructs an http.Request for the DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterId method

func NewDeleteV0EndpointsByIdSecurityTokensByTokenIdRequest

func NewDeleteV0EndpointsByIdSecurityTokensByTokenIdRequest(server string, id string, tokenId string) (*http.Request, error)

NewDeleteV0EndpointsByIdSecurityTokensByTokenIdRequest constructs an http.Request for the DeleteV0EndpointsByIdSecurityTokensByTokenId method

func NewDeleteV0EndpointsByIdTagsByTagIdRequest

func NewDeleteV0EndpointsByIdTagsByTagIdRequest(server string, id string, tagId string) (*http.Request, error)

NewDeleteV0EndpointsByIdTagsByTagIdRequest constructs an http.Request for the DeleteV0EndpointsByIdTagsByTagId method

func NewDeleteV0EndpointsTagsByIdRequest

func NewDeleteV0EndpointsTagsByIdRequest(server string, id int) (*http.Request, error)

NewDeleteV0EndpointsTagsByIdRequest constructs an http.Request for the DeleteV0EndpointsTagsById method

func NewDeleteV0TeamsByIdMembersByUserIdRequest

func NewDeleteV0TeamsByIdMembersByUserIdRequest(server string, id int, userId int) (*http.Request, error)

NewDeleteV0TeamsByIdMembersByUserIdRequest constructs an http.Request for the DeleteV0TeamsByIdMembersByUserId method

func NewDeleteV0TeamsByIdRequest

func NewDeleteV0TeamsByIdRequest(server string, id int) (*http.Request, error)

NewDeleteV0TeamsByIdRequest constructs an http.Request for the DeleteV0TeamsById method

func NewGetV0AccountInfoRequest

func NewGetV0AccountInfoRequest(server string) (*http.Request, error)

NewGetV0AccountInfoRequest constructs an http.Request for the GetV0AccountInfo method

func NewGetV0ApiCreditsByChainRequest

func NewGetV0ApiCreditsByChainRequest(server string, chain string) (*http.Request, error)

NewGetV0ApiCreditsByChainRequest constructs an http.Request for the GetV0ApiCreditsByChain method

func NewGetV0BillingInvoicesRequest

func NewGetV0BillingInvoicesRequest(server string) (*http.Request, error)

NewGetV0BillingInvoicesRequest constructs an http.Request for the GetV0BillingInvoices method

func NewGetV0BillingPaymentsRequest

func NewGetV0BillingPaymentsRequest(server string) (*http.Request, error)

NewGetV0BillingPaymentsRequest constructs an http.Request for the GetV0BillingPayments method

func NewGetV0ChainsRequest

func NewGetV0ChainsRequest(server string) (*http.Request, error)

NewGetV0ChainsRequest constructs an http.Request for the GetV0Chains method

func NewGetV0EndpointsByIdLogDetailsRequest

func NewGetV0EndpointsByIdLogDetailsRequest(server string, id string, params *GetV0EndpointsByIdLogDetailsParams) (*http.Request, error)

NewGetV0EndpointsByIdLogDetailsRequest constructs an http.Request for the GetV0EndpointsByIdLogDetails method

func NewGetV0EndpointsByIdLogsRequest

func NewGetV0EndpointsByIdLogsRequest(server string, id string, params *GetV0EndpointsByIdLogsParams) (*http.Request, error)

NewGetV0EndpointsByIdLogsRequest constructs an http.Request for the GetV0EndpointsByIdLogs method

func NewGetV0EndpointsByIdMethodRateLimitsRequest

func NewGetV0EndpointsByIdMethodRateLimitsRequest(server string, id string) (*http.Request, error)

NewGetV0EndpointsByIdMethodRateLimitsRequest constructs an http.Request for the GetV0EndpointsByIdMethodRateLimits method

func NewGetV0EndpointsByIdMetricsRequest

func NewGetV0EndpointsByIdMetricsRequest(server string, id string, params *GetV0EndpointsByIdMetricsParams) (*http.Request, error)

NewGetV0EndpointsByIdMetricsRequest constructs an http.Request for the GetV0EndpointsByIdMetrics method

func NewGetV0EndpointsByIdRateLimitsRequest

func NewGetV0EndpointsByIdRateLimitsRequest(server string, id string) (*http.Request, error)

NewGetV0EndpointsByIdRateLimitsRequest constructs an http.Request for the GetV0EndpointsByIdRateLimits method

func NewGetV0EndpointsByIdRequest

func NewGetV0EndpointsByIdRequest(server string, id string) (*http.Request, error)

NewGetV0EndpointsByIdRequest constructs an http.Request for the GetV0EndpointsById method

func NewGetV0EndpointsByIdSecurityOptionsRequest

func NewGetV0EndpointsByIdSecurityOptionsRequest(server string, id string) (*http.Request, error)

NewGetV0EndpointsByIdSecurityOptionsRequest constructs an http.Request for the GetV0EndpointsByIdSecurityOptions method

func NewGetV0EndpointsByIdSecurityRequest

func NewGetV0EndpointsByIdSecurityRequest(server string, id string) (*http.Request, error)

NewGetV0EndpointsByIdSecurityRequest constructs an http.Request for the GetV0EndpointsByIdSecurity method

func NewGetV0EndpointsByIdTagsRequest

func NewGetV0EndpointsByIdTagsRequest(server string, id string) (*http.Request, error)

NewGetV0EndpointsByIdTagsRequest constructs an http.Request for the GetV0EndpointsByIdTags method

func NewGetV0EndpointsByIdUrlsRequest

func NewGetV0EndpointsByIdUrlsRequest(server string, id string) (*http.Request, error)

NewGetV0EndpointsByIdUrlsRequest constructs an http.Request for the GetV0EndpointsByIdUrls method

func NewGetV0EndpointsRequest

func NewGetV0EndpointsRequest(server string, params *GetV0EndpointsParams) (*http.Request, error)

NewGetV0EndpointsRequest constructs an http.Request for the GetV0Endpoints method

func NewGetV0EndpointsTagsRequest

func NewGetV0EndpointsTagsRequest(server string) (*http.Request, error)

NewGetV0EndpointsTagsRequest constructs an http.Request for the GetV0EndpointsTags method

func NewGetV0MetricsRequest

func NewGetV0MetricsRequest(server string, params *GetV0MetricsParams) (*http.Request, error)

NewGetV0MetricsRequest constructs an http.Request for the GetV0Metrics method

func NewGetV0TeamsByIdEndpointsRequest

func NewGetV0TeamsByIdEndpointsRequest(server string, id int) (*http.Request, error)

NewGetV0TeamsByIdEndpointsRequest constructs an http.Request for the GetV0TeamsByIdEndpoints method

func NewGetV0TeamsByIdRequest

func NewGetV0TeamsByIdRequest(server string, id int) (*http.Request, error)

NewGetV0TeamsByIdRequest constructs an http.Request for the GetV0TeamsById method

func NewGetV0TeamsRequest

func NewGetV0TeamsRequest(server string) (*http.Request, error)

NewGetV0TeamsRequest constructs an http.Request for the GetV0Teams method

func NewGetV0ToolingAccessRequest

func NewGetV0ToolingAccessRequest(server string) (*http.Request, error)

NewGetV0ToolingAccessRequest constructs an http.Request for the GetV0ToolingAccess method

func NewGetV0UsageRpcByChainRequest

func NewGetV0UsageRpcByChainRequest(server string, params *GetV0UsageRpcByChainParams) (*http.Request, error)

NewGetV0UsageRpcByChainRequest constructs an http.Request for the GetV0UsageRpcByChain method

func NewGetV0UsageRpcByEndpointRequest

func NewGetV0UsageRpcByEndpointRequest(server string, params *GetV0UsageRpcByEndpointParams) (*http.Request, error)

NewGetV0UsageRpcByEndpointRequest constructs an http.Request for the GetV0UsageRpcByEndpoint method

func NewGetV0UsageRpcByMethodRequest

func NewGetV0UsageRpcByMethodRequest(server string, params *GetV0UsageRpcByMethodParams) (*http.Request, error)

NewGetV0UsageRpcByMethodRequest constructs an http.Request for the GetV0UsageRpcByMethod method

func NewGetV0UsageRpcByTagRequest

func NewGetV0UsageRpcByTagRequest(server string, params *GetV0UsageRpcByTagParams) (*http.Request, error)

NewGetV0UsageRpcByTagRequest constructs an http.Request for the GetV0UsageRpcByTag method

func NewGetV0UsageRpcRequest

func NewGetV0UsageRpcRequest(server string, params *GetV0UsageRpcParams) (*http.Request, error)

NewGetV0UsageRpcRequest constructs an http.Request for the GetV0UsageRpc method

func NewPatchV0EndpointsByIdIpCustomHeaderRequest

func NewPatchV0EndpointsByIdIpCustomHeaderRequest(server string, id string, body PatchV0EndpointsByIdIpCustomHeaderJSONRequestBody) (*http.Request, error)

NewPatchV0EndpointsByIdIpCustomHeaderRequest calls the generic PatchV0EndpointsByIdIpCustomHeader builder with application/json body

func NewPatchV0EndpointsByIdIpCustomHeaderRequestWithBody

func NewPatchV0EndpointsByIdIpCustomHeaderRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewPatchV0EndpointsByIdIpCustomHeaderRequestWithBody constructs an http.Request for the PatchV0EndpointsByIdIpCustomHeader method, with any body, and a specified content type

func NewPatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdRequest

func NewPatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdRequest(server string, id string, methodRateLimitId string, body PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdJSONRequestBody) (*http.Request, error)

NewPatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdRequest calls the generic PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitId builder with application/json body

func NewPatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdRequestWithBody

func NewPatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdRequestWithBody(server string, id string, methodRateLimitId string, contentType string, body io.Reader) (*http.Request, error)

NewPatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdRequestWithBody constructs an http.Request for the PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitId method, with any body, and a specified content type

func NewPatchV0EndpointsByIdRateLimitsRequest

func NewPatchV0EndpointsByIdRateLimitsRequest(server string, id string, body PatchV0EndpointsByIdRateLimitsJSONRequestBody) (*http.Request, error)

NewPatchV0EndpointsByIdRateLimitsRequest calls the generic PatchV0EndpointsByIdRateLimits builder with application/json body

func NewPatchV0EndpointsByIdRateLimitsRequestWithBody

func NewPatchV0EndpointsByIdRateLimitsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewPatchV0EndpointsByIdRateLimitsRequestWithBody constructs an http.Request for the PatchV0EndpointsByIdRateLimits method, with any body, and a specified content type

func NewPatchV0EndpointsByIdRequest

func NewPatchV0EndpointsByIdRequest(server string, id string, body PatchV0EndpointsByIdJSONRequestBody) (*http.Request, error)

NewPatchV0EndpointsByIdRequest calls the generic PatchV0EndpointsById builder with application/json body

func NewPatchV0EndpointsByIdRequestWithBody

func NewPatchV0EndpointsByIdRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewPatchV0EndpointsByIdRequestWithBody constructs an http.Request for the PatchV0EndpointsById method, with any body, and a specified content type

func NewPatchV0EndpointsByIdSecurityOptionsRequest

func NewPatchV0EndpointsByIdSecurityOptionsRequest(server string, id string, body PatchV0EndpointsByIdSecurityOptionsJSONRequestBody) (*http.Request, error)

NewPatchV0EndpointsByIdSecurityOptionsRequest calls the generic PatchV0EndpointsByIdSecurityOptions builder with application/json body

func NewPatchV0EndpointsByIdSecurityOptionsRequestWithBody

func NewPatchV0EndpointsByIdSecurityOptionsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewPatchV0EndpointsByIdSecurityOptionsRequestWithBody constructs an http.Request for the PatchV0EndpointsByIdSecurityOptions method, with any body, and a specified content type

func NewPatchV0EndpointsByIdStatusRequest

func NewPatchV0EndpointsByIdStatusRequest(server string, id string, body PatchV0EndpointsByIdStatusJSONRequestBody) (*http.Request, error)

NewPatchV0EndpointsByIdStatusRequest calls the generic PatchV0EndpointsByIdStatus builder with application/json body

func NewPatchV0EndpointsByIdStatusRequestWithBody

func NewPatchV0EndpointsByIdStatusRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewPatchV0EndpointsByIdStatusRequestWithBody constructs an http.Request for the PatchV0EndpointsByIdStatus method, with any body, and a specified content type

func NewPatchV0EndpointsTagsByIdRequest

func NewPatchV0EndpointsTagsByIdRequest(server string, id int, body PatchV0EndpointsTagsByIdJSONRequestBody) (*http.Request, error)

NewPatchV0EndpointsTagsByIdRequest calls the generic PatchV0EndpointsTagsById builder with application/json body

func NewPatchV0EndpointsTagsByIdRequestWithBody

func NewPatchV0EndpointsTagsByIdRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error)

NewPatchV0EndpointsTagsByIdRequestWithBody constructs an http.Request for the PatchV0EndpointsTagsById method, with any body, and a specified content type

func NewPatchV0TeamsByIdEndpointsRequest

func NewPatchV0TeamsByIdEndpointsRequest(server string, id int, body PatchV0TeamsByIdEndpointsJSONRequestBody) (*http.Request, error)

NewPatchV0TeamsByIdEndpointsRequest calls the generic PatchV0TeamsByIdEndpoints builder with application/json body

func NewPatchV0TeamsByIdEndpointsRequestWithBody

func NewPatchV0TeamsByIdEndpointsRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error)

NewPatchV0TeamsByIdEndpointsRequestWithBody constructs an http.Request for the PatchV0TeamsByIdEndpoints method, with any body, and a specified content type

func NewPatchV0ToolingAccessRequest

func NewPatchV0ToolingAccessRequest(server string, body PatchV0ToolingAccessJSONRequestBody) (*http.Request, error)

NewPatchV0ToolingAccessRequest calls the generic PatchV0ToolingAccess builder with application/json body

func NewPatchV0ToolingAccessRequestWithBody

func NewPatchV0ToolingAccessRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPatchV0ToolingAccessRequestWithBody constructs an http.Request for the PatchV0ToolingAccess method, with any body, and a specified content type

func NewPostV0EndpointsBulkStatusRequest

func NewPostV0EndpointsBulkStatusRequest(server string, body PostV0EndpointsBulkStatusJSONRequestBody) (*http.Request, error)

NewPostV0EndpointsBulkStatusRequest calls the generic PostV0EndpointsBulkStatus builder with application/json body

func NewPostV0EndpointsBulkStatusRequestWithBody

func NewPostV0EndpointsBulkStatusRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV0EndpointsBulkStatusRequestWithBody constructs an http.Request for the PostV0EndpointsBulkStatus method, with any body, and a specified content type

func NewPostV0EndpointsBulkTagsRequest

func NewPostV0EndpointsBulkTagsRequest(server string, body PostV0EndpointsBulkTagsJSONRequestBody) (*http.Request, error)

NewPostV0EndpointsBulkTagsRequest calls the generic PostV0EndpointsBulkTags builder with application/json body

func NewPostV0EndpointsBulkTagsRequestWithBody

func NewPostV0EndpointsBulkTagsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV0EndpointsBulkTagsRequestWithBody constructs an http.Request for the PostV0EndpointsBulkTags method, with any body, and a specified content type

func NewPostV0EndpointsByIdDisableMultichainRequest

func NewPostV0EndpointsByIdDisableMultichainRequest(server string, id string) (*http.Request, error)

NewPostV0EndpointsByIdDisableMultichainRequest constructs an http.Request for the PostV0EndpointsByIdDisableMultichain method

func NewPostV0EndpointsByIdEnableMultichainRequest

func NewPostV0EndpointsByIdEnableMultichainRequest(server string, id string) (*http.Request, error)

NewPostV0EndpointsByIdEnableMultichainRequest constructs an http.Request for the PostV0EndpointsByIdEnableMultichain method

func NewPostV0EndpointsByIdMethodRateLimitsRequest

func NewPostV0EndpointsByIdMethodRateLimitsRequest(server string, id string, body PostV0EndpointsByIdMethodRateLimitsJSONRequestBody) (*http.Request, error)

NewPostV0EndpointsByIdMethodRateLimitsRequest calls the generic PostV0EndpointsByIdMethodRateLimits builder with application/json body

func NewPostV0EndpointsByIdMethodRateLimitsRequestWithBody

func NewPostV0EndpointsByIdMethodRateLimitsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewPostV0EndpointsByIdMethodRateLimitsRequestWithBody constructs an http.Request for the PostV0EndpointsByIdMethodRateLimits method, with any body, and a specified content type

func NewPostV0EndpointsByIdSecurityDomainMasksRequest

func NewPostV0EndpointsByIdSecurityDomainMasksRequest(server string, id string, body PostV0EndpointsByIdSecurityDomainMasksJSONRequestBody) (*http.Request, error)

NewPostV0EndpointsByIdSecurityDomainMasksRequest calls the generic PostV0EndpointsByIdSecurityDomainMasks builder with application/json body

func NewPostV0EndpointsByIdSecurityDomainMasksRequestWithBody

func NewPostV0EndpointsByIdSecurityDomainMasksRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewPostV0EndpointsByIdSecurityDomainMasksRequestWithBody constructs an http.Request for the PostV0EndpointsByIdSecurityDomainMasks method, with any body, and a specified content type

func NewPostV0EndpointsByIdSecurityIpsRequest

func NewPostV0EndpointsByIdSecurityIpsRequest(server string, id string, body PostV0EndpointsByIdSecurityIpsJSONRequestBody) (*http.Request, error)

NewPostV0EndpointsByIdSecurityIpsRequest calls the generic PostV0EndpointsByIdSecurityIps builder with application/json body

func NewPostV0EndpointsByIdSecurityIpsRequestWithBody

func NewPostV0EndpointsByIdSecurityIpsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewPostV0EndpointsByIdSecurityIpsRequestWithBody constructs an http.Request for the PostV0EndpointsByIdSecurityIps method, with any body, and a specified content type

func NewPostV0EndpointsByIdSecurityJwtsRequest

func NewPostV0EndpointsByIdSecurityJwtsRequest(server string, id string, body PostV0EndpointsByIdSecurityJwtsJSONRequestBody) (*http.Request, error)

NewPostV0EndpointsByIdSecurityJwtsRequest calls the generic PostV0EndpointsByIdSecurityJwts builder with application/json body

func NewPostV0EndpointsByIdSecurityJwtsRequestWithBody

func NewPostV0EndpointsByIdSecurityJwtsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewPostV0EndpointsByIdSecurityJwtsRequestWithBody constructs an http.Request for the PostV0EndpointsByIdSecurityJwts method, with any body, and a specified content type

func NewPostV0EndpointsByIdSecurityReferrersRequest

func NewPostV0EndpointsByIdSecurityReferrersRequest(server string, id string, body PostV0EndpointsByIdSecurityReferrersJSONRequestBody) (*http.Request, error)

NewPostV0EndpointsByIdSecurityReferrersRequest calls the generic PostV0EndpointsByIdSecurityReferrers builder with application/json body

func NewPostV0EndpointsByIdSecurityReferrersRequestWithBody

func NewPostV0EndpointsByIdSecurityReferrersRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewPostV0EndpointsByIdSecurityReferrersRequestWithBody constructs an http.Request for the PostV0EndpointsByIdSecurityReferrers method, with any body, and a specified content type

func NewPostV0EndpointsByIdSecurityRequestFiltersRequest

func NewPostV0EndpointsByIdSecurityRequestFiltersRequest(server string, id string, body PostV0EndpointsByIdSecurityRequestFiltersJSONRequestBody) (*http.Request, error)

NewPostV0EndpointsByIdSecurityRequestFiltersRequest calls the generic PostV0EndpointsByIdSecurityRequestFilters builder with application/json body

func NewPostV0EndpointsByIdSecurityRequestFiltersRequestWithBody

func NewPostV0EndpointsByIdSecurityRequestFiltersRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewPostV0EndpointsByIdSecurityRequestFiltersRequestWithBody constructs an http.Request for the PostV0EndpointsByIdSecurityRequestFilters method, with any body, and a specified content type

func NewPostV0EndpointsByIdSecurityTokensRequest

func NewPostV0EndpointsByIdSecurityTokensRequest(server string, id string) (*http.Request, error)

NewPostV0EndpointsByIdSecurityTokensRequest constructs an http.Request for the PostV0EndpointsByIdSecurityTokens method

func NewPostV0EndpointsByIdTagsRequest

func NewPostV0EndpointsByIdTagsRequest(server string, id string, body PostV0EndpointsByIdTagsJSONRequestBody) (*http.Request, error)

NewPostV0EndpointsByIdTagsRequest calls the generic PostV0EndpointsByIdTags builder with application/json body

func NewPostV0EndpointsByIdTagsRequestWithBody

func NewPostV0EndpointsByIdTagsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewPostV0EndpointsByIdTagsRequestWithBody constructs an http.Request for the PostV0EndpointsByIdTags method, with any body, and a specified content type

func NewPostV0EndpointsRequest

func NewPostV0EndpointsRequest(server string, body PostV0EndpointsJSONRequestBody) (*http.Request, error)

NewPostV0EndpointsRequest calls the generic PostV0Endpoints builder with application/json body

func NewPostV0EndpointsRequestWithBody

func NewPostV0EndpointsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV0EndpointsRequestWithBody constructs an http.Request for the PostV0Endpoints method, with any body, and a specified content type

func NewPostV0TeamsByIdMembersByUserIdResendInviteRequest

func NewPostV0TeamsByIdMembersByUserIdResendInviteRequest(server string, id int, userId int) (*http.Request, error)

NewPostV0TeamsByIdMembersByUserIdResendInviteRequest constructs an http.Request for the PostV0TeamsByIdMembersByUserIdResendInvite method

func NewPostV0TeamsByIdMembersRequest

func NewPostV0TeamsByIdMembersRequest(server string, id int, body PostV0TeamsByIdMembersJSONRequestBody) (*http.Request, error)

NewPostV0TeamsByIdMembersRequest calls the generic PostV0TeamsByIdMembers builder with application/json body

func NewPostV0TeamsByIdMembersRequestWithBody

func NewPostV0TeamsByIdMembersRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error)

NewPostV0TeamsByIdMembersRequestWithBody constructs an http.Request for the PostV0TeamsByIdMembers method, with any body, and a specified content type

func NewPostV0TeamsRequest

func NewPostV0TeamsRequest(server string, body PostV0TeamsJSONRequestBody) (*http.Request, error)

NewPostV0TeamsRequest calls the generic PostV0Teams builder with application/json body

func NewPostV0TeamsRequestWithBody

func NewPostV0TeamsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV0TeamsRequestWithBody constructs an http.Request for the PostV0Teams method, with any body, and a specified content type

func NewPostV0ToolingAccessTokenRequest

func NewPostV0ToolingAccessTokenRequest(server string) (*http.Request, error)

NewPostV0ToolingAccessTokenRequest constructs an http.Request for the PostV0ToolingAccessToken method

func NewPutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdRequest

func NewPutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdRequest(server string, id string, requestFilterId string, body PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdJSONRequestBody) (*http.Request, error)

NewPutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdRequest calls the generic PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterId builder with application/json body

func NewPutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdRequestWithBody

func NewPutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdRequestWithBody(server string, id string, requestFilterId string, contentType string, body io.Reader) (*http.Request, error)

NewPutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdRequestWithBody constructs an http.Request for the PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterId method, with any body, and a specified content type

Types

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) DeleteV0EndpointsBulkTags

func (c *Client) DeleteV0EndpointsBulkTags(ctx context.Context, body DeleteV0EndpointsBulkTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteV0EndpointsBulkTags Remove a tag from multiple endpoints in a single call.

Remove a tag from multiple endpoints in a single call. Admin-only.

Takes a body of the `application/json` content type.

Corresponds with DELETE /v0/endpoints/bulk/tags (the `DeleteV0EndpointsBulkTags` operationId).

func (*Client) DeleteV0EndpointsBulkTagsWithBody

func (c *Client) DeleteV0EndpointsBulkTagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteV0EndpointsBulkTagsWithBody Remove a tag from multiple endpoints in a single call.

Remove a tag from multiple endpoints in a single call. Admin-only.

Takes any type of body and a specified content type.

Corresponds with DELETE /v0/endpoints/bulk/tags (the `DeleteV0EndpointsBulkTags` operationId).

func (*Client) DeleteV0EndpointsById

func (c *Client) DeleteV0EndpointsById(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteV0EndpointsById Deletes an endpoint.

Corresponds with DELETE /v0/endpoints/{id} (the `DeleteV0EndpointsById` operationId).

func (*Client) DeleteV0EndpointsByIdIpCustomHeader

func (c *Client) DeleteV0EndpointsByIdIpCustomHeader(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteV0EndpointsByIdIpCustomHeader Deletes the IP custom header for a specific endpoint.

Corresponds with DELETE /v0/endpoints/{id}/ip_custom_header (the `DeleteV0EndpointsByIdIpCustomHeader` operationId).

func (*Client) DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitId

func (c *Client) DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitId(ctx context.Context, id string, methodRateLimitId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitId Deletes a method rate limit.

Corresponds with DELETE /v0/endpoints/{id}/method-rate-limits/{method_rate_limit_id} (the `DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitId` operationId).

func (*Client) DeleteV0EndpointsByIdRateLimitsByOverrideId

func (c *Client) DeleteV0EndpointsByIdRateLimitsByOverrideId(ctx context.Context, id string, overrideId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteV0EndpointsByIdRateLimitsByOverrideId Deletes a user-set endpoint rate limit by UUID.

Corresponds with DELETE /v0/endpoints/{id}/rate-limits/{override_id} (the `DeleteV0EndpointsByIdRateLimitsByOverrideId` operationId).

func (*Client) DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskId

func (c *Client) DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskId(ctx context.Context, id string, domainMaskId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskId Deletes an existing endpoint domain mask.

Corresponds with DELETE /v0/endpoints/{id}/security/domain_masks/{domain_mask_id} (the `DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskId` operationId).

func (*Client) DeleteV0EndpointsByIdSecurityIpsByIpId

func (c *Client) DeleteV0EndpointsByIdSecurityIpsByIpId(ctx context.Context, id string, ipId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteV0EndpointsByIdSecurityIpsByIpId Deletes an existing endpoint IP.

Corresponds with DELETE /v0/endpoints/{id}/security/ips/{ip_id} (the `DeleteV0EndpointsByIdSecurityIpsByIpId` operationId).

func (*Client) DeleteV0EndpointsByIdSecurityJwtsByJwtId

func (c *Client) DeleteV0EndpointsByIdSecurityJwtsByJwtId(ctx context.Context, id string, jwtId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteV0EndpointsByIdSecurityJwtsByJwtId Deletes an existing endpoint JWT.

Corresponds with DELETE /v0/endpoints/{id}/security/jwts/{jwt_id} (the `DeleteV0EndpointsByIdSecurityJwtsByJwtId` operationId).

func (*Client) DeleteV0EndpointsByIdSecurityReferrersByReferrerId

func (c *Client) DeleteV0EndpointsByIdSecurityReferrersByReferrerId(ctx context.Context, id string, referrerId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteV0EndpointsByIdSecurityReferrersByReferrerId Deletes an existing endpoint referrer.

Corresponds with DELETE /v0/endpoints/{id}/security/referrers/{referrer_id} (the `DeleteV0EndpointsByIdSecurityReferrersByReferrerId` operationId).

func (*Client) DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterId

func (c *Client) DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterId(ctx context.Context, id string, requestFilterId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterId Deletes an existing endpoint request filter.

Corresponds with DELETE /v0/endpoints/{id}/security/request_filters/{request_filter_id} (the `DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterId` operationId).

func (*Client) DeleteV0EndpointsByIdSecurityTokensByTokenId

func (c *Client) DeleteV0EndpointsByIdSecurityTokensByTokenId(ctx context.Context, id string, tokenId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteV0EndpointsByIdSecurityTokensByTokenId Deletes an existing endpoint token.

Corresponds with DELETE /v0/endpoints/{id}/security/tokens/{token_id} (the `DeleteV0EndpointsByIdSecurityTokensByTokenId` operationId).

func (*Client) DeleteV0EndpointsByIdTagsByTagId

func (c *Client) DeleteV0EndpointsByIdTagsByTagId(ctx context.Context, id string, tagId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteV0EndpointsByIdTagsByTagId Deletes a tag from a specific endpoint.

Corresponds with DELETE /v0/endpoints/{id}/tags/{tag_id} (the `DeleteV0EndpointsByIdTagsByTagId` operationId).

func (*Client) DeleteV0EndpointsTagsById

func (c *Client) DeleteV0EndpointsTagsById(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteV0EndpointsTagsById Deletes an account tag.

Deletes an account tag. The tag must be removed from all endpoints before it can be deleted. Admin-only.

Corresponds with DELETE /v0/endpoints/tags/{id} (the `DeleteV0EndpointsTagsById` operationId).

func (*Client) DeleteV0TeamsById

func (c *Client) DeleteV0TeamsById(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteV0TeamsById Deletes an empty team.

Deletes an empty team. The team must have no members before it can be deleted.

Corresponds with DELETE /v0/teams/{id} (the `DeleteV0TeamsById` operationId).

func (*Client) DeleteV0TeamsByIdMembersByUserId

func (c *Client) DeleteV0TeamsByIdMembersByUserId(ctx context.Context, id int, userId int, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteV0TeamsByIdMembersByUserId Removes a user from a team.

Corresponds with DELETE /v0/teams/{id}/members/{user_id} (the `DeleteV0TeamsByIdMembersByUserId` operationId).

func (*Client) GetV0AccountInfo

func (c *Client) GetV0AccountInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0AccountInfo Returns information about the account associated with the API key.

Corresponds with GET /v0/account/info (the `GetV0AccountInfo` operationId).

func (*Client) GetV0ApiCreditsByChain

func (c *Client) GetV0ApiCreditsByChain(ctx context.Context, chain string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0ApiCreditsByChain Returns the API credit cost of each RPC method available on a chain.

Returns the API credit cost of each RPC method available on a chain. Credit costs are calculated using the account's billing version.

Corresponds with GET /v0/api-credits/{chain} (the `GetV0ApiCreditsByChain` operationId).

func (*Client) GetV0BillingInvoices

func (c *Client) GetV0BillingInvoices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0BillingInvoices Returns a list of invoices

Corresponds with GET /v0/billing/invoices (the `GetV0BillingInvoices` operationId).

func (*Client) GetV0BillingPayments

func (c *Client) GetV0BillingPayments(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0BillingPayments Returns a list of payments.

Corresponds with GET /v0/billing/payments (the `GetV0BillingPayments` operationId).

func (*Client) GetV0Chains

func (c *Client) GetV0Chains(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0Chains Returns a list of chains.

Corresponds with GET /v0/chains (the `GetV0Chains` operationId).

func (*Client) GetV0Endpoints

func (c *Client) GetV0Endpoints(ctx context.Context, params *GetV0EndpointsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0Endpoints Retrieves a list of endpoints.

Retrieves a list of endpoints. Supports searching, filtering, and sorting.

Corresponds with GET /v0/endpoints (the `GetV0Endpoints` operationId).

func (*Client) GetV0EndpointsById

func (c *Client) GetV0EndpointsById(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0EndpointsById Returns info for a specific endpoint.

Corresponds with GET /v0/endpoints/{id} (the `GetV0EndpointsById` operationId).

func (*Client) GetV0EndpointsByIdLogDetails

func (c *Client) GetV0EndpointsByIdLogDetails(ctx context.Context, id string, params *GetV0EndpointsByIdLogDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0EndpointsByIdLogDetails Retrieves detailed request and response information for a specific log entry.

Corresponds with GET /v0/endpoints/{id}/log_details (the `GetV0EndpointsByIdLogDetails` operationId).

func (*Client) GetV0EndpointsByIdLogs

func (c *Client) GetV0EndpointsByIdLogs(ctx context.Context, id string, params *GetV0EndpointsByIdLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0EndpointsByIdLogs Retrieves logs for a specific endpoint with filtering and pagination options.

Corresponds with GET /v0/endpoints/{id}/logs (the `GetV0EndpointsByIdLogs` operationId).

func (*Client) GetV0EndpointsByIdMethodRateLimits

func (c *Client) GetV0EndpointsByIdMethodRateLimits(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0EndpointsByIdMethodRateLimits Gets method rate limits.

Corresponds with GET /v0/endpoints/{id}/method-rate-limits (the `GetV0EndpointsByIdMethodRateLimits` operationId).

func (*Client) GetV0EndpointsByIdMetrics

func (c *Client) GetV0EndpointsByIdMetrics(ctx context.Context, id string, params *GetV0EndpointsByIdMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0EndpointsByIdMetrics Returns a single metric.

Corresponds with GET /v0/endpoints/{id}/metrics (the `GetV0EndpointsByIdMetrics` operationId).

func (*Client) GetV0EndpointsByIdRateLimits

func (c *Client) GetV0EndpointsByIdRateLimits(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0EndpointsByIdRateLimits Gets endpoint rate limits.

Gets endpoint rate limits. The response returns an array with the source for each rate limit, including plan defaults and user-set overrides.

Corresponds with GET /v0/endpoints/{id}/rate-limits (the `GetV0EndpointsByIdRateLimits` operationId).

func (*Client) GetV0EndpointsByIdSecurity

func (c *Client) GetV0EndpointsByIdSecurity(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0EndpointsByIdSecurity Returns full security state (tokens, JWTs, IPs, referrers, domain masks, request filters, options) without fetching the

Returns full security state (tokens, JWTs, IPs, referrers, domain masks, request filters, options) without fetching the full endpoint.

Corresponds with GET /v0/endpoints/{id}/security (the `GetV0EndpointsByIdSecurity` operationId).

func (*Client) GetV0EndpointsByIdSecurityOptions

func (c *Client) GetV0EndpointsByIdSecurityOptions(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0EndpointsByIdSecurityOptions Gets security options for an endpoint.

Corresponds with GET /v0/endpoints/{id}/security_options (the `GetV0EndpointsByIdSecurityOptions` operationId).

func (*Client) GetV0EndpointsByIdTags

func (c *Client) GetV0EndpointsByIdTags(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0EndpointsByIdTags Returns all tags for a specific endpoint.

Corresponds with GET /v0/endpoints/{id}/tags (the `GetV0EndpointsByIdTags` operationId).

func (*Client) GetV0EndpointsByIdUrls

func (c *Client) GetV0EndpointsByIdUrls(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0EndpointsByIdUrls Returns the URLs for a specific endpoint.

Returns the URLs for a specific endpoint. For multichain endpoints, the response also includes a `multichain_urls` map with the URLs for every supported network.

Corresponds with GET /v0/endpoints/{id}/urls (the `GetV0EndpointsByIdUrls` operationId).

func (*Client) GetV0EndpointsTags

func (c *Client) GetV0EndpointsTags(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0EndpointsTags Returns all account-level tags including those with zero endpoints.

Returns all account-level tags including those with zero endpoints. Gated at Build/Growth+.

Corresponds with GET /v0/endpoints/tags (the `GetV0EndpointsTags` operationId).

func (*Client) GetV0Metrics

func (c *Client) GetV0Metrics(ctx context.Context, params *GetV0MetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0Metrics Fetches metrics aggregated across all endpoints for an account.

Corresponds with GET /v0/metrics (the `GetV0Metrics` operationId).

func (*Client) GetV0Teams

func (c *Client) GetV0Teams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0Teams Retrieves a list of all teams.

Corresponds with GET /v0/teams (the `GetV0Teams` operationId).

func (*Client) GetV0TeamsById

func (c *Client) GetV0TeamsById(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0TeamsById Retrieves details for a specific team.

Corresponds with GET /v0/teams/{id} (the `GetV0TeamsById` operationId).

func (*Client) GetV0TeamsByIdEndpoints

func (c *Client) GetV0TeamsByIdEndpoints(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0TeamsByIdEndpoints Retrieves a list of endpoints accessible to a team.

Corresponds with GET /v0/teams/{id}/endpoints (the `GetV0TeamsByIdEndpoints` operationId).

func (*Client) GetV0ToolingAccess

func (c *Client) GetV0ToolingAccess(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0ToolingAccess Returns whether Tooling Access is enabled for the account.

Corresponds with GET /v0/tooling-access (the `GetV0ToolingAccess` operationId).

func (*Client) GetV0UsageRpc

func (c *Client) GetV0UsageRpc(ctx context.Context, params *GetV0UsageRpcParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0UsageRpc Retrieves usage total for specified time range.

Corresponds with GET /v0/usage/rpc (the `GetV0UsageRpc` operationId).

func (*Client) GetV0UsageRpcByChain

func (c *Client) GetV0UsageRpcByChain(ctx context.Context, params *GetV0UsageRpcByChainParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0UsageRpcByChain Retrieves usage data by chain.

Corresponds with GET /v0/usage/rpc/by-chain (the `GetV0UsageRpcByChain` operationId).

func (*Client) GetV0UsageRpcByEndpoint

func (c *Client) GetV0UsageRpcByEndpoint(ctx context.Context, params *GetV0UsageRpcByEndpointParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0UsageRpcByEndpoint Retrieves usage data by endpoint.

Corresponds with GET /v0/usage/rpc/by-endpoint (the `GetV0UsageRpcByEndpoint` operationId).

func (*Client) GetV0UsageRpcByMethod

func (c *Client) GetV0UsageRpcByMethod(ctx context.Context, params *GetV0UsageRpcByMethodParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0UsageRpcByMethod Retrieves usage data by method.

Corresponds with GET /v0/usage/rpc/by-method (the `GetV0UsageRpcByMethod` operationId).

func (*Client) GetV0UsageRpcByTag

func (c *Client) GetV0UsageRpcByTag(ctx context.Context, params *GetV0UsageRpcByTagParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV0UsageRpcByTag Retrieves usage data grouped by tag.

Retrieves usage data grouped by tag. Includes an untagged bucket for endpoints with no tags.

Corresponds with GET /v0/usage/rpc/by-tag (the `GetV0UsageRpcByTag` operationId).

func (*Client) PatchV0EndpointsById

func (c *Client) PatchV0EndpointsById(ctx context.Context, id string, body PatchV0EndpointsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchV0EndpointsById Updates an endpoint.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v0/endpoints/{id} (the `PatchV0EndpointsById` operationId).

func (*Client) PatchV0EndpointsByIdIpCustomHeader

func (c *Client) PatchV0EndpointsByIdIpCustomHeader(ctx context.Context, id string, body PatchV0EndpointsByIdIpCustomHeaderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchV0EndpointsByIdIpCustomHeader Creates or updates an IP custom header for a specific endpoint.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v0/endpoints/{id}/ip_custom_header (the `PatchV0EndpointsByIdIpCustomHeader` operationId).

func (*Client) PatchV0EndpointsByIdIpCustomHeaderWithBody

func (c *Client) PatchV0EndpointsByIdIpCustomHeaderWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchV0EndpointsByIdIpCustomHeaderWithBody Creates or updates an IP custom header for a specific endpoint.

Takes any type of body and a specified content type.

Corresponds with PATCH /v0/endpoints/{id}/ip_custom_header (the `PatchV0EndpointsByIdIpCustomHeader` operationId).

func (*Client) PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitId

func (c *Client) PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitId(ctx context.Context, id string, methodRateLimitId string, body PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitId Updates a method rate limit.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v0/endpoints/{id}/method-rate-limits/{method_rate_limit_id} (the `PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitId` operationId).

func (*Client) PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdWithBody

func (c *Client) PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdWithBody(ctx context.Context, id string, methodRateLimitId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdWithBody Updates a method rate limit.

Takes any type of body and a specified content type.

Corresponds with PATCH /v0/endpoints/{id}/method-rate-limits/{method_rate_limit_id} (the `PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitId` operationId).

func (*Client) PatchV0EndpointsByIdRateLimits

func (c *Client) PatchV0EndpointsByIdRateLimits(ctx context.Context, id string, body PatchV0EndpointsByIdRateLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchV0EndpointsByIdRateLimits Updates endpoint rate limits.

Updates endpoint rate limits. Only rate limits specified in the payload are updated; omitted rate limits remain unchanged. The response returns the effective endpoint-level limits as a flat limits object.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v0/endpoints/{id}/rate-limits (the `PatchV0EndpointsByIdRateLimits` operationId).

func (*Client) PatchV0EndpointsByIdRateLimitsWithBody

func (c *Client) PatchV0EndpointsByIdRateLimitsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchV0EndpointsByIdRateLimitsWithBody Updates endpoint rate limits.

Updates endpoint rate limits. Only rate limits specified in the payload are updated; omitted rate limits remain unchanged. The response returns the effective endpoint-level limits as a flat limits object.

Takes any type of body and a specified content type.

Corresponds with PATCH /v0/endpoints/{id}/rate-limits (the `PatchV0EndpointsByIdRateLimits` operationId).

func (*Client) PatchV0EndpointsByIdSecurityOptions

func (c *Client) PatchV0EndpointsByIdSecurityOptions(ctx context.Context, id string, body PatchV0EndpointsByIdSecurityOptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchV0EndpointsByIdSecurityOptions Updates security options for an endpoint.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v0/endpoints/{id}/security_options (the `PatchV0EndpointsByIdSecurityOptions` operationId).

func (*Client) PatchV0EndpointsByIdSecurityOptionsWithBody

func (c *Client) PatchV0EndpointsByIdSecurityOptionsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchV0EndpointsByIdSecurityOptionsWithBody Updates security options for an endpoint.

Takes any type of body and a specified content type.

Corresponds with PATCH /v0/endpoints/{id}/security_options (the `PatchV0EndpointsByIdSecurityOptions` operationId).

func (*Client) PatchV0EndpointsByIdStatus

func (c *Client) PatchV0EndpointsByIdStatus(ctx context.Context, id string, body PatchV0EndpointsByIdStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchV0EndpointsByIdStatus Pauses or unpauses a specific endpoint by updating its status to either 'active' or 'paused'

Takes a body of the `application/json` content type.

Corresponds with PATCH /v0/endpoints/{id}/status (the `PatchV0EndpointsByIdStatus` operationId).

func (*Client) PatchV0EndpointsByIdStatusWithBody

func (c *Client) PatchV0EndpointsByIdStatusWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchV0EndpointsByIdStatusWithBody Pauses or unpauses a specific endpoint by updating its status to either 'active' or 'paused'

Takes any type of body and a specified content type.

Corresponds with PATCH /v0/endpoints/{id}/status (the `PatchV0EndpointsByIdStatus` operationId).

func (*Client) PatchV0EndpointsByIdWithBody

func (c *Client) PatchV0EndpointsByIdWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchV0EndpointsByIdWithBody Updates an endpoint.

Takes any type of body and a specified content type.

Corresponds with PATCH /v0/endpoints/{id} (the `PatchV0EndpointsById` operationId).

func (*Client) PatchV0EndpointsTagsById

func (c *Client) PatchV0EndpointsTagsById(ctx context.Context, id int, body PatchV0EndpointsTagsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchV0EndpointsTagsById Renames an account tag.

Renames an account tag. Because the tag is shared across endpoints, all associated endpoints reflect the new label immediately. Admin-only.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v0/endpoints/tags/{id} (the `PatchV0EndpointsTagsById` operationId).

func (*Client) PatchV0EndpointsTagsByIdWithBody

func (c *Client) PatchV0EndpointsTagsByIdWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchV0EndpointsTagsByIdWithBody Renames an account tag.

Renames an account tag. Because the tag is shared across endpoints, all associated endpoints reflect the new label immediately. Admin-only.

Takes any type of body and a specified content type.

Corresponds with PATCH /v0/endpoints/tags/{id} (the `PatchV0EndpointsTagsById` operationId).

func (*Client) PatchV0TeamsByIdEndpoints

func (c *Client) PatchV0TeamsByIdEndpoints(ctx context.Context, id int, body PatchV0TeamsByIdEndpointsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchV0TeamsByIdEndpoints Assigns or unassigns endpoints to a team.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v0/teams/{id}/endpoints (the `PatchV0TeamsByIdEndpoints` operationId).

func (*Client) PatchV0TeamsByIdEndpointsWithBody

func (c *Client) PatchV0TeamsByIdEndpointsWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchV0TeamsByIdEndpointsWithBody Assigns or unassigns endpoints to a team.

Takes any type of body and a specified content type.

Corresponds with PATCH /v0/teams/{id}/endpoints (the `PatchV0TeamsByIdEndpoints` operationId).

func (*Client) PatchV0ToolingAccess

func (c *Client) PatchV0ToolingAccess(ctx context.Context, body PatchV0ToolingAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchV0ToolingAccess Enable (provision/reactivate) or disable Tooling Access for the account.

Enable (provision/reactivate) or disable Tooling Access for the account. Enabling is idempotent and requires an admin role.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v0/tooling-access (the `PatchV0ToolingAccess` operationId).

func (*Client) PatchV0ToolingAccessWithBody

func (c *Client) PatchV0ToolingAccessWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchV0ToolingAccessWithBody Enable (provision/reactivate) or disable Tooling Access for the account.

Enable (provision/reactivate) or disable Tooling Access for the account. Enabling is idempotent and requires an admin role.

Takes any type of body and a specified content type.

Corresponds with PATCH /v0/tooling-access (the `PatchV0ToolingAccess` operationId).

func (*Client) PostV0Endpoints

func (c *Client) PostV0Endpoints(ctx context.Context, body PostV0EndpointsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0Endpoints Creates a new endpoint.

Takes a body of the `application/json` content type.

Corresponds with POST /v0/endpoints (the `PostV0Endpoints` operationId).

func (*Client) PostV0EndpointsBulkStatus

func (c *Client) PostV0EndpointsBulkStatus(ctx context.Context, body PostV0EndpointsBulkStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0EndpointsBulkStatus Pause or unpause multiple endpoints in a single call.

Pause or unpause multiple endpoints in a single call. Admin-only.

Takes a body of the `application/json` content type.

Corresponds with POST /v0/endpoints/bulk/status (the `PostV0EndpointsBulkStatus` operationId).

func (*Client) PostV0EndpointsBulkStatusWithBody

func (c *Client) PostV0EndpointsBulkStatusWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0EndpointsBulkStatusWithBody Pause or unpause multiple endpoints in a single call.

Pause or unpause multiple endpoints in a single call. Admin-only.

Takes any type of body and a specified content type.

Corresponds with POST /v0/endpoints/bulk/status (the `PostV0EndpointsBulkStatus` operationId).

func (*Client) PostV0EndpointsBulkTags

func (c *Client) PostV0EndpointsBulkTags(ctx context.Context, body PostV0EndpointsBulkTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0EndpointsBulkTags Add a tag to multiple endpoints in a single call.

Add a tag to multiple endpoints in a single call. Admin-only.

Takes a body of the `application/json` content type.

Corresponds with POST /v0/endpoints/bulk/tags (the `PostV0EndpointsBulkTags` operationId).

func (*Client) PostV0EndpointsBulkTagsWithBody

func (c *Client) PostV0EndpointsBulkTagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0EndpointsBulkTagsWithBody Add a tag to multiple endpoints in a single call.

Add a tag to multiple endpoints in a single call. Admin-only.

Takes any type of body and a specified content type.

Corresponds with POST /v0/endpoints/bulk/tags (the `PostV0EndpointsBulkTags` operationId).

func (*Client) PostV0EndpointsByIdDisableMultichain

func (c *Client) PostV0EndpointsByIdDisableMultichain(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0EndpointsByIdDisableMultichain Disables multichain for a specific endpoint.

Corresponds with POST /v0/endpoints/{id}/disable_multichain (the `PostV0EndpointsByIdDisableMultichain` operationId).

func (*Client) PostV0EndpointsByIdEnableMultichain

func (c *Client) PostV0EndpointsByIdEnableMultichain(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0EndpointsByIdEnableMultichain Enables multichain for a specific endpoint.

Corresponds with POST /v0/endpoints/{id}/enable_multichain (the `PostV0EndpointsByIdEnableMultichain` operationId).

func (*Client) PostV0EndpointsByIdMethodRateLimits

func (c *Client) PostV0EndpointsByIdMethodRateLimits(ctx context.Context, id string, body PostV0EndpointsByIdMethodRateLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0EndpointsByIdMethodRateLimits Creates a method rate limit.

Takes a body of the `application/json` content type.

Corresponds with POST /v0/endpoints/{id}/method-rate-limits (the `PostV0EndpointsByIdMethodRateLimits` operationId).

func (*Client) PostV0EndpointsByIdMethodRateLimitsWithBody

func (c *Client) PostV0EndpointsByIdMethodRateLimitsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0EndpointsByIdMethodRateLimitsWithBody Creates a method rate limit.

Takes any type of body and a specified content type.

Corresponds with POST /v0/endpoints/{id}/method-rate-limits (the `PostV0EndpointsByIdMethodRateLimits` operationId).

func (*Client) PostV0EndpointsByIdSecurityDomainMasks

func (c *Client) PostV0EndpointsByIdSecurityDomainMasks(ctx context.Context, id string, body PostV0EndpointsByIdSecurityDomainMasksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0EndpointsByIdSecurityDomainMasks Create an endpoint domain mask.

Takes a body of the `application/json` content type.

Corresponds with POST /v0/endpoints/{id}/security/domain_masks (the `PostV0EndpointsByIdSecurityDomainMasks` operationId).

func (*Client) PostV0EndpointsByIdSecurityDomainMasksWithBody

func (c *Client) PostV0EndpointsByIdSecurityDomainMasksWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0EndpointsByIdSecurityDomainMasksWithBody Create an endpoint domain mask.

Takes any type of body and a specified content type.

Corresponds with POST /v0/endpoints/{id}/security/domain_masks (the `PostV0EndpointsByIdSecurityDomainMasks` operationId).

func (*Client) PostV0EndpointsByIdSecurityIps

func (c *Client) PostV0EndpointsByIdSecurityIps(ctx context.Context, id string, body PostV0EndpointsByIdSecurityIpsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0EndpointsByIdSecurityIps Creates a new endpoint IP.

Takes a body of the `application/json` content type.

Corresponds with POST /v0/endpoints/{id}/security/ips (the `PostV0EndpointsByIdSecurityIps` operationId).

func (*Client) PostV0EndpointsByIdSecurityIpsWithBody

func (c *Client) PostV0EndpointsByIdSecurityIpsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0EndpointsByIdSecurityIpsWithBody Creates a new endpoint IP.

Takes any type of body and a specified content type.

Corresponds with POST /v0/endpoints/{id}/security/ips (the `PostV0EndpointsByIdSecurityIps` operationId).

func (*Client) PostV0EndpointsByIdSecurityJwts

func (c *Client) PostV0EndpointsByIdSecurityJwts(ctx context.Context, id string, body PostV0EndpointsByIdSecurityJwtsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0EndpointsByIdSecurityJwts Creates a new endpoint JWT.

Takes a body of the `application/json` content type.

Corresponds with POST /v0/endpoints/{id}/security/jwts (the `PostV0EndpointsByIdSecurityJwts` operationId).

func (*Client) PostV0EndpointsByIdSecurityJwtsWithBody

func (c *Client) PostV0EndpointsByIdSecurityJwtsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0EndpointsByIdSecurityJwtsWithBody Creates a new endpoint JWT.

Takes any type of body and a specified content type.

Corresponds with POST /v0/endpoints/{id}/security/jwts (the `PostV0EndpointsByIdSecurityJwts` operationId).

func (*Client) PostV0EndpointsByIdSecurityReferrers

func (c *Client) PostV0EndpointsByIdSecurityReferrers(ctx context.Context, id string, body PostV0EndpointsByIdSecurityReferrersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0EndpointsByIdSecurityReferrers Creates a new endpoint referrer.

Takes a body of the `application/json` content type.

Corresponds with POST /v0/endpoints/{id}/security/referrers (the `PostV0EndpointsByIdSecurityReferrers` operationId).

func (*Client) PostV0EndpointsByIdSecurityReferrersWithBody

func (c *Client) PostV0EndpointsByIdSecurityReferrersWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0EndpointsByIdSecurityReferrersWithBody Creates a new endpoint referrer.

Takes any type of body and a specified content type.

Corresponds with POST /v0/endpoints/{id}/security/referrers (the `PostV0EndpointsByIdSecurityReferrers` operationId).

func (*Client) PostV0EndpointsByIdSecurityRequestFilters

func (c *Client) PostV0EndpointsByIdSecurityRequestFilters(ctx context.Context, id string, body PostV0EndpointsByIdSecurityRequestFiltersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0EndpointsByIdSecurityRequestFilters Creates a new endpoint request filter for method whitelisting.

Takes a body of the `application/json` content type.

Corresponds with POST /v0/endpoints/{id}/security/request_filters (the `PostV0EndpointsByIdSecurityRequestFilters` operationId).

func (*Client) PostV0EndpointsByIdSecurityRequestFiltersWithBody

func (c *Client) PostV0EndpointsByIdSecurityRequestFiltersWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0EndpointsByIdSecurityRequestFiltersWithBody Creates a new endpoint request filter for method whitelisting.

Takes any type of body and a specified content type.

Corresponds with POST /v0/endpoints/{id}/security/request_filters (the `PostV0EndpointsByIdSecurityRequestFilters` operationId).

func (*Client) PostV0EndpointsByIdSecurityTokens

func (c *Client) PostV0EndpointsByIdSecurityTokens(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0EndpointsByIdSecurityTokens Creates a new endpoint authentication token.

Corresponds with POST /v0/endpoints/{id}/security/tokens (the `PostV0EndpointsByIdSecurityTokens` operationId).

func (*Client) PostV0EndpointsByIdTags

func (c *Client) PostV0EndpointsByIdTags(ctx context.Context, id string, body PostV0EndpointsByIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0EndpointsByIdTags Creates a new tag for a specific endpoint.

Takes a body of the `application/json` content type.

Corresponds with POST /v0/endpoints/{id}/tags (the `PostV0EndpointsByIdTags` operationId).

func (*Client) PostV0EndpointsByIdTagsWithBody

func (c *Client) PostV0EndpointsByIdTagsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0EndpointsByIdTagsWithBody Creates a new tag for a specific endpoint.

Takes any type of body and a specified content type.

Corresponds with POST /v0/endpoints/{id}/tags (the `PostV0EndpointsByIdTags` operationId).

func (*Client) PostV0EndpointsWithBody

func (c *Client) PostV0EndpointsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0EndpointsWithBody Creates a new endpoint.

Takes any type of body and a specified content type.

Corresponds with POST /v0/endpoints (the `PostV0Endpoints` operationId).

func (*Client) PostV0Teams

func (c *Client) PostV0Teams(ctx context.Context, body PostV0TeamsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0Teams Creates a new team.

Takes a body of the `application/json` content type.

Corresponds with POST /v0/teams (the `PostV0Teams` operationId).

func (*Client) PostV0TeamsByIdMembers

func (c *Client) PostV0TeamsByIdMembers(ctx context.Context, id int, body PostV0TeamsByIdMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0TeamsByIdMembers Invites a user to a team.

Takes a body of the `application/json` content type.

Corresponds with POST /v0/teams/{id}/members (the `PostV0TeamsByIdMembers` operationId).

func (*Client) PostV0TeamsByIdMembersByUserIdResendInvite

func (c *Client) PostV0TeamsByIdMembersByUserIdResendInvite(ctx context.Context, id int, userId int, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0TeamsByIdMembersByUserIdResendInvite Resends an invitation email to a pending team member.

Corresponds with POST /v0/teams/{id}/members/{user_id}/resend_invite (the `PostV0TeamsByIdMembersByUserIdResendInvite` operationId).

func (*Client) PostV0TeamsByIdMembersWithBody

func (c *Client) PostV0TeamsByIdMembersWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0TeamsByIdMembersWithBody Invites a user to a team.

Takes any type of body and a specified content type.

Corresponds with POST /v0/teams/{id}/members (the `PostV0TeamsByIdMembers` operationId).

func (*Client) PostV0TeamsWithBody

func (c *Client) PostV0TeamsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0TeamsWithBody Creates a new team.

Takes any type of body and a specified content type.

Corresponds with POST /v0/teams (the `PostV0Teams` operationId).

func (*Client) PostV0ToolingAccessToken

func (c *Client) PostV0ToolingAccessToken(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV0ToolingAccessToken Mints a short-lived ES256 JWT for authenticating data-plane RPC calls.

Mints a short-lived ES256 JWT for authenticating data-plane RPC calls. Requires Tooling Access to be enabled first.

Corresponds with POST /v0/tooling-access/token (the `PostV0ToolingAccessToken` operationId).

func (*Client) PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterId

func (c *Client) PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterId(ctx context.Context, id string, requestFilterId string, body PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterId Updates an existing endpoint request filter.

Takes a body of the `application/json` content type.

Corresponds with PUT /v0/endpoints/{id}/security/request_filters/{request_filter_id} (the `PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterId` operationId).

func (*Client) PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdWithBody

func (c *Client) PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdWithBody(ctx context.Context, id string, requestFilterId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdWithBody Updates an existing endpoint request filter.

Takes any type of body and a specified content type.

Corresponds with PUT /v0/endpoints/{id}/security/request_filters/{request_filter_id} (the `PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterId` operationId).

type ClientInterface

type ClientInterface interface {

	// GetV0AccountInfo Returns information about the account associated with the API key.
	//
	// Corresponds with GET /v0/account/info (the `GetV0AccountInfo` operationId).
	GetV0AccountInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0ApiCreditsByChain Returns the API credit cost of each RPC method available on a chain.
	//
	// Returns the API credit cost of each RPC method available on a chain. Credit costs are calculated using the account's billing version.
	//
	// Corresponds with GET /v0/api-credits/{chain} (the `GetV0ApiCreditsByChain` operationId).
	GetV0ApiCreditsByChain(ctx context.Context, chain string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0BillingInvoices Returns a list of invoices
	//
	// Corresponds with GET /v0/billing/invoices (the `GetV0BillingInvoices` operationId).
	GetV0BillingInvoices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0BillingPayments Returns a list of payments.
	//
	// Corresponds with GET /v0/billing/payments (the `GetV0BillingPayments` operationId).
	GetV0BillingPayments(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0Chains Returns a list of chains.
	//
	// Corresponds with GET /v0/chains (the `GetV0Chains` operationId).
	GetV0Chains(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0Endpoints Retrieves a list of endpoints.
	//
	// Retrieves a list of endpoints. Supports searching, filtering, and sorting.
	//
	// Corresponds with GET /v0/endpoints (the `GetV0Endpoints` operationId).
	GetV0Endpoints(ctx context.Context, params *GetV0EndpointsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0EndpointsWithBody Creates a new endpoint.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/endpoints (the `PostV0Endpoints` operationId).
	PostV0EndpointsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0Endpoints Creates a new endpoint.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/endpoints (the `PostV0Endpoints` operationId).
	PostV0Endpoints(ctx context.Context, body PostV0EndpointsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0EndpointsBulkStatusWithBody Pause or unpause multiple endpoints in a single call.
	//
	// Pause or unpause multiple endpoints in a single call. Admin-only.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/endpoints/bulk/status (the `PostV0EndpointsBulkStatus` operationId).
	PostV0EndpointsBulkStatusWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0EndpointsBulkStatus Pause or unpause multiple endpoints in a single call.
	//
	// Pause or unpause multiple endpoints in a single call. Admin-only.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/endpoints/bulk/status (the `PostV0EndpointsBulkStatus` operationId).
	PostV0EndpointsBulkStatus(ctx context.Context, body PostV0EndpointsBulkStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV0EndpointsBulkTagsWithBody Remove a tag from multiple endpoints in a single call.
	//
	// Remove a tag from multiple endpoints in a single call. Admin-only.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with DELETE /v0/endpoints/bulk/tags (the `DeleteV0EndpointsBulkTags` operationId).
	DeleteV0EndpointsBulkTagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV0EndpointsBulkTags Remove a tag from multiple endpoints in a single call.
	//
	// Remove a tag from multiple endpoints in a single call. Admin-only.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with DELETE /v0/endpoints/bulk/tags (the `DeleteV0EndpointsBulkTags` operationId).
	DeleteV0EndpointsBulkTags(ctx context.Context, body DeleteV0EndpointsBulkTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0EndpointsBulkTagsWithBody Add a tag to multiple endpoints in a single call.
	//
	// Add a tag to multiple endpoints in a single call. Admin-only.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/endpoints/bulk/tags (the `PostV0EndpointsBulkTags` operationId).
	PostV0EndpointsBulkTagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0EndpointsBulkTags Add a tag to multiple endpoints in a single call.
	//
	// Add a tag to multiple endpoints in a single call. Admin-only.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/endpoints/bulk/tags (the `PostV0EndpointsBulkTags` operationId).
	PostV0EndpointsBulkTags(ctx context.Context, body PostV0EndpointsBulkTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0EndpointsTags Returns all account-level tags including those with zero endpoints.
	//
	// Returns all account-level tags including those with zero endpoints. Gated at Build/Growth+.
	//
	// Corresponds with GET /v0/endpoints/tags (the `GetV0EndpointsTags` operationId).
	GetV0EndpointsTags(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV0EndpointsTagsById Deletes an account tag.
	//
	// Deletes an account tag. The tag must be removed from all endpoints before it can be deleted. Admin-only.
	//
	// Corresponds with DELETE /v0/endpoints/tags/{id} (the `DeleteV0EndpointsTagsById` operationId).
	DeleteV0EndpointsTagsById(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV0EndpointsTagsByIdWithBody Renames an account tag.
	//
	// Renames an account tag. Because the tag is shared across endpoints, all associated endpoints reflect the new label immediately. Admin-only.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v0/endpoints/tags/{id} (the `PatchV0EndpointsTagsById` operationId).
	PatchV0EndpointsTagsByIdWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV0EndpointsTagsById Renames an account tag.
	//
	// Renames an account tag. Because the tag is shared across endpoints, all associated endpoints reflect the new label immediately. Admin-only.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v0/endpoints/tags/{id} (the `PatchV0EndpointsTagsById` operationId).
	PatchV0EndpointsTagsById(ctx context.Context, id int, body PatchV0EndpointsTagsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV0EndpointsById Deletes an endpoint.
	//
	// Corresponds with DELETE /v0/endpoints/{id} (the `DeleteV0EndpointsById` operationId).
	DeleteV0EndpointsById(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0EndpointsById Returns info for a specific endpoint.
	//
	// Corresponds with GET /v0/endpoints/{id} (the `GetV0EndpointsById` operationId).
	GetV0EndpointsById(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV0EndpointsByIdWithBody Updates an endpoint.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v0/endpoints/{id} (the `PatchV0EndpointsById` operationId).
	PatchV0EndpointsByIdWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV0EndpointsById Updates an endpoint.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v0/endpoints/{id} (the `PatchV0EndpointsById` operationId).
	PatchV0EndpointsById(ctx context.Context, id string, body PatchV0EndpointsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0EndpointsByIdDisableMultichain Disables multichain for a specific endpoint.
	//
	// Corresponds with POST /v0/endpoints/{id}/disable_multichain (the `PostV0EndpointsByIdDisableMultichain` operationId).
	PostV0EndpointsByIdDisableMultichain(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0EndpointsByIdEnableMultichain Enables multichain for a specific endpoint.
	//
	// Corresponds with POST /v0/endpoints/{id}/enable_multichain (the `PostV0EndpointsByIdEnableMultichain` operationId).
	PostV0EndpointsByIdEnableMultichain(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV0EndpointsByIdIpCustomHeader Deletes the IP custom header for a specific endpoint.
	//
	// Corresponds with DELETE /v0/endpoints/{id}/ip_custom_header (the `DeleteV0EndpointsByIdIpCustomHeader` operationId).
	DeleteV0EndpointsByIdIpCustomHeader(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV0EndpointsByIdIpCustomHeaderWithBody Creates or updates an IP custom header for a specific endpoint.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v0/endpoints/{id}/ip_custom_header (the `PatchV0EndpointsByIdIpCustomHeader` operationId).
	PatchV0EndpointsByIdIpCustomHeaderWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV0EndpointsByIdIpCustomHeader Creates or updates an IP custom header for a specific endpoint.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v0/endpoints/{id}/ip_custom_header (the `PatchV0EndpointsByIdIpCustomHeader` operationId).
	PatchV0EndpointsByIdIpCustomHeader(ctx context.Context, id string, body PatchV0EndpointsByIdIpCustomHeaderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0EndpointsByIdLogDetails Retrieves detailed request and response information for a specific log entry.
	//
	// Corresponds with GET /v0/endpoints/{id}/log_details (the `GetV0EndpointsByIdLogDetails` operationId).
	GetV0EndpointsByIdLogDetails(ctx context.Context, id string, params *GetV0EndpointsByIdLogDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0EndpointsByIdLogs Retrieves logs for a specific endpoint with filtering and pagination options.
	//
	// Corresponds with GET /v0/endpoints/{id}/logs (the `GetV0EndpointsByIdLogs` operationId).
	GetV0EndpointsByIdLogs(ctx context.Context, id string, params *GetV0EndpointsByIdLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0EndpointsByIdMethodRateLimits Gets method rate limits.
	//
	// Corresponds with GET /v0/endpoints/{id}/method-rate-limits (the `GetV0EndpointsByIdMethodRateLimits` operationId).
	GetV0EndpointsByIdMethodRateLimits(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0EndpointsByIdMethodRateLimitsWithBody Creates a method rate limit.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/endpoints/{id}/method-rate-limits (the `PostV0EndpointsByIdMethodRateLimits` operationId).
	PostV0EndpointsByIdMethodRateLimitsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0EndpointsByIdMethodRateLimits Creates a method rate limit.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/endpoints/{id}/method-rate-limits (the `PostV0EndpointsByIdMethodRateLimits` operationId).
	PostV0EndpointsByIdMethodRateLimits(ctx context.Context, id string, body PostV0EndpointsByIdMethodRateLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitId Deletes a method rate limit.
	//
	// Corresponds with DELETE /v0/endpoints/{id}/method-rate-limits/{method_rate_limit_id} (the `DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitId` operationId).
	DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitId(ctx context.Context, id string, methodRateLimitId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdWithBody Updates a method rate limit.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v0/endpoints/{id}/method-rate-limits/{method_rate_limit_id} (the `PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitId` operationId).
	PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdWithBody(ctx context.Context, id string, methodRateLimitId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitId Updates a method rate limit.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v0/endpoints/{id}/method-rate-limits/{method_rate_limit_id} (the `PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitId` operationId).
	PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitId(ctx context.Context, id string, methodRateLimitId string, body PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0EndpointsByIdMetrics Returns a single metric.
	//
	// Corresponds with GET /v0/endpoints/{id}/metrics (the `GetV0EndpointsByIdMetrics` operationId).
	GetV0EndpointsByIdMetrics(ctx context.Context, id string, params *GetV0EndpointsByIdMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0EndpointsByIdRateLimits Gets endpoint rate limits.
	//
	// Gets endpoint rate limits. The response returns an array with the source for each rate limit, including plan defaults and user-set overrides.
	//
	// Corresponds with GET /v0/endpoints/{id}/rate-limits (the `GetV0EndpointsByIdRateLimits` operationId).
	GetV0EndpointsByIdRateLimits(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV0EndpointsByIdRateLimitsWithBody Updates endpoint rate limits.
	//
	// Updates endpoint rate limits. Only rate limits specified in the payload are updated; omitted rate limits remain unchanged. The response returns the effective endpoint-level limits as a flat limits object.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v0/endpoints/{id}/rate-limits (the `PatchV0EndpointsByIdRateLimits` operationId).
	PatchV0EndpointsByIdRateLimitsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV0EndpointsByIdRateLimits Updates endpoint rate limits.
	//
	// Updates endpoint rate limits. Only rate limits specified in the payload are updated; omitted rate limits remain unchanged. The response returns the effective endpoint-level limits as a flat limits object.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v0/endpoints/{id}/rate-limits (the `PatchV0EndpointsByIdRateLimits` operationId).
	PatchV0EndpointsByIdRateLimits(ctx context.Context, id string, body PatchV0EndpointsByIdRateLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV0EndpointsByIdRateLimitsByOverrideId Deletes a user-set endpoint rate limit by UUID.
	//
	// Corresponds with DELETE /v0/endpoints/{id}/rate-limits/{override_id} (the `DeleteV0EndpointsByIdRateLimitsByOverrideId` operationId).
	DeleteV0EndpointsByIdRateLimitsByOverrideId(ctx context.Context, id string, overrideId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0EndpointsByIdSecurity Returns full security state (tokens, JWTs, IPs, referrers, domain masks, request filters, options) without fetching the
	//
	// Returns full security state (tokens, JWTs, IPs, referrers, domain masks, request filters, options) without fetching the full endpoint.
	//
	// Corresponds with GET /v0/endpoints/{id}/security (the `GetV0EndpointsByIdSecurity` operationId).
	GetV0EndpointsByIdSecurity(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0EndpointsByIdSecurityDomainMasksWithBody Create an endpoint domain mask.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/endpoints/{id}/security/domain_masks (the `PostV0EndpointsByIdSecurityDomainMasks` operationId).
	PostV0EndpointsByIdSecurityDomainMasksWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0EndpointsByIdSecurityDomainMasks Create an endpoint domain mask.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/endpoints/{id}/security/domain_masks (the `PostV0EndpointsByIdSecurityDomainMasks` operationId).
	PostV0EndpointsByIdSecurityDomainMasks(ctx context.Context, id string, body PostV0EndpointsByIdSecurityDomainMasksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskId Deletes an existing endpoint domain mask.
	//
	// Corresponds with DELETE /v0/endpoints/{id}/security/domain_masks/{domain_mask_id} (the `DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskId` operationId).
	DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskId(ctx context.Context, id string, domainMaskId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0EndpointsByIdSecurityIpsWithBody Creates a new endpoint IP.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/endpoints/{id}/security/ips (the `PostV0EndpointsByIdSecurityIps` operationId).
	PostV0EndpointsByIdSecurityIpsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0EndpointsByIdSecurityIps Creates a new endpoint IP.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/endpoints/{id}/security/ips (the `PostV0EndpointsByIdSecurityIps` operationId).
	PostV0EndpointsByIdSecurityIps(ctx context.Context, id string, body PostV0EndpointsByIdSecurityIpsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV0EndpointsByIdSecurityIpsByIpId Deletes an existing endpoint IP.
	//
	// Corresponds with DELETE /v0/endpoints/{id}/security/ips/{ip_id} (the `DeleteV0EndpointsByIdSecurityIpsByIpId` operationId).
	DeleteV0EndpointsByIdSecurityIpsByIpId(ctx context.Context, id string, ipId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0EndpointsByIdSecurityJwtsWithBody Creates a new endpoint JWT.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/endpoints/{id}/security/jwts (the `PostV0EndpointsByIdSecurityJwts` operationId).
	PostV0EndpointsByIdSecurityJwtsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0EndpointsByIdSecurityJwts Creates a new endpoint JWT.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/endpoints/{id}/security/jwts (the `PostV0EndpointsByIdSecurityJwts` operationId).
	PostV0EndpointsByIdSecurityJwts(ctx context.Context, id string, body PostV0EndpointsByIdSecurityJwtsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV0EndpointsByIdSecurityJwtsByJwtId Deletes an existing endpoint JWT.
	//
	// Corresponds with DELETE /v0/endpoints/{id}/security/jwts/{jwt_id} (the `DeleteV0EndpointsByIdSecurityJwtsByJwtId` operationId).
	DeleteV0EndpointsByIdSecurityJwtsByJwtId(ctx context.Context, id string, jwtId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0EndpointsByIdSecurityReferrersWithBody Creates a new endpoint referrer.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/endpoints/{id}/security/referrers (the `PostV0EndpointsByIdSecurityReferrers` operationId).
	PostV0EndpointsByIdSecurityReferrersWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0EndpointsByIdSecurityReferrers Creates a new endpoint referrer.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/endpoints/{id}/security/referrers (the `PostV0EndpointsByIdSecurityReferrers` operationId).
	PostV0EndpointsByIdSecurityReferrers(ctx context.Context, id string, body PostV0EndpointsByIdSecurityReferrersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV0EndpointsByIdSecurityReferrersByReferrerId Deletes an existing endpoint referrer.
	//
	// Corresponds with DELETE /v0/endpoints/{id}/security/referrers/{referrer_id} (the `DeleteV0EndpointsByIdSecurityReferrersByReferrerId` operationId).
	DeleteV0EndpointsByIdSecurityReferrersByReferrerId(ctx context.Context, id string, referrerId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0EndpointsByIdSecurityRequestFiltersWithBody Creates a new endpoint request filter for method whitelisting.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/endpoints/{id}/security/request_filters (the `PostV0EndpointsByIdSecurityRequestFilters` operationId).
	PostV0EndpointsByIdSecurityRequestFiltersWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0EndpointsByIdSecurityRequestFilters Creates a new endpoint request filter for method whitelisting.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/endpoints/{id}/security/request_filters (the `PostV0EndpointsByIdSecurityRequestFilters` operationId).
	PostV0EndpointsByIdSecurityRequestFilters(ctx context.Context, id string, body PostV0EndpointsByIdSecurityRequestFiltersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterId Deletes an existing endpoint request filter.
	//
	// Corresponds with DELETE /v0/endpoints/{id}/security/request_filters/{request_filter_id} (the `DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterId` operationId).
	DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterId(ctx context.Context, id string, requestFilterId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdWithBody Updates an existing endpoint request filter.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /v0/endpoints/{id}/security/request_filters/{request_filter_id} (the `PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterId` operationId).
	PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdWithBody(ctx context.Context, id string, requestFilterId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterId Updates an existing endpoint request filter.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /v0/endpoints/{id}/security/request_filters/{request_filter_id} (the `PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterId` operationId).
	PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterId(ctx context.Context, id string, requestFilterId string, body PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0EndpointsByIdSecurityTokens Creates a new endpoint authentication token.
	//
	// Corresponds with POST /v0/endpoints/{id}/security/tokens (the `PostV0EndpointsByIdSecurityTokens` operationId).
	PostV0EndpointsByIdSecurityTokens(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV0EndpointsByIdSecurityTokensByTokenId Deletes an existing endpoint token.
	//
	// Corresponds with DELETE /v0/endpoints/{id}/security/tokens/{token_id} (the `DeleteV0EndpointsByIdSecurityTokensByTokenId` operationId).
	DeleteV0EndpointsByIdSecurityTokensByTokenId(ctx context.Context, id string, tokenId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0EndpointsByIdSecurityOptions Gets security options for an endpoint.
	//
	// Corresponds with GET /v0/endpoints/{id}/security_options (the `GetV0EndpointsByIdSecurityOptions` operationId).
	GetV0EndpointsByIdSecurityOptions(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV0EndpointsByIdSecurityOptionsWithBody Updates security options for an endpoint.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v0/endpoints/{id}/security_options (the `PatchV0EndpointsByIdSecurityOptions` operationId).
	PatchV0EndpointsByIdSecurityOptionsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV0EndpointsByIdSecurityOptions Updates security options for an endpoint.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v0/endpoints/{id}/security_options (the `PatchV0EndpointsByIdSecurityOptions` operationId).
	PatchV0EndpointsByIdSecurityOptions(ctx context.Context, id string, body PatchV0EndpointsByIdSecurityOptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV0EndpointsByIdStatusWithBody Pauses or unpauses a specific endpoint by updating its status to either 'active' or 'paused'
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v0/endpoints/{id}/status (the `PatchV0EndpointsByIdStatus` operationId).
	PatchV0EndpointsByIdStatusWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV0EndpointsByIdStatus Pauses or unpauses a specific endpoint by updating its status to either 'active' or 'paused'
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v0/endpoints/{id}/status (the `PatchV0EndpointsByIdStatus` operationId).
	PatchV0EndpointsByIdStatus(ctx context.Context, id string, body PatchV0EndpointsByIdStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0EndpointsByIdTags Returns all tags for a specific endpoint.
	//
	// Corresponds with GET /v0/endpoints/{id}/tags (the `GetV0EndpointsByIdTags` operationId).
	GetV0EndpointsByIdTags(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0EndpointsByIdTagsWithBody Creates a new tag for a specific endpoint.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/endpoints/{id}/tags (the `PostV0EndpointsByIdTags` operationId).
	PostV0EndpointsByIdTagsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0EndpointsByIdTags Creates a new tag for a specific endpoint.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/endpoints/{id}/tags (the `PostV0EndpointsByIdTags` operationId).
	PostV0EndpointsByIdTags(ctx context.Context, id string, body PostV0EndpointsByIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV0EndpointsByIdTagsByTagId Deletes a tag from a specific endpoint.
	//
	// Corresponds with DELETE /v0/endpoints/{id}/tags/{tag_id} (the `DeleteV0EndpointsByIdTagsByTagId` operationId).
	DeleteV0EndpointsByIdTagsByTagId(ctx context.Context, id string, tagId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0EndpointsByIdUrls Returns the URLs for a specific endpoint.
	//
	// Returns the URLs for a specific endpoint. For multichain endpoints, the response also includes a `multichain_urls` map with the URLs for every supported network.
	//
	// Corresponds with GET /v0/endpoints/{id}/urls (the `GetV0EndpointsByIdUrls` operationId).
	GetV0EndpointsByIdUrls(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0Metrics Fetches metrics aggregated across all endpoints for an account.
	//
	// Corresponds with GET /v0/metrics (the `GetV0Metrics` operationId).
	GetV0Metrics(ctx context.Context, params *GetV0MetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0Teams Retrieves a list of all teams.
	//
	// Corresponds with GET /v0/teams (the `GetV0Teams` operationId).
	GetV0Teams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0TeamsWithBody Creates a new team.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/teams (the `PostV0Teams` operationId).
	PostV0TeamsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0Teams Creates a new team.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/teams (the `PostV0Teams` operationId).
	PostV0Teams(ctx context.Context, body PostV0TeamsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV0TeamsById Deletes an empty team.
	//
	// Deletes an empty team. The team must have no members before it can be deleted.
	//
	// Corresponds with DELETE /v0/teams/{id} (the `DeleteV0TeamsById` operationId).
	DeleteV0TeamsById(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0TeamsById Retrieves details for a specific team.
	//
	// Corresponds with GET /v0/teams/{id} (the `GetV0TeamsById` operationId).
	GetV0TeamsById(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0TeamsByIdEndpoints Retrieves a list of endpoints accessible to a team.
	//
	// Corresponds with GET /v0/teams/{id}/endpoints (the `GetV0TeamsByIdEndpoints` operationId).
	GetV0TeamsByIdEndpoints(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV0TeamsByIdEndpointsWithBody Assigns or unassigns endpoints to a team.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v0/teams/{id}/endpoints (the `PatchV0TeamsByIdEndpoints` operationId).
	PatchV0TeamsByIdEndpointsWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV0TeamsByIdEndpoints Assigns or unassigns endpoints to a team.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v0/teams/{id}/endpoints (the `PatchV0TeamsByIdEndpoints` operationId).
	PatchV0TeamsByIdEndpoints(ctx context.Context, id int, body PatchV0TeamsByIdEndpointsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0TeamsByIdMembersWithBody Invites a user to a team.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/teams/{id}/members (the `PostV0TeamsByIdMembers` operationId).
	PostV0TeamsByIdMembersWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0TeamsByIdMembers Invites a user to a team.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/teams/{id}/members (the `PostV0TeamsByIdMembers` operationId).
	PostV0TeamsByIdMembers(ctx context.Context, id int, body PostV0TeamsByIdMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV0TeamsByIdMembersByUserId Removes a user from a team.
	//
	// Corresponds with DELETE /v0/teams/{id}/members/{user_id} (the `DeleteV0TeamsByIdMembersByUserId` operationId).
	DeleteV0TeamsByIdMembersByUserId(ctx context.Context, id int, userId int, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0TeamsByIdMembersByUserIdResendInvite Resends an invitation email to a pending team member.
	//
	// Corresponds with POST /v0/teams/{id}/members/{user_id}/resend_invite (the `PostV0TeamsByIdMembersByUserIdResendInvite` operationId).
	PostV0TeamsByIdMembersByUserIdResendInvite(ctx context.Context, id int, userId int, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0ToolingAccess Returns whether Tooling Access is enabled for the account.
	//
	// Corresponds with GET /v0/tooling-access (the `GetV0ToolingAccess` operationId).
	GetV0ToolingAccess(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV0ToolingAccessWithBody Enable (provision/reactivate) or disable Tooling Access for the account.
	//
	// Enable (provision/reactivate) or disable Tooling Access for the account. Enabling is idempotent and requires an admin role.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v0/tooling-access (the `PatchV0ToolingAccess` operationId).
	PatchV0ToolingAccessWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV0ToolingAccess Enable (provision/reactivate) or disable Tooling Access for the account.
	//
	// Enable (provision/reactivate) or disable Tooling Access for the account. Enabling is idempotent and requires an admin role.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v0/tooling-access (the `PatchV0ToolingAccess` operationId).
	PatchV0ToolingAccess(ctx context.Context, body PatchV0ToolingAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV0ToolingAccessToken Mints a short-lived ES256 JWT for authenticating data-plane RPC calls.
	//
	// Mints a short-lived ES256 JWT for authenticating data-plane RPC calls. Requires Tooling Access to be enabled first.
	//
	// Corresponds with POST /v0/tooling-access/token (the `PostV0ToolingAccessToken` operationId).
	PostV0ToolingAccessToken(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0UsageRpc Retrieves usage total for specified time range.
	//
	// Corresponds with GET /v0/usage/rpc (the `GetV0UsageRpc` operationId).
	GetV0UsageRpc(ctx context.Context, params *GetV0UsageRpcParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0UsageRpcByChain Retrieves usage data by chain.
	//
	// Corresponds with GET /v0/usage/rpc/by-chain (the `GetV0UsageRpcByChain` operationId).
	GetV0UsageRpcByChain(ctx context.Context, params *GetV0UsageRpcByChainParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0UsageRpcByEndpoint Retrieves usage data by endpoint.
	//
	// Corresponds with GET /v0/usage/rpc/by-endpoint (the `GetV0UsageRpcByEndpoint` operationId).
	GetV0UsageRpcByEndpoint(ctx context.Context, params *GetV0UsageRpcByEndpointParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0UsageRpcByMethod Retrieves usage data by method.
	//
	// Corresponds with GET /v0/usage/rpc/by-method (the `GetV0UsageRpcByMethod` operationId).
	GetV0UsageRpcByMethod(ctx context.Context, params *GetV0UsageRpcByMethodParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV0UsageRpcByTag Retrieves usage data grouped by tag.
	//
	// Retrieves usage data grouped by tag. Includes an untagged bucket for endpoints with no tags.
	//
	// Corresponds with GET /v0/usage/rpc/by-tag (the `GetV0UsageRpcByTag` operationId).
	GetV0UsageRpcByTag(ctx context.Context, params *GetV0UsageRpcByTagParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

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) DeleteV0EndpointsBulkTagsWithBodyWithResponse

func (c *ClientWithResponses) DeleteV0EndpointsBulkTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsBulkTagsResponse, error)

DeleteV0EndpointsBulkTagsWithBodyWithResponse Remove a tag from multiple endpoints in a single call.

Remove a tag from multiple endpoints in a single call. Admin-only.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/endpoints/bulk/tags (the `DeleteV0EndpointsBulkTags` operationId).

func (*ClientWithResponses) DeleteV0EndpointsBulkTagsWithResponse

func (c *ClientWithResponses) DeleteV0EndpointsBulkTagsWithResponse(ctx context.Context, body DeleteV0EndpointsBulkTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsBulkTagsResponse, error)

DeleteV0EndpointsBulkTagsWithResponse Remove a tag from multiple endpoints in a single call.

Remove a tag from multiple endpoints in a single call. Admin-only.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/endpoints/bulk/tags (the `DeleteV0EndpointsBulkTags` operationId).

func (*ClientWithResponses) DeleteV0EndpointsByIdIpCustomHeaderWithResponse

func (c *ClientWithResponses) DeleteV0EndpointsByIdIpCustomHeaderWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsByIdIpCustomHeaderResponse, error)

DeleteV0EndpointsByIdIpCustomHeaderWithResponse Deletes the IP custom header for a specific endpoint.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/endpoints/{id}/ip_custom_header (the `DeleteV0EndpointsByIdIpCustomHeader` operationId).

func (*ClientWithResponses) DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdWithResponse

func (c *ClientWithResponses) DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdWithResponse(ctx context.Context, id string, methodRateLimitId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse, error)

DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdWithResponse Deletes a method rate limit.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/endpoints/{id}/method-rate-limits/{method_rate_limit_id} (the `DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitId` operationId).

func (*ClientWithResponses) DeleteV0EndpointsByIdRateLimitsByOverrideIdWithResponse

func (c *ClientWithResponses) DeleteV0EndpointsByIdRateLimitsByOverrideIdWithResponse(ctx context.Context, id string, overrideId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsByIdRateLimitsByOverrideIdResponse, error)

DeleteV0EndpointsByIdRateLimitsByOverrideIdWithResponse Deletes a user-set endpoint rate limit by UUID.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/endpoints/{id}/rate-limits/{override_id} (the `DeleteV0EndpointsByIdRateLimitsByOverrideId` operationId).

func (*ClientWithResponses) DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdWithResponse

func (c *ClientWithResponses) DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdWithResponse(ctx context.Context, id string, domainMaskId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdResponse, error)

DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdWithResponse Deletes an existing endpoint domain mask.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/endpoints/{id}/security/domain_masks/{domain_mask_id} (the `DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskId` operationId).

func (*ClientWithResponses) DeleteV0EndpointsByIdSecurityIpsByIpIdWithResponse

func (c *ClientWithResponses) DeleteV0EndpointsByIdSecurityIpsByIpIdWithResponse(ctx context.Context, id string, ipId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsByIdSecurityIpsByIpIdResponse, error)

DeleteV0EndpointsByIdSecurityIpsByIpIdWithResponse Deletes an existing endpoint IP.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/endpoints/{id}/security/ips/{ip_id} (the `DeleteV0EndpointsByIdSecurityIpsByIpId` operationId).

func (*ClientWithResponses) DeleteV0EndpointsByIdSecurityJwtsByJwtIdWithResponse

func (c *ClientWithResponses) DeleteV0EndpointsByIdSecurityJwtsByJwtIdWithResponse(ctx context.Context, id string, jwtId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsByIdSecurityJwtsByJwtIdResponse, error)

DeleteV0EndpointsByIdSecurityJwtsByJwtIdWithResponse Deletes an existing endpoint JWT.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/endpoints/{id}/security/jwts/{jwt_id} (the `DeleteV0EndpointsByIdSecurityJwtsByJwtId` operationId).

func (*ClientWithResponses) DeleteV0EndpointsByIdSecurityReferrersByReferrerIdWithResponse

func (c *ClientWithResponses) DeleteV0EndpointsByIdSecurityReferrersByReferrerIdWithResponse(ctx context.Context, id string, referrerId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsByIdSecurityReferrersByReferrerIdResponse, error)

DeleteV0EndpointsByIdSecurityReferrersByReferrerIdWithResponse Deletes an existing endpoint referrer.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/endpoints/{id}/security/referrers/{referrer_id} (the `DeleteV0EndpointsByIdSecurityReferrersByReferrerId` operationId).

func (*ClientWithResponses) DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdWithResponse

func (c *ClientWithResponses) DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdWithResponse(ctx context.Context, id string, requestFilterId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse, error)

DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdWithResponse Deletes an existing endpoint request filter.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/endpoints/{id}/security/request_filters/{request_filter_id} (the `DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterId` operationId).

func (*ClientWithResponses) DeleteV0EndpointsByIdSecurityTokensByTokenIdWithResponse

func (c *ClientWithResponses) DeleteV0EndpointsByIdSecurityTokensByTokenIdWithResponse(ctx context.Context, id string, tokenId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsByIdSecurityTokensByTokenIdResponse, error)

DeleteV0EndpointsByIdSecurityTokensByTokenIdWithResponse Deletes an existing endpoint token.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/endpoints/{id}/security/tokens/{token_id} (the `DeleteV0EndpointsByIdSecurityTokensByTokenId` operationId).

func (*ClientWithResponses) DeleteV0EndpointsByIdTagsByTagIdWithResponse

func (c *ClientWithResponses) DeleteV0EndpointsByIdTagsByTagIdWithResponse(ctx context.Context, id string, tagId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsByIdTagsByTagIdResponse, error)

DeleteV0EndpointsByIdTagsByTagIdWithResponse Deletes a tag from a specific endpoint.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/endpoints/{id}/tags/{tag_id} (the `DeleteV0EndpointsByIdTagsByTagId` operationId).

func (*ClientWithResponses) DeleteV0EndpointsByIdWithResponse

func (c *ClientWithResponses) DeleteV0EndpointsByIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsByIdResponse, error)

DeleteV0EndpointsByIdWithResponse Deletes an endpoint.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/endpoints/{id} (the `DeleteV0EndpointsById` operationId).

func (*ClientWithResponses) DeleteV0EndpointsTagsByIdWithResponse

func (c *ClientWithResponses) DeleteV0EndpointsTagsByIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsTagsByIdResponse, error)

DeleteV0EndpointsTagsByIdWithResponse Deletes an account tag.

Deletes an account tag. The tag must be removed from all endpoints before it can be deleted. Admin-only.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/endpoints/tags/{id} (the `DeleteV0EndpointsTagsById` operationId).

func (*ClientWithResponses) DeleteV0TeamsByIdMembersByUserIdWithResponse

func (c *ClientWithResponses) DeleteV0TeamsByIdMembersByUserIdWithResponse(ctx context.Context, id int, userId int, reqEditors ...RequestEditorFn) (*DeleteV0TeamsByIdMembersByUserIdResponse, error)

DeleteV0TeamsByIdMembersByUserIdWithResponse Removes a user from a team.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/teams/{id}/members/{user_id} (the `DeleteV0TeamsByIdMembersByUserId` operationId).

func (*ClientWithResponses) DeleteV0TeamsByIdWithResponse

func (c *ClientWithResponses) DeleteV0TeamsByIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DeleteV0TeamsByIdResponse, error)

DeleteV0TeamsByIdWithResponse Deletes an empty team.

Deletes an empty team. The team must have no members before it can be deleted.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/teams/{id} (the `DeleteV0TeamsById` operationId).

func (*ClientWithResponses) GetV0AccountInfoWithResponse

func (c *ClientWithResponses) GetV0AccountInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV0AccountInfoResponse, error)

GetV0AccountInfoWithResponse Returns information about the account associated with the API key.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/account/info (the `GetV0AccountInfo` operationId).

func (*ClientWithResponses) GetV0ApiCreditsByChainWithResponse

func (c *ClientWithResponses) GetV0ApiCreditsByChainWithResponse(ctx context.Context, chain string, reqEditors ...RequestEditorFn) (*GetV0ApiCreditsByChainResponse, error)

GetV0ApiCreditsByChainWithResponse Returns the API credit cost of each RPC method available on a chain.

Returns the API credit cost of each RPC method available on a chain. Credit costs are calculated using the account's billing version.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/api-credits/{chain} (the `GetV0ApiCreditsByChain` operationId).

func (*ClientWithResponses) GetV0BillingInvoicesWithResponse

func (c *ClientWithResponses) GetV0BillingInvoicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV0BillingInvoicesResponse, error)

GetV0BillingInvoicesWithResponse Returns a list of invoices

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/billing/invoices (the `GetV0BillingInvoices` operationId).

func (*ClientWithResponses) GetV0BillingPaymentsWithResponse

func (c *ClientWithResponses) GetV0BillingPaymentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV0BillingPaymentsResponse, error)

GetV0BillingPaymentsWithResponse Returns a list of payments.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/billing/payments (the `GetV0BillingPayments` operationId).

func (*ClientWithResponses) GetV0ChainsWithResponse

func (c *ClientWithResponses) GetV0ChainsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV0ChainsResponse, error)

GetV0ChainsWithResponse Returns a list of chains.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/chains (the `GetV0Chains` operationId).

func (*ClientWithResponses) GetV0EndpointsByIdLogDetailsWithResponse

func (c *ClientWithResponses) GetV0EndpointsByIdLogDetailsWithResponse(ctx context.Context, id string, params *GetV0EndpointsByIdLogDetailsParams, reqEditors ...RequestEditorFn) (*GetV0EndpointsByIdLogDetailsResponse, error)

GetV0EndpointsByIdLogDetailsWithResponse Retrieves detailed request and response information for a specific log entry.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/endpoints/{id}/log_details (the `GetV0EndpointsByIdLogDetails` operationId).

func (*ClientWithResponses) GetV0EndpointsByIdLogsWithResponse

func (c *ClientWithResponses) GetV0EndpointsByIdLogsWithResponse(ctx context.Context, id string, params *GetV0EndpointsByIdLogsParams, reqEditors ...RequestEditorFn) (*GetV0EndpointsByIdLogsResponse, error)

GetV0EndpointsByIdLogsWithResponse Retrieves logs for a specific endpoint with filtering and pagination options.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/endpoints/{id}/logs (the `GetV0EndpointsByIdLogs` operationId).

func (*ClientWithResponses) GetV0EndpointsByIdMethodRateLimitsWithResponse

func (c *ClientWithResponses) GetV0EndpointsByIdMethodRateLimitsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV0EndpointsByIdMethodRateLimitsResponse, error)

GetV0EndpointsByIdMethodRateLimitsWithResponse Gets method rate limits.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/endpoints/{id}/method-rate-limits (the `GetV0EndpointsByIdMethodRateLimits` operationId).

func (*ClientWithResponses) GetV0EndpointsByIdMetricsWithResponse

func (c *ClientWithResponses) GetV0EndpointsByIdMetricsWithResponse(ctx context.Context, id string, params *GetV0EndpointsByIdMetricsParams, reqEditors ...RequestEditorFn) (*GetV0EndpointsByIdMetricsResponse, error)

GetV0EndpointsByIdMetricsWithResponse Returns a single metric.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/endpoints/{id}/metrics (the `GetV0EndpointsByIdMetrics` operationId).

func (*ClientWithResponses) GetV0EndpointsByIdRateLimitsWithResponse

func (c *ClientWithResponses) GetV0EndpointsByIdRateLimitsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV0EndpointsByIdRateLimitsResponse, error)

GetV0EndpointsByIdRateLimitsWithResponse Gets endpoint rate limits.

Gets endpoint rate limits. The response returns an array with the source for each rate limit, including plan defaults and user-set overrides.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/endpoints/{id}/rate-limits (the `GetV0EndpointsByIdRateLimits` operationId).

func (*ClientWithResponses) GetV0EndpointsByIdSecurityOptionsWithResponse

func (c *ClientWithResponses) GetV0EndpointsByIdSecurityOptionsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV0EndpointsByIdSecurityOptionsResponse, error)

GetV0EndpointsByIdSecurityOptionsWithResponse Gets security options for an endpoint.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/endpoints/{id}/security_options (the `GetV0EndpointsByIdSecurityOptions` operationId).

func (*ClientWithResponses) GetV0EndpointsByIdSecurityWithResponse

func (c *ClientWithResponses) GetV0EndpointsByIdSecurityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV0EndpointsByIdSecurityResponse, error)

GetV0EndpointsByIdSecurityWithResponse Returns full security state (tokens, JWTs, IPs, referrers, domain masks, request filters, options) without fetching the

Returns full security state (tokens, JWTs, IPs, referrers, domain masks, request filters, options) without fetching the full endpoint.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/endpoints/{id}/security (the `GetV0EndpointsByIdSecurity` operationId).

func (*ClientWithResponses) GetV0EndpointsByIdTagsWithResponse

func (c *ClientWithResponses) GetV0EndpointsByIdTagsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV0EndpointsByIdTagsResponse, error)

GetV0EndpointsByIdTagsWithResponse Returns all tags for a specific endpoint.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/endpoints/{id}/tags (the `GetV0EndpointsByIdTags` operationId).

func (*ClientWithResponses) GetV0EndpointsByIdUrlsWithResponse

func (c *ClientWithResponses) GetV0EndpointsByIdUrlsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV0EndpointsByIdUrlsResponse, error)

GetV0EndpointsByIdUrlsWithResponse Returns the URLs for a specific endpoint.

Returns the URLs for a specific endpoint. For multichain endpoints, the response also includes a `multichain_urls` map with the URLs for every supported network.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/endpoints/{id}/urls (the `GetV0EndpointsByIdUrls` operationId).

func (*ClientWithResponses) GetV0EndpointsByIdWithResponse

func (c *ClientWithResponses) GetV0EndpointsByIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV0EndpointsByIdResponse, error)

GetV0EndpointsByIdWithResponse Returns info for a specific endpoint.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/endpoints/{id} (the `GetV0EndpointsById` operationId).

func (*ClientWithResponses) GetV0EndpointsTagsWithResponse

func (c *ClientWithResponses) GetV0EndpointsTagsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV0EndpointsTagsResponse, error)

GetV0EndpointsTagsWithResponse Returns all account-level tags including those with zero endpoints.

Returns all account-level tags including those with zero endpoints. Gated at Build/Growth+.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/endpoints/tags (the `GetV0EndpointsTags` operationId).

func (*ClientWithResponses) GetV0EndpointsWithResponse

func (c *ClientWithResponses) GetV0EndpointsWithResponse(ctx context.Context, params *GetV0EndpointsParams, reqEditors ...RequestEditorFn) (*GetV0EndpointsResponse, error)

GetV0EndpointsWithResponse Retrieves a list of endpoints.

Retrieves a list of endpoints. Supports searching, filtering, and sorting.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/endpoints (the `GetV0Endpoints` operationId).

func (*ClientWithResponses) GetV0MetricsWithResponse

func (c *ClientWithResponses) GetV0MetricsWithResponse(ctx context.Context, params *GetV0MetricsParams, reqEditors ...RequestEditorFn) (*GetV0MetricsResponse, error)

GetV0MetricsWithResponse Fetches metrics aggregated across all endpoints for an account.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/metrics (the `GetV0Metrics` operationId).

func (*ClientWithResponses) GetV0TeamsByIdEndpointsWithResponse

func (c *ClientWithResponses) GetV0TeamsByIdEndpointsWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetV0TeamsByIdEndpointsResponse, error)

GetV0TeamsByIdEndpointsWithResponse Retrieves a list of endpoints accessible to a team.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/teams/{id}/endpoints (the `GetV0TeamsByIdEndpoints` operationId).

func (*ClientWithResponses) GetV0TeamsByIdWithResponse

func (c *ClientWithResponses) GetV0TeamsByIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetV0TeamsByIdResponse, error)

GetV0TeamsByIdWithResponse Retrieves details for a specific team.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/teams/{id} (the `GetV0TeamsById` operationId).

func (*ClientWithResponses) GetV0TeamsWithResponse

func (c *ClientWithResponses) GetV0TeamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV0TeamsResponse, error)

GetV0TeamsWithResponse Retrieves a list of all teams.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/teams (the `GetV0Teams` operationId).

func (*ClientWithResponses) GetV0ToolingAccessWithResponse

func (c *ClientWithResponses) GetV0ToolingAccessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV0ToolingAccessResponse, error)

GetV0ToolingAccessWithResponse Returns whether Tooling Access is enabled for the account.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/tooling-access (the `GetV0ToolingAccess` operationId).

func (*ClientWithResponses) GetV0UsageRpcByChainWithResponse

func (c *ClientWithResponses) GetV0UsageRpcByChainWithResponse(ctx context.Context, params *GetV0UsageRpcByChainParams, reqEditors ...RequestEditorFn) (*GetV0UsageRpcByChainResponse, error)

GetV0UsageRpcByChainWithResponse Retrieves usage data by chain.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/usage/rpc/by-chain (the `GetV0UsageRpcByChain` operationId).

func (*ClientWithResponses) GetV0UsageRpcByEndpointWithResponse

func (c *ClientWithResponses) GetV0UsageRpcByEndpointWithResponse(ctx context.Context, params *GetV0UsageRpcByEndpointParams, reqEditors ...RequestEditorFn) (*GetV0UsageRpcByEndpointResponse, error)

GetV0UsageRpcByEndpointWithResponse Retrieves usage data by endpoint.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/usage/rpc/by-endpoint (the `GetV0UsageRpcByEndpoint` operationId).

func (*ClientWithResponses) GetV0UsageRpcByMethodWithResponse

func (c *ClientWithResponses) GetV0UsageRpcByMethodWithResponse(ctx context.Context, params *GetV0UsageRpcByMethodParams, reqEditors ...RequestEditorFn) (*GetV0UsageRpcByMethodResponse, error)

GetV0UsageRpcByMethodWithResponse Retrieves usage data by method.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/usage/rpc/by-method (the `GetV0UsageRpcByMethod` operationId).

func (*ClientWithResponses) GetV0UsageRpcByTagWithResponse

func (c *ClientWithResponses) GetV0UsageRpcByTagWithResponse(ctx context.Context, params *GetV0UsageRpcByTagParams, reqEditors ...RequestEditorFn) (*GetV0UsageRpcByTagResponse, error)

GetV0UsageRpcByTagWithResponse Retrieves usage data grouped by tag.

Retrieves usage data grouped by tag. Includes an untagged bucket for endpoints with no tags.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/usage/rpc/by-tag (the `GetV0UsageRpcByTag` operationId).

func (*ClientWithResponses) GetV0UsageRpcWithResponse

func (c *ClientWithResponses) GetV0UsageRpcWithResponse(ctx context.Context, params *GetV0UsageRpcParams, reqEditors ...RequestEditorFn) (*GetV0UsageRpcResponse, error)

GetV0UsageRpcWithResponse Retrieves usage total for specified time range.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/usage/rpc (the `GetV0UsageRpc` operationId).

func (*ClientWithResponses) PatchV0EndpointsByIdIpCustomHeaderWithBodyWithResponse

func (c *ClientWithResponses) PatchV0EndpointsByIdIpCustomHeaderWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdIpCustomHeaderResponse, error)

PatchV0EndpointsByIdIpCustomHeaderWithBodyWithResponse Creates or updates an IP custom header for a specific endpoint.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/endpoints/{id}/ip_custom_header (the `PatchV0EndpointsByIdIpCustomHeader` operationId).

func (*ClientWithResponses) PatchV0EndpointsByIdIpCustomHeaderWithResponse

func (c *ClientWithResponses) PatchV0EndpointsByIdIpCustomHeaderWithResponse(ctx context.Context, id string, body PatchV0EndpointsByIdIpCustomHeaderJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdIpCustomHeaderResponse, error)

PatchV0EndpointsByIdIpCustomHeaderWithResponse Creates or updates an IP custom header for a specific endpoint.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/endpoints/{id}/ip_custom_header (the `PatchV0EndpointsByIdIpCustomHeader` operationId).

func (*ClientWithResponses) PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdWithBodyWithResponse

func (c *ClientWithResponses) PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdWithBodyWithResponse(ctx context.Context, id string, methodRateLimitId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse, error)

PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdWithBodyWithResponse Updates a method rate limit.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/endpoints/{id}/method-rate-limits/{method_rate_limit_id} (the `PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitId` operationId).

func (*ClientWithResponses) PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdWithResponse

func (c *ClientWithResponses) PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdWithResponse(ctx context.Context, id string, methodRateLimitId string, body PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse, error)

PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdWithResponse Updates a method rate limit.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/endpoints/{id}/method-rate-limits/{method_rate_limit_id} (the `PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitId` operationId).

func (*ClientWithResponses) PatchV0EndpointsByIdRateLimitsWithBodyWithResponse

func (c *ClientWithResponses) PatchV0EndpointsByIdRateLimitsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdRateLimitsResponse, error)

PatchV0EndpointsByIdRateLimitsWithBodyWithResponse Updates endpoint rate limits.

Updates endpoint rate limits. Only rate limits specified in the payload are updated; omitted rate limits remain unchanged. The response returns the effective endpoint-level limits as a flat limits object.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/endpoints/{id}/rate-limits (the `PatchV0EndpointsByIdRateLimits` operationId).

func (*ClientWithResponses) PatchV0EndpointsByIdRateLimitsWithResponse

func (c *ClientWithResponses) PatchV0EndpointsByIdRateLimitsWithResponse(ctx context.Context, id string, body PatchV0EndpointsByIdRateLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdRateLimitsResponse, error)

PatchV0EndpointsByIdRateLimitsWithResponse Updates endpoint rate limits.

Updates endpoint rate limits. Only rate limits specified in the payload are updated; omitted rate limits remain unchanged. The response returns the effective endpoint-level limits as a flat limits object.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/endpoints/{id}/rate-limits (the `PatchV0EndpointsByIdRateLimits` operationId).

func (*ClientWithResponses) PatchV0EndpointsByIdSecurityOptionsWithBodyWithResponse

func (c *ClientWithResponses) PatchV0EndpointsByIdSecurityOptionsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdSecurityOptionsResponse, error)

PatchV0EndpointsByIdSecurityOptionsWithBodyWithResponse Updates security options for an endpoint.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/endpoints/{id}/security_options (the `PatchV0EndpointsByIdSecurityOptions` operationId).

func (*ClientWithResponses) PatchV0EndpointsByIdSecurityOptionsWithResponse

PatchV0EndpointsByIdSecurityOptionsWithResponse Updates security options for an endpoint.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/endpoints/{id}/security_options (the `PatchV0EndpointsByIdSecurityOptions` operationId).

func (*ClientWithResponses) PatchV0EndpointsByIdStatusWithBodyWithResponse

func (c *ClientWithResponses) PatchV0EndpointsByIdStatusWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdStatusResponse, error)

PatchV0EndpointsByIdStatusWithBodyWithResponse Pauses or unpauses a specific endpoint by updating its status to either 'active' or 'paused'

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/endpoints/{id}/status (the `PatchV0EndpointsByIdStatus` operationId).

func (*ClientWithResponses) PatchV0EndpointsByIdStatusWithResponse

func (c *ClientWithResponses) PatchV0EndpointsByIdStatusWithResponse(ctx context.Context, id string, body PatchV0EndpointsByIdStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdStatusResponse, error)

PatchV0EndpointsByIdStatusWithResponse Pauses or unpauses a specific endpoint by updating its status to either 'active' or 'paused'

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/endpoints/{id}/status (the `PatchV0EndpointsByIdStatus` operationId).

func (*ClientWithResponses) PatchV0EndpointsByIdWithBodyWithResponse

func (c *ClientWithResponses) PatchV0EndpointsByIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdResponse, error)

PatchV0EndpointsByIdWithBodyWithResponse Updates an endpoint.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/endpoints/{id} (the `PatchV0EndpointsById` operationId).

func (*ClientWithResponses) PatchV0EndpointsByIdWithResponse

func (c *ClientWithResponses) PatchV0EndpointsByIdWithResponse(ctx context.Context, id string, body PatchV0EndpointsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdResponse, error)

PatchV0EndpointsByIdWithResponse Updates an endpoint.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/endpoints/{id} (the `PatchV0EndpointsById` operationId).

func (*ClientWithResponses) PatchV0EndpointsTagsByIdWithBodyWithResponse

func (c *ClientWithResponses) PatchV0EndpointsTagsByIdWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV0EndpointsTagsByIdResponse, error)

PatchV0EndpointsTagsByIdWithBodyWithResponse Renames an account tag.

Renames an account tag. Because the tag is shared across endpoints, all associated endpoints reflect the new label immediately. Admin-only.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/endpoints/tags/{id} (the `PatchV0EndpointsTagsById` operationId).

func (*ClientWithResponses) PatchV0EndpointsTagsByIdWithResponse

func (c *ClientWithResponses) PatchV0EndpointsTagsByIdWithResponse(ctx context.Context, id int, body PatchV0EndpointsTagsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV0EndpointsTagsByIdResponse, error)

PatchV0EndpointsTagsByIdWithResponse Renames an account tag.

Renames an account tag. Because the tag is shared across endpoints, all associated endpoints reflect the new label immediately. Admin-only.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/endpoints/tags/{id} (the `PatchV0EndpointsTagsById` operationId).

func (*ClientWithResponses) PatchV0TeamsByIdEndpointsWithBodyWithResponse

func (c *ClientWithResponses) PatchV0TeamsByIdEndpointsWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV0TeamsByIdEndpointsResponse, error)

PatchV0TeamsByIdEndpointsWithBodyWithResponse Assigns or unassigns endpoints to a team.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/teams/{id}/endpoints (the `PatchV0TeamsByIdEndpoints` operationId).

func (*ClientWithResponses) PatchV0TeamsByIdEndpointsWithResponse

func (c *ClientWithResponses) PatchV0TeamsByIdEndpointsWithResponse(ctx context.Context, id int, body PatchV0TeamsByIdEndpointsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV0TeamsByIdEndpointsResponse, error)

PatchV0TeamsByIdEndpointsWithResponse Assigns or unassigns endpoints to a team.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/teams/{id}/endpoints (the `PatchV0TeamsByIdEndpoints` operationId).

func (*ClientWithResponses) PatchV0ToolingAccessWithBodyWithResponse

func (c *ClientWithResponses) PatchV0ToolingAccessWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV0ToolingAccessResponse, error)

PatchV0ToolingAccessWithBodyWithResponse Enable (provision/reactivate) or disable Tooling Access for the account.

Enable (provision/reactivate) or disable Tooling Access for the account. Enabling is idempotent and requires an admin role.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/tooling-access (the `PatchV0ToolingAccess` operationId).

func (*ClientWithResponses) PatchV0ToolingAccessWithResponse

func (c *ClientWithResponses) PatchV0ToolingAccessWithResponse(ctx context.Context, body PatchV0ToolingAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV0ToolingAccessResponse, error)

PatchV0ToolingAccessWithResponse Enable (provision/reactivate) or disable Tooling Access for the account.

Enable (provision/reactivate) or disable Tooling Access for the account. Enabling is idempotent and requires an admin role.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/tooling-access (the `PatchV0ToolingAccess` operationId).

func (*ClientWithResponses) PostV0EndpointsBulkStatusWithBodyWithResponse

func (c *ClientWithResponses) PostV0EndpointsBulkStatusWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsBulkStatusResponse, error)

PostV0EndpointsBulkStatusWithBodyWithResponse Pause or unpause multiple endpoints in a single call.

Pause or unpause multiple endpoints in a single call. Admin-only.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints/bulk/status (the `PostV0EndpointsBulkStatus` operationId).

func (*ClientWithResponses) PostV0EndpointsBulkStatusWithResponse

func (c *ClientWithResponses) PostV0EndpointsBulkStatusWithResponse(ctx context.Context, body PostV0EndpointsBulkStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsBulkStatusResponse, error)

PostV0EndpointsBulkStatusWithResponse Pause or unpause multiple endpoints in a single call.

Pause or unpause multiple endpoints in a single call. Admin-only.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints/bulk/status (the `PostV0EndpointsBulkStatus` operationId).

func (*ClientWithResponses) PostV0EndpointsBulkTagsWithBodyWithResponse

func (c *ClientWithResponses) PostV0EndpointsBulkTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsBulkTagsResponse, error)

PostV0EndpointsBulkTagsWithBodyWithResponse Add a tag to multiple endpoints in a single call.

Add a tag to multiple endpoints in a single call. Admin-only.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints/bulk/tags (the `PostV0EndpointsBulkTags` operationId).

func (*ClientWithResponses) PostV0EndpointsBulkTagsWithResponse

func (c *ClientWithResponses) PostV0EndpointsBulkTagsWithResponse(ctx context.Context, body PostV0EndpointsBulkTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsBulkTagsResponse, error)

PostV0EndpointsBulkTagsWithResponse Add a tag to multiple endpoints in a single call.

Add a tag to multiple endpoints in a single call. Admin-only.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints/bulk/tags (the `PostV0EndpointsBulkTags` operationId).

func (*ClientWithResponses) PostV0EndpointsByIdDisableMultichainWithResponse

func (c *ClientWithResponses) PostV0EndpointsByIdDisableMultichainWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdDisableMultichainResponse, error)

PostV0EndpointsByIdDisableMultichainWithResponse Disables multichain for a specific endpoint.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints/{id}/disable_multichain (the `PostV0EndpointsByIdDisableMultichain` operationId).

func (*ClientWithResponses) PostV0EndpointsByIdEnableMultichainWithResponse

func (c *ClientWithResponses) PostV0EndpointsByIdEnableMultichainWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdEnableMultichainResponse, error)

PostV0EndpointsByIdEnableMultichainWithResponse Enables multichain for a specific endpoint.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints/{id}/enable_multichain (the `PostV0EndpointsByIdEnableMultichain` operationId).

func (*ClientWithResponses) PostV0EndpointsByIdMethodRateLimitsWithBodyWithResponse

func (c *ClientWithResponses) PostV0EndpointsByIdMethodRateLimitsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdMethodRateLimitsResponse, error)

PostV0EndpointsByIdMethodRateLimitsWithBodyWithResponse Creates a method rate limit.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints/{id}/method-rate-limits (the `PostV0EndpointsByIdMethodRateLimits` operationId).

func (*ClientWithResponses) PostV0EndpointsByIdMethodRateLimitsWithResponse

PostV0EndpointsByIdMethodRateLimitsWithResponse Creates a method rate limit.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints/{id}/method-rate-limits (the `PostV0EndpointsByIdMethodRateLimits` operationId).

func (*ClientWithResponses) PostV0EndpointsByIdSecurityDomainMasksWithBodyWithResponse

func (c *ClientWithResponses) PostV0EndpointsByIdSecurityDomainMasksWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdSecurityDomainMasksResponse, error)

PostV0EndpointsByIdSecurityDomainMasksWithBodyWithResponse Create an endpoint domain mask.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints/{id}/security/domain_masks (the `PostV0EndpointsByIdSecurityDomainMasks` operationId).

func (*ClientWithResponses) PostV0EndpointsByIdSecurityDomainMasksWithResponse

PostV0EndpointsByIdSecurityDomainMasksWithResponse Create an endpoint domain mask.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints/{id}/security/domain_masks (the `PostV0EndpointsByIdSecurityDomainMasks` operationId).

func (*ClientWithResponses) PostV0EndpointsByIdSecurityIpsWithBodyWithResponse

func (c *ClientWithResponses) PostV0EndpointsByIdSecurityIpsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdSecurityIpsResponse, error)

PostV0EndpointsByIdSecurityIpsWithBodyWithResponse Creates a new endpoint IP.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints/{id}/security/ips (the `PostV0EndpointsByIdSecurityIps` operationId).

func (*ClientWithResponses) PostV0EndpointsByIdSecurityIpsWithResponse

func (c *ClientWithResponses) PostV0EndpointsByIdSecurityIpsWithResponse(ctx context.Context, id string, body PostV0EndpointsByIdSecurityIpsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdSecurityIpsResponse, error)

PostV0EndpointsByIdSecurityIpsWithResponse Creates a new endpoint IP.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints/{id}/security/ips (the `PostV0EndpointsByIdSecurityIps` operationId).

func (*ClientWithResponses) PostV0EndpointsByIdSecurityJwtsWithBodyWithResponse

func (c *ClientWithResponses) PostV0EndpointsByIdSecurityJwtsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdSecurityJwtsResponse, error)

PostV0EndpointsByIdSecurityJwtsWithBodyWithResponse Creates a new endpoint JWT.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints/{id}/security/jwts (the `PostV0EndpointsByIdSecurityJwts` operationId).

func (*ClientWithResponses) PostV0EndpointsByIdSecurityJwtsWithResponse

func (c *ClientWithResponses) PostV0EndpointsByIdSecurityJwtsWithResponse(ctx context.Context, id string, body PostV0EndpointsByIdSecurityJwtsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdSecurityJwtsResponse, error)

PostV0EndpointsByIdSecurityJwtsWithResponse Creates a new endpoint JWT.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints/{id}/security/jwts (the `PostV0EndpointsByIdSecurityJwts` operationId).

func (*ClientWithResponses) PostV0EndpointsByIdSecurityReferrersWithBodyWithResponse

func (c *ClientWithResponses) PostV0EndpointsByIdSecurityReferrersWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdSecurityReferrersResponse, error)

PostV0EndpointsByIdSecurityReferrersWithBodyWithResponse Creates a new endpoint referrer.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints/{id}/security/referrers (the `PostV0EndpointsByIdSecurityReferrers` operationId).

func (*ClientWithResponses) PostV0EndpointsByIdSecurityReferrersWithResponse

PostV0EndpointsByIdSecurityReferrersWithResponse Creates a new endpoint referrer.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints/{id}/security/referrers (the `PostV0EndpointsByIdSecurityReferrers` operationId).

func (*ClientWithResponses) PostV0EndpointsByIdSecurityRequestFiltersWithBodyWithResponse

func (c *ClientWithResponses) PostV0EndpointsByIdSecurityRequestFiltersWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdSecurityRequestFiltersResponse, error)

PostV0EndpointsByIdSecurityRequestFiltersWithBodyWithResponse Creates a new endpoint request filter for method whitelisting.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints/{id}/security/request_filters (the `PostV0EndpointsByIdSecurityRequestFilters` operationId).

func (*ClientWithResponses) PostV0EndpointsByIdSecurityRequestFiltersWithResponse

PostV0EndpointsByIdSecurityRequestFiltersWithResponse Creates a new endpoint request filter for method whitelisting.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints/{id}/security/request_filters (the `PostV0EndpointsByIdSecurityRequestFilters` operationId).

func (*ClientWithResponses) PostV0EndpointsByIdSecurityTokensWithResponse

func (c *ClientWithResponses) PostV0EndpointsByIdSecurityTokensWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdSecurityTokensResponse, error)

PostV0EndpointsByIdSecurityTokensWithResponse Creates a new endpoint authentication token.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints/{id}/security/tokens (the `PostV0EndpointsByIdSecurityTokens` operationId).

func (*ClientWithResponses) PostV0EndpointsByIdTagsWithBodyWithResponse

func (c *ClientWithResponses) PostV0EndpointsByIdTagsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdTagsResponse, error)

PostV0EndpointsByIdTagsWithBodyWithResponse Creates a new tag for a specific endpoint.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints/{id}/tags (the `PostV0EndpointsByIdTags` operationId).

func (*ClientWithResponses) PostV0EndpointsByIdTagsWithResponse

func (c *ClientWithResponses) PostV0EndpointsByIdTagsWithResponse(ctx context.Context, id string, body PostV0EndpointsByIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdTagsResponse, error)

PostV0EndpointsByIdTagsWithResponse Creates a new tag for a specific endpoint.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints/{id}/tags (the `PostV0EndpointsByIdTags` operationId).

func (*ClientWithResponses) PostV0EndpointsWithBodyWithResponse

func (c *ClientWithResponses) PostV0EndpointsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsResponse, error)

PostV0EndpointsWithBodyWithResponse Creates a new endpoint.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints (the `PostV0Endpoints` operationId).

func (*ClientWithResponses) PostV0EndpointsWithResponse

func (c *ClientWithResponses) PostV0EndpointsWithResponse(ctx context.Context, body PostV0EndpointsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsResponse, error)

PostV0EndpointsWithResponse Creates a new endpoint.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/endpoints (the `PostV0Endpoints` operationId).

func (*ClientWithResponses) PostV0TeamsByIdMembersByUserIdResendInviteWithResponse

func (c *ClientWithResponses) PostV0TeamsByIdMembersByUserIdResendInviteWithResponse(ctx context.Context, id int, userId int, reqEditors ...RequestEditorFn) (*PostV0TeamsByIdMembersByUserIdResendInviteResponse, error)

PostV0TeamsByIdMembersByUserIdResendInviteWithResponse Resends an invitation email to a pending team member.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/teams/{id}/members/{user_id}/resend_invite (the `PostV0TeamsByIdMembersByUserIdResendInvite` operationId).

func (*ClientWithResponses) PostV0TeamsByIdMembersWithBodyWithResponse

func (c *ClientWithResponses) PostV0TeamsByIdMembersWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0TeamsByIdMembersResponse, error)

PostV0TeamsByIdMembersWithBodyWithResponse Invites a user to a team.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/teams/{id}/members (the `PostV0TeamsByIdMembers` operationId).

func (*ClientWithResponses) PostV0TeamsByIdMembersWithResponse

func (c *ClientWithResponses) PostV0TeamsByIdMembersWithResponse(ctx context.Context, id int, body PostV0TeamsByIdMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0TeamsByIdMembersResponse, error)

PostV0TeamsByIdMembersWithResponse Invites a user to a team.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/teams/{id}/members (the `PostV0TeamsByIdMembers` operationId).

func (*ClientWithResponses) PostV0TeamsWithBodyWithResponse

func (c *ClientWithResponses) PostV0TeamsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0TeamsResponse, error)

PostV0TeamsWithBodyWithResponse Creates a new team.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/teams (the `PostV0Teams` operationId).

func (*ClientWithResponses) PostV0TeamsWithResponse

func (c *ClientWithResponses) PostV0TeamsWithResponse(ctx context.Context, body PostV0TeamsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0TeamsResponse, error)

PostV0TeamsWithResponse Creates a new team.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/teams (the `PostV0Teams` operationId).

func (*ClientWithResponses) PostV0ToolingAccessTokenWithResponse

func (c *ClientWithResponses) PostV0ToolingAccessTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostV0ToolingAccessTokenResponse, error)

PostV0ToolingAccessTokenWithResponse Mints a short-lived ES256 JWT for authenticating data-plane RPC calls.

Mints a short-lived ES256 JWT for authenticating data-plane RPC calls. Requires Tooling Access to be enabled first.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/tooling-access/token (the `PostV0ToolingAccessToken` operationId).

func (*ClientWithResponses) PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdWithBodyWithResponse

func (c *ClientWithResponses) PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdWithBodyWithResponse(ctx context.Context, id string, requestFilterId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse, error)

PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdWithBodyWithResponse Updates an existing endpoint request filter.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v0/endpoints/{id}/security/request_filters/{request_filter_id} (the `PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterId` operationId).

func (*ClientWithResponses) PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdWithResponse

func (c *ClientWithResponses) PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdWithResponse(ctx context.Context, id string, requestFilterId string, body PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse, error)

PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdWithResponse Updates an existing endpoint request filter.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v0/endpoints/{id}/security/request_filters/{request_filter_id} (the `PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterId` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// GetV0AccountInfoWithResponse Returns information about the account associated with the API key.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/account/info (the `GetV0AccountInfo` operationId).
	GetV0AccountInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV0AccountInfoResponse, error)

	// GetV0ApiCreditsByChainWithResponse Returns the API credit cost of each RPC method available on a chain.
	//
	// Returns the API credit cost of each RPC method available on a chain. Credit costs are calculated using the account's billing version.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/api-credits/{chain} (the `GetV0ApiCreditsByChain` operationId).
	GetV0ApiCreditsByChainWithResponse(ctx context.Context, chain string, reqEditors ...RequestEditorFn) (*GetV0ApiCreditsByChainResponse, error)

	// GetV0BillingInvoicesWithResponse Returns a list of invoices
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/billing/invoices (the `GetV0BillingInvoices` operationId).
	GetV0BillingInvoicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV0BillingInvoicesResponse, error)

	// GetV0BillingPaymentsWithResponse Returns a list of payments.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/billing/payments (the `GetV0BillingPayments` operationId).
	GetV0BillingPaymentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV0BillingPaymentsResponse, error)

	// GetV0ChainsWithResponse Returns a list of chains.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/chains (the `GetV0Chains` operationId).
	GetV0ChainsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV0ChainsResponse, error)

	// GetV0EndpointsWithResponse Retrieves a list of endpoints.
	//
	// Retrieves a list of endpoints. Supports searching, filtering, and sorting.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/endpoints (the `GetV0Endpoints` operationId).
	GetV0EndpointsWithResponse(ctx context.Context, params *GetV0EndpointsParams, reqEditors ...RequestEditorFn) (*GetV0EndpointsResponse, error)

	// PostV0EndpointsWithBodyWithResponse Creates a new endpoint.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints (the `PostV0Endpoints` operationId).
	PostV0EndpointsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsResponse, error)

	// PostV0EndpointsWithResponse Creates a new endpoint.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints (the `PostV0Endpoints` operationId).
	PostV0EndpointsWithResponse(ctx context.Context, body PostV0EndpointsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsResponse, error)

	// PostV0EndpointsBulkStatusWithBodyWithResponse Pause or unpause multiple endpoints in a single call.
	//
	// Pause or unpause multiple endpoints in a single call. Admin-only.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints/bulk/status (the `PostV0EndpointsBulkStatus` operationId).
	PostV0EndpointsBulkStatusWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsBulkStatusResponse, error)

	// PostV0EndpointsBulkStatusWithResponse Pause or unpause multiple endpoints in a single call.
	//
	// Pause or unpause multiple endpoints in a single call. Admin-only.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints/bulk/status (the `PostV0EndpointsBulkStatus` operationId).
	PostV0EndpointsBulkStatusWithResponse(ctx context.Context, body PostV0EndpointsBulkStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsBulkStatusResponse, error)

	// DeleteV0EndpointsBulkTagsWithBodyWithResponse Remove a tag from multiple endpoints in a single call.
	//
	// Remove a tag from multiple endpoints in a single call. Admin-only.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/endpoints/bulk/tags (the `DeleteV0EndpointsBulkTags` operationId).
	DeleteV0EndpointsBulkTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsBulkTagsResponse, error)

	// DeleteV0EndpointsBulkTagsWithResponse Remove a tag from multiple endpoints in a single call.
	//
	// Remove a tag from multiple endpoints in a single call. Admin-only.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/endpoints/bulk/tags (the `DeleteV0EndpointsBulkTags` operationId).
	DeleteV0EndpointsBulkTagsWithResponse(ctx context.Context, body DeleteV0EndpointsBulkTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsBulkTagsResponse, error)

	// PostV0EndpointsBulkTagsWithBodyWithResponse Add a tag to multiple endpoints in a single call.
	//
	// Add a tag to multiple endpoints in a single call. Admin-only.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints/bulk/tags (the `PostV0EndpointsBulkTags` operationId).
	PostV0EndpointsBulkTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsBulkTagsResponse, error)

	// PostV0EndpointsBulkTagsWithResponse Add a tag to multiple endpoints in a single call.
	//
	// Add a tag to multiple endpoints in a single call. Admin-only.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints/bulk/tags (the `PostV0EndpointsBulkTags` operationId).
	PostV0EndpointsBulkTagsWithResponse(ctx context.Context, body PostV0EndpointsBulkTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsBulkTagsResponse, error)

	// GetV0EndpointsTagsWithResponse Returns all account-level tags including those with zero endpoints.
	//
	// Returns all account-level tags including those with zero endpoints. Gated at Build/Growth+.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/endpoints/tags (the `GetV0EndpointsTags` operationId).
	GetV0EndpointsTagsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV0EndpointsTagsResponse, error)

	// DeleteV0EndpointsTagsByIdWithResponse Deletes an account tag.
	//
	// Deletes an account tag. The tag must be removed from all endpoints before it can be deleted. Admin-only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/endpoints/tags/{id} (the `DeleteV0EndpointsTagsById` operationId).
	DeleteV0EndpointsTagsByIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsTagsByIdResponse, error)

	// PatchV0EndpointsTagsByIdWithBodyWithResponse Renames an account tag.
	//
	// Renames an account tag. Because the tag is shared across endpoints, all associated endpoints reflect the new label immediately. Admin-only.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/endpoints/tags/{id} (the `PatchV0EndpointsTagsById` operationId).
	PatchV0EndpointsTagsByIdWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV0EndpointsTagsByIdResponse, error)

	// PatchV0EndpointsTagsByIdWithResponse Renames an account tag.
	//
	// Renames an account tag. Because the tag is shared across endpoints, all associated endpoints reflect the new label immediately. Admin-only.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/endpoints/tags/{id} (the `PatchV0EndpointsTagsById` operationId).
	PatchV0EndpointsTagsByIdWithResponse(ctx context.Context, id int, body PatchV0EndpointsTagsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV0EndpointsTagsByIdResponse, error)

	// DeleteV0EndpointsByIdWithResponse Deletes an endpoint.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/endpoints/{id} (the `DeleteV0EndpointsById` operationId).
	DeleteV0EndpointsByIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsByIdResponse, error)

	// GetV0EndpointsByIdWithResponse Returns info for a specific endpoint.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/endpoints/{id} (the `GetV0EndpointsById` operationId).
	GetV0EndpointsByIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV0EndpointsByIdResponse, error)

	// PatchV0EndpointsByIdWithBodyWithResponse Updates an endpoint.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/endpoints/{id} (the `PatchV0EndpointsById` operationId).
	PatchV0EndpointsByIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdResponse, error)

	// PatchV0EndpointsByIdWithResponse Updates an endpoint.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/endpoints/{id} (the `PatchV0EndpointsById` operationId).
	PatchV0EndpointsByIdWithResponse(ctx context.Context, id string, body PatchV0EndpointsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdResponse, error)

	// PostV0EndpointsByIdDisableMultichainWithResponse Disables multichain for a specific endpoint.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints/{id}/disable_multichain (the `PostV0EndpointsByIdDisableMultichain` operationId).
	PostV0EndpointsByIdDisableMultichainWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdDisableMultichainResponse, error)

	// PostV0EndpointsByIdEnableMultichainWithResponse Enables multichain for a specific endpoint.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints/{id}/enable_multichain (the `PostV0EndpointsByIdEnableMultichain` operationId).
	PostV0EndpointsByIdEnableMultichainWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdEnableMultichainResponse, error)

	// DeleteV0EndpointsByIdIpCustomHeaderWithResponse Deletes the IP custom header for a specific endpoint.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/endpoints/{id}/ip_custom_header (the `DeleteV0EndpointsByIdIpCustomHeader` operationId).
	DeleteV0EndpointsByIdIpCustomHeaderWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsByIdIpCustomHeaderResponse, error)

	// PatchV0EndpointsByIdIpCustomHeaderWithBodyWithResponse Creates or updates an IP custom header for a specific endpoint.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/endpoints/{id}/ip_custom_header (the `PatchV0EndpointsByIdIpCustomHeader` operationId).
	PatchV0EndpointsByIdIpCustomHeaderWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdIpCustomHeaderResponse, error)

	// PatchV0EndpointsByIdIpCustomHeaderWithResponse Creates or updates an IP custom header for a specific endpoint.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/endpoints/{id}/ip_custom_header (the `PatchV0EndpointsByIdIpCustomHeader` operationId).
	PatchV0EndpointsByIdIpCustomHeaderWithResponse(ctx context.Context, id string, body PatchV0EndpointsByIdIpCustomHeaderJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdIpCustomHeaderResponse, error)

	// GetV0EndpointsByIdLogDetailsWithResponse Retrieves detailed request and response information for a specific log entry.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/endpoints/{id}/log_details (the `GetV0EndpointsByIdLogDetails` operationId).
	GetV0EndpointsByIdLogDetailsWithResponse(ctx context.Context, id string, params *GetV0EndpointsByIdLogDetailsParams, reqEditors ...RequestEditorFn) (*GetV0EndpointsByIdLogDetailsResponse, error)

	// GetV0EndpointsByIdLogsWithResponse Retrieves logs for a specific endpoint with filtering and pagination options.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/endpoints/{id}/logs (the `GetV0EndpointsByIdLogs` operationId).
	GetV0EndpointsByIdLogsWithResponse(ctx context.Context, id string, params *GetV0EndpointsByIdLogsParams, reqEditors ...RequestEditorFn) (*GetV0EndpointsByIdLogsResponse, error)

	// GetV0EndpointsByIdMethodRateLimitsWithResponse Gets method rate limits.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/endpoints/{id}/method-rate-limits (the `GetV0EndpointsByIdMethodRateLimits` operationId).
	GetV0EndpointsByIdMethodRateLimitsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV0EndpointsByIdMethodRateLimitsResponse, error)

	// PostV0EndpointsByIdMethodRateLimitsWithBodyWithResponse Creates a method rate limit.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints/{id}/method-rate-limits (the `PostV0EndpointsByIdMethodRateLimits` operationId).
	PostV0EndpointsByIdMethodRateLimitsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdMethodRateLimitsResponse, error)

	// PostV0EndpointsByIdMethodRateLimitsWithResponse Creates a method rate limit.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints/{id}/method-rate-limits (the `PostV0EndpointsByIdMethodRateLimits` operationId).
	PostV0EndpointsByIdMethodRateLimitsWithResponse(ctx context.Context, id string, body PostV0EndpointsByIdMethodRateLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdMethodRateLimitsResponse, error)

	// DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdWithResponse Deletes a method rate limit.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/endpoints/{id}/method-rate-limits/{method_rate_limit_id} (the `DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitId` operationId).
	DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdWithResponse(ctx context.Context, id string, methodRateLimitId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse, error)

	// PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdWithBodyWithResponse Updates a method rate limit.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/endpoints/{id}/method-rate-limits/{method_rate_limit_id} (the `PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitId` operationId).
	PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdWithBodyWithResponse(ctx context.Context, id string, methodRateLimitId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse, error)

	// PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdWithResponse Updates a method rate limit.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/endpoints/{id}/method-rate-limits/{method_rate_limit_id} (the `PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitId` operationId).
	PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdWithResponse(ctx context.Context, id string, methodRateLimitId string, body PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse, error)

	// GetV0EndpointsByIdMetricsWithResponse Returns a single metric.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/endpoints/{id}/metrics (the `GetV0EndpointsByIdMetrics` operationId).
	GetV0EndpointsByIdMetricsWithResponse(ctx context.Context, id string, params *GetV0EndpointsByIdMetricsParams, reqEditors ...RequestEditorFn) (*GetV0EndpointsByIdMetricsResponse, error)

	// GetV0EndpointsByIdRateLimitsWithResponse Gets endpoint rate limits.
	//
	// Gets endpoint rate limits. The response returns an array with the source for each rate limit, including plan defaults and user-set overrides.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/endpoints/{id}/rate-limits (the `GetV0EndpointsByIdRateLimits` operationId).
	GetV0EndpointsByIdRateLimitsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV0EndpointsByIdRateLimitsResponse, error)

	// PatchV0EndpointsByIdRateLimitsWithBodyWithResponse Updates endpoint rate limits.
	//
	// Updates endpoint rate limits. Only rate limits specified in the payload are updated; omitted rate limits remain unchanged. The response returns the effective endpoint-level limits as a flat limits object.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/endpoints/{id}/rate-limits (the `PatchV0EndpointsByIdRateLimits` operationId).
	PatchV0EndpointsByIdRateLimitsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdRateLimitsResponse, error)

	// PatchV0EndpointsByIdRateLimitsWithResponse Updates endpoint rate limits.
	//
	// Updates endpoint rate limits. Only rate limits specified in the payload are updated; omitted rate limits remain unchanged. The response returns the effective endpoint-level limits as a flat limits object.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/endpoints/{id}/rate-limits (the `PatchV0EndpointsByIdRateLimits` operationId).
	PatchV0EndpointsByIdRateLimitsWithResponse(ctx context.Context, id string, body PatchV0EndpointsByIdRateLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdRateLimitsResponse, error)

	// DeleteV0EndpointsByIdRateLimitsByOverrideIdWithResponse Deletes a user-set endpoint rate limit by UUID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/endpoints/{id}/rate-limits/{override_id} (the `DeleteV0EndpointsByIdRateLimitsByOverrideId` operationId).
	DeleteV0EndpointsByIdRateLimitsByOverrideIdWithResponse(ctx context.Context, id string, overrideId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsByIdRateLimitsByOverrideIdResponse, error)

	// GetV0EndpointsByIdSecurityWithResponse Returns full security state (tokens, JWTs, IPs, referrers, domain masks, request filters, options) without fetching the
	//
	// Returns full security state (tokens, JWTs, IPs, referrers, domain masks, request filters, options) without fetching the full endpoint.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/endpoints/{id}/security (the `GetV0EndpointsByIdSecurity` operationId).
	GetV0EndpointsByIdSecurityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV0EndpointsByIdSecurityResponse, error)

	// PostV0EndpointsByIdSecurityDomainMasksWithBodyWithResponse Create an endpoint domain mask.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints/{id}/security/domain_masks (the `PostV0EndpointsByIdSecurityDomainMasks` operationId).
	PostV0EndpointsByIdSecurityDomainMasksWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdSecurityDomainMasksResponse, error)

	// PostV0EndpointsByIdSecurityDomainMasksWithResponse Create an endpoint domain mask.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints/{id}/security/domain_masks (the `PostV0EndpointsByIdSecurityDomainMasks` operationId).
	PostV0EndpointsByIdSecurityDomainMasksWithResponse(ctx context.Context, id string, body PostV0EndpointsByIdSecurityDomainMasksJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdSecurityDomainMasksResponse, error)

	// DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdWithResponse Deletes an existing endpoint domain mask.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/endpoints/{id}/security/domain_masks/{domain_mask_id} (the `DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskId` operationId).
	DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdWithResponse(ctx context.Context, id string, domainMaskId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdResponse, error)

	// PostV0EndpointsByIdSecurityIpsWithBodyWithResponse Creates a new endpoint IP.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints/{id}/security/ips (the `PostV0EndpointsByIdSecurityIps` operationId).
	PostV0EndpointsByIdSecurityIpsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdSecurityIpsResponse, error)

	// PostV0EndpointsByIdSecurityIpsWithResponse Creates a new endpoint IP.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints/{id}/security/ips (the `PostV0EndpointsByIdSecurityIps` operationId).
	PostV0EndpointsByIdSecurityIpsWithResponse(ctx context.Context, id string, body PostV0EndpointsByIdSecurityIpsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdSecurityIpsResponse, error)

	// DeleteV0EndpointsByIdSecurityIpsByIpIdWithResponse Deletes an existing endpoint IP.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/endpoints/{id}/security/ips/{ip_id} (the `DeleteV0EndpointsByIdSecurityIpsByIpId` operationId).
	DeleteV0EndpointsByIdSecurityIpsByIpIdWithResponse(ctx context.Context, id string, ipId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsByIdSecurityIpsByIpIdResponse, error)

	// PostV0EndpointsByIdSecurityJwtsWithBodyWithResponse Creates a new endpoint JWT.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints/{id}/security/jwts (the `PostV0EndpointsByIdSecurityJwts` operationId).
	PostV0EndpointsByIdSecurityJwtsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdSecurityJwtsResponse, error)

	// PostV0EndpointsByIdSecurityJwtsWithResponse Creates a new endpoint JWT.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints/{id}/security/jwts (the `PostV0EndpointsByIdSecurityJwts` operationId).
	PostV0EndpointsByIdSecurityJwtsWithResponse(ctx context.Context, id string, body PostV0EndpointsByIdSecurityJwtsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdSecurityJwtsResponse, error)

	// DeleteV0EndpointsByIdSecurityJwtsByJwtIdWithResponse Deletes an existing endpoint JWT.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/endpoints/{id}/security/jwts/{jwt_id} (the `DeleteV0EndpointsByIdSecurityJwtsByJwtId` operationId).
	DeleteV0EndpointsByIdSecurityJwtsByJwtIdWithResponse(ctx context.Context, id string, jwtId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsByIdSecurityJwtsByJwtIdResponse, error)

	// PostV0EndpointsByIdSecurityReferrersWithBodyWithResponse Creates a new endpoint referrer.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints/{id}/security/referrers (the `PostV0EndpointsByIdSecurityReferrers` operationId).
	PostV0EndpointsByIdSecurityReferrersWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdSecurityReferrersResponse, error)

	// PostV0EndpointsByIdSecurityReferrersWithResponse Creates a new endpoint referrer.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints/{id}/security/referrers (the `PostV0EndpointsByIdSecurityReferrers` operationId).
	PostV0EndpointsByIdSecurityReferrersWithResponse(ctx context.Context, id string, body PostV0EndpointsByIdSecurityReferrersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdSecurityReferrersResponse, error)

	// DeleteV0EndpointsByIdSecurityReferrersByReferrerIdWithResponse Deletes an existing endpoint referrer.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/endpoints/{id}/security/referrers/{referrer_id} (the `DeleteV0EndpointsByIdSecurityReferrersByReferrerId` operationId).
	DeleteV0EndpointsByIdSecurityReferrersByReferrerIdWithResponse(ctx context.Context, id string, referrerId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsByIdSecurityReferrersByReferrerIdResponse, error)

	// PostV0EndpointsByIdSecurityRequestFiltersWithBodyWithResponse Creates a new endpoint request filter for method whitelisting.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints/{id}/security/request_filters (the `PostV0EndpointsByIdSecurityRequestFilters` operationId).
	PostV0EndpointsByIdSecurityRequestFiltersWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdSecurityRequestFiltersResponse, error)

	// PostV0EndpointsByIdSecurityRequestFiltersWithResponse Creates a new endpoint request filter for method whitelisting.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints/{id}/security/request_filters (the `PostV0EndpointsByIdSecurityRequestFilters` operationId).
	PostV0EndpointsByIdSecurityRequestFiltersWithResponse(ctx context.Context, id string, body PostV0EndpointsByIdSecurityRequestFiltersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdSecurityRequestFiltersResponse, error)

	// DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdWithResponse Deletes an existing endpoint request filter.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/endpoints/{id}/security/request_filters/{request_filter_id} (the `DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterId` operationId).
	DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdWithResponse(ctx context.Context, id string, requestFilterId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse, error)

	// PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdWithBodyWithResponse Updates an existing endpoint request filter.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v0/endpoints/{id}/security/request_filters/{request_filter_id} (the `PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterId` operationId).
	PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdWithBodyWithResponse(ctx context.Context, id string, requestFilterId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse, error)

	// PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdWithResponse Updates an existing endpoint request filter.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v0/endpoints/{id}/security/request_filters/{request_filter_id} (the `PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterId` operationId).
	PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdWithResponse(ctx context.Context, id string, requestFilterId string, body PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse, error)

	// PostV0EndpointsByIdSecurityTokensWithResponse Creates a new endpoint authentication token.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints/{id}/security/tokens (the `PostV0EndpointsByIdSecurityTokens` operationId).
	PostV0EndpointsByIdSecurityTokensWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdSecurityTokensResponse, error)

	// DeleteV0EndpointsByIdSecurityTokensByTokenIdWithResponse Deletes an existing endpoint token.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/endpoints/{id}/security/tokens/{token_id} (the `DeleteV0EndpointsByIdSecurityTokensByTokenId` operationId).
	DeleteV0EndpointsByIdSecurityTokensByTokenIdWithResponse(ctx context.Context, id string, tokenId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsByIdSecurityTokensByTokenIdResponse, error)

	// GetV0EndpointsByIdSecurityOptionsWithResponse Gets security options for an endpoint.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/endpoints/{id}/security_options (the `GetV0EndpointsByIdSecurityOptions` operationId).
	GetV0EndpointsByIdSecurityOptionsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV0EndpointsByIdSecurityOptionsResponse, error)

	// PatchV0EndpointsByIdSecurityOptionsWithBodyWithResponse Updates security options for an endpoint.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/endpoints/{id}/security_options (the `PatchV0EndpointsByIdSecurityOptions` operationId).
	PatchV0EndpointsByIdSecurityOptionsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdSecurityOptionsResponse, error)

	// PatchV0EndpointsByIdSecurityOptionsWithResponse Updates security options for an endpoint.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/endpoints/{id}/security_options (the `PatchV0EndpointsByIdSecurityOptions` operationId).
	PatchV0EndpointsByIdSecurityOptionsWithResponse(ctx context.Context, id string, body PatchV0EndpointsByIdSecurityOptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdSecurityOptionsResponse, error)

	// PatchV0EndpointsByIdStatusWithBodyWithResponse Pauses or unpauses a specific endpoint by updating its status to either 'active' or 'paused'
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/endpoints/{id}/status (the `PatchV0EndpointsByIdStatus` operationId).
	PatchV0EndpointsByIdStatusWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdStatusResponse, error)

	// PatchV0EndpointsByIdStatusWithResponse Pauses or unpauses a specific endpoint by updating its status to either 'active' or 'paused'
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/endpoints/{id}/status (the `PatchV0EndpointsByIdStatus` operationId).
	PatchV0EndpointsByIdStatusWithResponse(ctx context.Context, id string, body PatchV0EndpointsByIdStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV0EndpointsByIdStatusResponse, error)

	// GetV0EndpointsByIdTagsWithResponse Returns all tags for a specific endpoint.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/endpoints/{id}/tags (the `GetV0EndpointsByIdTags` operationId).
	GetV0EndpointsByIdTagsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV0EndpointsByIdTagsResponse, error)

	// PostV0EndpointsByIdTagsWithBodyWithResponse Creates a new tag for a specific endpoint.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints/{id}/tags (the `PostV0EndpointsByIdTags` operationId).
	PostV0EndpointsByIdTagsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdTagsResponse, error)

	// PostV0EndpointsByIdTagsWithResponse Creates a new tag for a specific endpoint.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/endpoints/{id}/tags (the `PostV0EndpointsByIdTags` operationId).
	PostV0EndpointsByIdTagsWithResponse(ctx context.Context, id string, body PostV0EndpointsByIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0EndpointsByIdTagsResponse, error)

	// DeleteV0EndpointsByIdTagsByTagIdWithResponse Deletes a tag from a specific endpoint.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/endpoints/{id}/tags/{tag_id} (the `DeleteV0EndpointsByIdTagsByTagId` operationId).
	DeleteV0EndpointsByIdTagsByTagIdWithResponse(ctx context.Context, id string, tagId string, reqEditors ...RequestEditorFn) (*DeleteV0EndpointsByIdTagsByTagIdResponse, error)

	// GetV0EndpointsByIdUrlsWithResponse Returns the URLs for a specific endpoint.
	//
	// Returns the URLs for a specific endpoint. For multichain endpoints, the response also includes a `multichain_urls` map with the URLs for every supported network.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/endpoints/{id}/urls (the `GetV0EndpointsByIdUrls` operationId).
	GetV0EndpointsByIdUrlsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV0EndpointsByIdUrlsResponse, error)

	// GetV0MetricsWithResponse Fetches metrics aggregated across all endpoints for an account.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/metrics (the `GetV0Metrics` operationId).
	GetV0MetricsWithResponse(ctx context.Context, params *GetV0MetricsParams, reqEditors ...RequestEditorFn) (*GetV0MetricsResponse, error)

	// GetV0TeamsWithResponse Retrieves a list of all teams.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/teams (the `GetV0Teams` operationId).
	GetV0TeamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV0TeamsResponse, error)

	// PostV0TeamsWithBodyWithResponse Creates a new team.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/teams (the `PostV0Teams` operationId).
	PostV0TeamsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0TeamsResponse, error)

	// PostV0TeamsWithResponse Creates a new team.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/teams (the `PostV0Teams` operationId).
	PostV0TeamsWithResponse(ctx context.Context, body PostV0TeamsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0TeamsResponse, error)

	// DeleteV0TeamsByIdWithResponse Deletes an empty team.
	//
	// Deletes an empty team. The team must have no members before it can be deleted.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/teams/{id} (the `DeleteV0TeamsById` operationId).
	DeleteV0TeamsByIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DeleteV0TeamsByIdResponse, error)

	// GetV0TeamsByIdWithResponse Retrieves details for a specific team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/teams/{id} (the `GetV0TeamsById` operationId).
	GetV0TeamsByIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetV0TeamsByIdResponse, error)

	// GetV0TeamsByIdEndpointsWithResponse Retrieves a list of endpoints accessible to a team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/teams/{id}/endpoints (the `GetV0TeamsByIdEndpoints` operationId).
	GetV0TeamsByIdEndpointsWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetV0TeamsByIdEndpointsResponse, error)

	// PatchV0TeamsByIdEndpointsWithBodyWithResponse Assigns or unassigns endpoints to a team.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/teams/{id}/endpoints (the `PatchV0TeamsByIdEndpoints` operationId).
	PatchV0TeamsByIdEndpointsWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV0TeamsByIdEndpointsResponse, error)

	// PatchV0TeamsByIdEndpointsWithResponse Assigns or unassigns endpoints to a team.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/teams/{id}/endpoints (the `PatchV0TeamsByIdEndpoints` operationId).
	PatchV0TeamsByIdEndpointsWithResponse(ctx context.Context, id int, body PatchV0TeamsByIdEndpointsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV0TeamsByIdEndpointsResponse, error)

	// PostV0TeamsByIdMembersWithBodyWithResponse Invites a user to a team.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/teams/{id}/members (the `PostV0TeamsByIdMembers` operationId).
	PostV0TeamsByIdMembersWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV0TeamsByIdMembersResponse, error)

	// PostV0TeamsByIdMembersWithResponse Invites a user to a team.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/teams/{id}/members (the `PostV0TeamsByIdMembers` operationId).
	PostV0TeamsByIdMembersWithResponse(ctx context.Context, id int, body PostV0TeamsByIdMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV0TeamsByIdMembersResponse, error)

	// DeleteV0TeamsByIdMembersByUserIdWithResponse Removes a user from a team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/teams/{id}/members/{user_id} (the `DeleteV0TeamsByIdMembersByUserId` operationId).
	DeleteV0TeamsByIdMembersByUserIdWithResponse(ctx context.Context, id int, userId int, reqEditors ...RequestEditorFn) (*DeleteV0TeamsByIdMembersByUserIdResponse, error)

	// PostV0TeamsByIdMembersByUserIdResendInviteWithResponse Resends an invitation email to a pending team member.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/teams/{id}/members/{user_id}/resend_invite (the `PostV0TeamsByIdMembersByUserIdResendInvite` operationId).
	PostV0TeamsByIdMembersByUserIdResendInviteWithResponse(ctx context.Context, id int, userId int, reqEditors ...RequestEditorFn) (*PostV0TeamsByIdMembersByUserIdResendInviteResponse, error)

	// GetV0ToolingAccessWithResponse Returns whether Tooling Access is enabled for the account.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/tooling-access (the `GetV0ToolingAccess` operationId).
	GetV0ToolingAccessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV0ToolingAccessResponse, error)

	// PatchV0ToolingAccessWithBodyWithResponse Enable (provision/reactivate) or disable Tooling Access for the account.
	//
	// Enable (provision/reactivate) or disable Tooling Access for the account. Enabling is idempotent and requires an admin role.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/tooling-access (the `PatchV0ToolingAccess` operationId).
	PatchV0ToolingAccessWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV0ToolingAccessResponse, error)

	// PatchV0ToolingAccessWithResponse Enable (provision/reactivate) or disable Tooling Access for the account.
	//
	// Enable (provision/reactivate) or disable Tooling Access for the account. Enabling is idempotent and requires an admin role.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/tooling-access (the `PatchV0ToolingAccess` operationId).
	PatchV0ToolingAccessWithResponse(ctx context.Context, body PatchV0ToolingAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV0ToolingAccessResponse, error)

	// PostV0ToolingAccessTokenWithResponse Mints a short-lived ES256 JWT for authenticating data-plane RPC calls.
	//
	// Mints a short-lived ES256 JWT for authenticating data-plane RPC calls. Requires Tooling Access to be enabled first.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/tooling-access/token (the `PostV0ToolingAccessToken` operationId).
	PostV0ToolingAccessTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostV0ToolingAccessTokenResponse, error)

	// GetV0UsageRpcWithResponse Retrieves usage total for specified time range.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/usage/rpc (the `GetV0UsageRpc` operationId).
	GetV0UsageRpcWithResponse(ctx context.Context, params *GetV0UsageRpcParams, reqEditors ...RequestEditorFn) (*GetV0UsageRpcResponse, error)

	// GetV0UsageRpcByChainWithResponse Retrieves usage data by chain.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/usage/rpc/by-chain (the `GetV0UsageRpcByChain` operationId).
	GetV0UsageRpcByChainWithResponse(ctx context.Context, params *GetV0UsageRpcByChainParams, reqEditors ...RequestEditorFn) (*GetV0UsageRpcByChainResponse, error)

	// GetV0UsageRpcByEndpointWithResponse Retrieves usage data by endpoint.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/usage/rpc/by-endpoint (the `GetV0UsageRpcByEndpoint` operationId).
	GetV0UsageRpcByEndpointWithResponse(ctx context.Context, params *GetV0UsageRpcByEndpointParams, reqEditors ...RequestEditorFn) (*GetV0UsageRpcByEndpointResponse, error)

	// GetV0UsageRpcByMethodWithResponse Retrieves usage data by method.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/usage/rpc/by-method (the `GetV0UsageRpcByMethod` operationId).
	GetV0UsageRpcByMethodWithResponse(ctx context.Context, params *GetV0UsageRpcByMethodParams, reqEditors ...RequestEditorFn) (*GetV0UsageRpcByMethodResponse, error)

	// GetV0UsageRpcByTagWithResponse Retrieves usage data grouped by tag.
	//
	// Retrieves usage data grouped by tag. Includes an untagged bucket for endpoints with no tags.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/usage/rpc/by-tag (the `GetV0UsageRpcByTag` operationId).
	GetV0UsageRpcByTagWithResponse(ctx context.Context, params *GetV0UsageRpcByTagParams, reqEditors ...RequestEditorFn) (*GetV0UsageRpcByTagResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type DeleteV0EndpointsBulkTagsJSONBody

type DeleteV0EndpointsBulkTagsJSONBody struct {
	// Ids An array of endpoint IDs to remove the tag from
	Ids []interface{} `json:"ids"`

	// TagId The ID of the tag to remove from the endpoints
	TagId int `json:"tag_id"`
}

DeleteV0EndpointsBulkTagsJSONBody defines parameters for DeleteV0EndpointsBulkTags.

type DeleteV0EndpointsBulkTagsJSONRequestBody

type DeleteV0EndpointsBulkTagsJSONRequestBody DeleteV0EndpointsBulkTagsJSONBody

DeleteV0EndpointsBulkTagsJSONRequestBody defines body for DeleteV0EndpointsBulkTags for application/json ContentType.

type DeleteV0EndpointsBulkTagsResponse

type DeleteV0EndpointsBulkTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data Contains the result of the bulk tag removal
		Data *struct {
			// FailedCount The number of endpoints that failed to update
			FailedCount *int `json:"failed_count,omitempty"`

			// Results An array of result objects for each endpoint
			Results *[]struct {
				// Id The endpoint ID
				Id *string `json:"id,omitempty"`

				// Success Whether the tag was successfully removed from this endpoint
				Success *bool `json:"success,omitempty"`
			} `json:"results,omitempty"`

			// Total The total number of endpoints in the request
			Total *int `json:"total,omitempty"`

			// UpdatedCount The number of endpoints successfully updated
			UpdatedCount *int `json:"updated_count,omitempty"`
		} `json:"data,omitempty"`
	}
}

func ParseDeleteV0EndpointsBulkTagsResponse

func ParseDeleteV0EndpointsBulkTagsResponse(rsp *http.Response) (*DeleteV0EndpointsBulkTagsResponse, error)

ParseDeleteV0EndpointsBulkTagsResponse parses an HTTP response from a DeleteV0EndpointsBulkTagsWithResponse call

func (DeleteV0EndpointsBulkTagsResponse) ContentType

func (r DeleteV0EndpointsBulkTagsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteV0EndpointsBulkTagsResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteV0EndpointsBulkTagsResponse) GetJSON200

func (r DeleteV0EndpointsBulkTagsResponse) GetJSON200() *struct {
	// Data Contains the result of the bulk tag removal
	Data *struct {
		// FailedCount The number of endpoints that failed to update
		FailedCount *int `json:"failed_count,omitempty"`

		// Results An array of result objects for each endpoint
		Results *[]struct {
			// Id The endpoint ID
			Id *string `json:"id,omitempty"`

			// Success Whether the tag was successfully removed from this endpoint
			Success *bool `json:"success,omitempty"`
		} `json:"results,omitempty"`

		// Total The total number of endpoints in the request
		Total *int `json:"total,omitempty"`

		// UpdatedCount The number of endpoints successfully updated
		UpdatedCount *int `json:"updated_count,omitempty"`
	} `json:"data,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteV0EndpointsBulkTagsResponse) Status

Status returns HTTPResponse.Status

func (DeleteV0EndpointsBulkTagsResponse) StatusCode

func (r DeleteV0EndpointsBulkTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteV0EndpointsByIdIpCustomHeaderResponse

type DeleteV0EndpointsByIdIpCustomHeaderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data Returns true when the IP custom header is successfully deleted
		Data *bool `json:"data,omitempty"`

		// Error Contains error details if the request failed; null if successful
		Error *string `json:"error,omitempty"`
	}
}

func ParseDeleteV0EndpointsByIdIpCustomHeaderResponse

func ParseDeleteV0EndpointsByIdIpCustomHeaderResponse(rsp *http.Response) (*DeleteV0EndpointsByIdIpCustomHeaderResponse, error)

ParseDeleteV0EndpointsByIdIpCustomHeaderResponse parses an HTTP response from a DeleteV0EndpointsByIdIpCustomHeaderWithResponse call

func (DeleteV0EndpointsByIdIpCustomHeaderResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteV0EndpointsByIdIpCustomHeaderResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteV0EndpointsByIdIpCustomHeaderResponse) GetJSON200

func (r DeleteV0EndpointsByIdIpCustomHeaderResponse) GetJSON200() *struct {
	// Data Returns true when the IP custom header is successfully deleted
	Data *bool `json:"data,omitempty"`

	// Error Contains error details if the request failed; null if successful
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteV0EndpointsByIdIpCustomHeaderResponse) Status

Status returns HTTPResponse.Status

func (DeleteV0EndpointsByIdIpCustomHeaderResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse

type DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data A message indicating the result of the operation
		Data *string `json:"data,omitempty"`

		// Error A field containing an error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParseDeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse

func ParseDeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse(rsp *http.Response) (*DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse, error)

ParseDeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse parses an HTTP response from a DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdWithResponse call

func (DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse) GetJSON200

func (r DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse) GetJSON200() *struct {
	// Data A message indicating the result of the operation
	Data *string `json:"data,omitempty"`

	// Error A field containing an error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteV0EndpointsByIdRateLimitsByOverrideIdResponse

type DeleteV0EndpointsByIdRateLimitsByOverrideIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the result of the operation
		Data *struct {
			// Success Indicates whether the endpoint rate limit was deleted
			Success *bool `json:"success,omitempty"`
		} `json:"data,omitempty"`

		// Error A field containing an error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParseDeleteV0EndpointsByIdRateLimitsByOverrideIdResponse

func ParseDeleteV0EndpointsByIdRateLimitsByOverrideIdResponse(rsp *http.Response) (*DeleteV0EndpointsByIdRateLimitsByOverrideIdResponse, error)

ParseDeleteV0EndpointsByIdRateLimitsByOverrideIdResponse parses an HTTP response from a DeleteV0EndpointsByIdRateLimitsByOverrideIdWithResponse call

func (DeleteV0EndpointsByIdRateLimitsByOverrideIdResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteV0EndpointsByIdRateLimitsByOverrideIdResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteV0EndpointsByIdRateLimitsByOverrideIdResponse) GetJSON200

func (r DeleteV0EndpointsByIdRateLimitsByOverrideIdResponse) GetJSON200() *struct {
	// Data The data object which contains the result of the operation
	Data *struct {
		// Success Indicates whether the endpoint rate limit was deleted
		Success *bool `json:"success,omitempty"`
	} `json:"data,omitempty"`

	// Error A field containing an error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteV0EndpointsByIdRateLimitsByOverrideIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteV0EndpointsByIdRateLimitsByOverrideIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteV0EndpointsByIdResponse

type DeleteV0EndpointsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Result Indicates whether the endpoint was deleted
		Result *bool `json:"result,omitempty"`
	}
}

func ParseDeleteV0EndpointsByIdResponse

func ParseDeleteV0EndpointsByIdResponse(rsp *http.Response) (*DeleteV0EndpointsByIdResponse, error)

ParseDeleteV0EndpointsByIdResponse parses an HTTP response from a DeleteV0EndpointsByIdWithResponse call

func (DeleteV0EndpointsByIdResponse) ContentType

func (r DeleteV0EndpointsByIdResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteV0EndpointsByIdResponse) GetBody

func (r DeleteV0EndpointsByIdResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteV0EndpointsByIdResponse) GetJSON200

func (r DeleteV0EndpointsByIdResponse) GetJSON200() *struct {
	// Result Indicates whether the endpoint was deleted
	Result *bool `json:"result,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteV0EndpointsByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteV0EndpointsByIdResponse) StatusCode

func (r DeleteV0EndpointsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdResponse

type DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data Represent successfully deleted the existing endpoint domain mask
		Data *bool `json:"data,omitempty"`

		// Error A field containing an error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParseDeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdResponse

func ParseDeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdResponse(rsp *http.Response) (*DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdResponse, error)

ParseDeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdResponse parses an HTTP response from a DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdWithResponse call

func (DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdResponse) GetJSON200

func (r DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdResponse) GetJSON200() *struct {
	// Data Represent successfully deleted the existing endpoint domain mask
	Data *bool `json:"data,omitempty"`

	// Error A field containing an error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteV0EndpointsByIdSecurityDomainMasksByDomainMaskIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteV0EndpointsByIdSecurityIpsByIpIdResponse

type DeleteV0EndpointsByIdSecurityIpsByIpIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data Represent successfully deleted the existing endpoint IP
		Data *bool `json:"data,omitempty"`

		// Error A field containing an error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParseDeleteV0EndpointsByIdSecurityIpsByIpIdResponse

func ParseDeleteV0EndpointsByIdSecurityIpsByIpIdResponse(rsp *http.Response) (*DeleteV0EndpointsByIdSecurityIpsByIpIdResponse, error)

ParseDeleteV0EndpointsByIdSecurityIpsByIpIdResponse parses an HTTP response from a DeleteV0EndpointsByIdSecurityIpsByIpIdWithResponse call

func (DeleteV0EndpointsByIdSecurityIpsByIpIdResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteV0EndpointsByIdSecurityIpsByIpIdResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteV0EndpointsByIdSecurityIpsByIpIdResponse) GetJSON200

func (r DeleteV0EndpointsByIdSecurityIpsByIpIdResponse) GetJSON200() *struct {
	// Data Represent successfully deleted the existing endpoint IP
	Data *bool `json:"data,omitempty"`

	// Error A field containing an error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteV0EndpointsByIdSecurityIpsByIpIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteV0EndpointsByIdSecurityIpsByIpIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteV0EndpointsByIdSecurityJwtsByJwtIdResponse

type DeleteV0EndpointsByIdSecurityJwtsByJwtIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data Represent successfully deleted the existing endpoint jwt
		Data *bool `json:"data,omitempty"`

		// Error A field containing an error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParseDeleteV0EndpointsByIdSecurityJwtsByJwtIdResponse

func ParseDeleteV0EndpointsByIdSecurityJwtsByJwtIdResponse(rsp *http.Response) (*DeleteV0EndpointsByIdSecurityJwtsByJwtIdResponse, error)

ParseDeleteV0EndpointsByIdSecurityJwtsByJwtIdResponse parses an HTTP response from a DeleteV0EndpointsByIdSecurityJwtsByJwtIdWithResponse call

func (DeleteV0EndpointsByIdSecurityJwtsByJwtIdResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteV0EndpointsByIdSecurityJwtsByJwtIdResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteV0EndpointsByIdSecurityJwtsByJwtIdResponse) GetJSON200

func (r DeleteV0EndpointsByIdSecurityJwtsByJwtIdResponse) GetJSON200() *struct {
	// Data Represent successfully deleted the existing endpoint jwt
	Data *bool `json:"data,omitempty"`

	// Error A field containing an error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteV0EndpointsByIdSecurityJwtsByJwtIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteV0EndpointsByIdSecurityJwtsByJwtIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteV0EndpointsByIdSecurityReferrersByReferrerIdResponse

type DeleteV0EndpointsByIdSecurityReferrersByReferrerIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data Represent successfully deleted the existing endpoint referrer
		Data *bool `json:"data,omitempty"`

		// Error A field containing an error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParseDeleteV0EndpointsByIdSecurityReferrersByReferrerIdResponse

func ParseDeleteV0EndpointsByIdSecurityReferrersByReferrerIdResponse(rsp *http.Response) (*DeleteV0EndpointsByIdSecurityReferrersByReferrerIdResponse, error)

ParseDeleteV0EndpointsByIdSecurityReferrersByReferrerIdResponse parses an HTTP response from a DeleteV0EndpointsByIdSecurityReferrersByReferrerIdWithResponse call

func (DeleteV0EndpointsByIdSecurityReferrersByReferrerIdResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteV0EndpointsByIdSecurityReferrersByReferrerIdResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteV0EndpointsByIdSecurityReferrersByReferrerIdResponse) GetJSON200

func (r DeleteV0EndpointsByIdSecurityReferrersByReferrerIdResponse) GetJSON200() *struct {
	// Data Represent successfully deleted the existing endpoint referrer
	Data *bool `json:"data,omitempty"`

	// Error A field containing an error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteV0EndpointsByIdSecurityReferrersByReferrerIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteV0EndpointsByIdSecurityReferrersByReferrerIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse

type DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse

func ParseDeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse(rsp *http.Response) (*DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse, error)

ParseDeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse parses an HTTP response from a DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdWithResponse call

func (DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteV0EndpointsByIdSecurityTokensByTokenIdResponse

type DeleteV0EndpointsByIdSecurityTokensByTokenIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data Represent successfully deleted the existing endpoint token
		Data *bool `json:"data,omitempty"`

		// Error A field containing an error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParseDeleteV0EndpointsByIdSecurityTokensByTokenIdResponse

func ParseDeleteV0EndpointsByIdSecurityTokensByTokenIdResponse(rsp *http.Response) (*DeleteV0EndpointsByIdSecurityTokensByTokenIdResponse, error)

ParseDeleteV0EndpointsByIdSecurityTokensByTokenIdResponse parses an HTTP response from a DeleteV0EndpointsByIdSecurityTokensByTokenIdWithResponse call

func (DeleteV0EndpointsByIdSecurityTokensByTokenIdResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteV0EndpointsByIdSecurityTokensByTokenIdResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteV0EndpointsByIdSecurityTokensByTokenIdResponse) GetJSON200

func (r DeleteV0EndpointsByIdSecurityTokensByTokenIdResponse) GetJSON200() *struct {
	// Data Represent successfully deleted the existing endpoint token
	Data *bool `json:"data,omitempty"`

	// Error A field containing an error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteV0EndpointsByIdSecurityTokensByTokenIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteV0EndpointsByIdSecurityTokensByTokenIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteV0EndpointsByIdTagsByTagIdResponse

type DeleteV0EndpointsByIdTagsByTagIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data Contains the result of the tag deletion
		Data *struct {
			// Success Whether the tag was successfully deleted from the endpoint
			Success *bool `json:"success,omitempty"`
		} `json:"data,omitempty"`

		// Error Contains error details if the request failed; null if successful
		Error *string `json:"error,omitempty"`
	}
}

func ParseDeleteV0EndpointsByIdTagsByTagIdResponse

func ParseDeleteV0EndpointsByIdTagsByTagIdResponse(rsp *http.Response) (*DeleteV0EndpointsByIdTagsByTagIdResponse, error)

ParseDeleteV0EndpointsByIdTagsByTagIdResponse parses an HTTP response from a DeleteV0EndpointsByIdTagsByTagIdWithResponse call

func (DeleteV0EndpointsByIdTagsByTagIdResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteV0EndpointsByIdTagsByTagIdResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteV0EndpointsByIdTagsByTagIdResponse) GetJSON200

func (r DeleteV0EndpointsByIdTagsByTagIdResponse) GetJSON200() *struct {
	// Data Contains the result of the tag deletion
	Data *struct {
		// Success Whether the tag was successfully deleted from the endpoint
		Success *bool `json:"success,omitempty"`
	} `json:"data,omitempty"`

	// Error Contains error details if the request failed; null if successful
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteV0EndpointsByIdTagsByTagIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteV0EndpointsByIdTagsByTagIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteV0EndpointsTagsByIdResponse

type DeleteV0EndpointsTagsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data Contains the result of the deletion
		Data *map[string]interface{} `json:"data,omitempty"`

		// Error Contains error details if the request failed; null if successful
		Error *string `json:"error,omitempty"`
	}
}

func ParseDeleteV0EndpointsTagsByIdResponse

func ParseDeleteV0EndpointsTagsByIdResponse(rsp *http.Response) (*DeleteV0EndpointsTagsByIdResponse, error)

ParseDeleteV0EndpointsTagsByIdResponse parses an HTTP response from a DeleteV0EndpointsTagsByIdWithResponse call

func (DeleteV0EndpointsTagsByIdResponse) ContentType

func (r DeleteV0EndpointsTagsByIdResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteV0EndpointsTagsByIdResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteV0EndpointsTagsByIdResponse) GetJSON200

func (r DeleteV0EndpointsTagsByIdResponse) GetJSON200() *struct {
	// Data Contains the result of the deletion
	Data *map[string]interface{} `json:"data,omitempty"`

	// Error Contains error details if the request failed; null if successful
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteV0EndpointsTagsByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteV0EndpointsTagsByIdResponse) StatusCode

func (r DeleteV0EndpointsTagsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteV0TeamsByIdMembersByUserIdResponse

type DeleteV0TeamsByIdMembersByUserIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The response object containing the following fields:
		Data *struct {
			// Message A message confirming the user was removed successfully
			Message *string `json:"message,omitempty"`
		} `json:"data,omitempty"`

		// Error An error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParseDeleteV0TeamsByIdMembersByUserIdResponse

func ParseDeleteV0TeamsByIdMembersByUserIdResponse(rsp *http.Response) (*DeleteV0TeamsByIdMembersByUserIdResponse, error)

ParseDeleteV0TeamsByIdMembersByUserIdResponse parses an HTTP response from a DeleteV0TeamsByIdMembersByUserIdWithResponse call

func (DeleteV0TeamsByIdMembersByUserIdResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteV0TeamsByIdMembersByUserIdResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteV0TeamsByIdMembersByUserIdResponse) GetJSON200

func (r DeleteV0TeamsByIdMembersByUserIdResponse) GetJSON200() *struct {
	// Data The response object containing the following fields:
	Data *struct {
		// Message A message confirming the user was removed successfully
		Message *string `json:"message,omitempty"`
	} `json:"data,omitempty"`

	// Error An error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteV0TeamsByIdMembersByUserIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteV0TeamsByIdMembersByUserIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteV0TeamsByIdResponse

type DeleteV0TeamsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The response object containing the following fields:
		Data *struct {
			// Message A message confirming the team was deleted successfully
			Message *string `json:"message,omitempty"`
		} `json:"data,omitempty"`

		// Error An error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParseDeleteV0TeamsByIdResponse

func ParseDeleteV0TeamsByIdResponse(rsp *http.Response) (*DeleteV0TeamsByIdResponse, error)

ParseDeleteV0TeamsByIdResponse parses an HTTP response from a DeleteV0TeamsByIdWithResponse call

func (DeleteV0TeamsByIdResponse) ContentType

func (r DeleteV0TeamsByIdResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteV0TeamsByIdResponse) GetBody

func (r DeleteV0TeamsByIdResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteV0TeamsByIdResponse) GetJSON200

func (r DeleteV0TeamsByIdResponse) GetJSON200() *struct {
	// Data The response object containing the following fields:
	Data *struct {
		// Message A message confirming the team was deleted successfully
		Message *string `json:"message,omitempty"`
	} `json:"data,omitempty"`

	// Error An error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteV0TeamsByIdResponse) Status

func (r DeleteV0TeamsByIdResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteV0TeamsByIdResponse) StatusCode

func (r DeleteV0TeamsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0AccountInfoResponse

type GetV0AccountInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data An object which contains the following fields:
		Data *struct {
			// BillingVersion The billing version associated with the account
			BillingVersion *string `json:"billing_version,omitempty"`

			// CreatedAt The timestamp when the account was created
			CreatedAt *string `json:"created_at,omitempty"`

			// Id The unique identifier for the account
			Id *int `json:"id,omitempty"`

			// Name The name of the account
			Name *string `json:"name,omitempty"`

			// Subscription An object containing the account's subscription details:
			Subscription *struct {
				// Interval The billing interval of the subscription
				Interval *string `json:"interval,omitempty"`

				// PlanName The name of the subscription plan
				PlanName *string `json:"plan_name,omitempty"`

				// Status The status of the subscription
				Status *string `json:"status,omitempty"`
			} `json:"subscription,omitempty"`
		} `json:"data,omitempty"`

		// Error An error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParseGetV0AccountInfoResponse

func ParseGetV0AccountInfoResponse(rsp *http.Response) (*GetV0AccountInfoResponse, error)

ParseGetV0AccountInfoResponse parses an HTTP response from a GetV0AccountInfoWithResponse call

func (GetV0AccountInfoResponse) ContentType

func (r GetV0AccountInfoResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0AccountInfoResponse) GetBody

func (r GetV0AccountInfoResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV0AccountInfoResponse) GetJSON200

func (r GetV0AccountInfoResponse) GetJSON200() *struct {
	// Data An object which contains the following fields:
	Data *struct {
		// BillingVersion The billing version associated with the account
		BillingVersion *string `json:"billing_version,omitempty"`

		// CreatedAt The timestamp when the account was created
		CreatedAt *string `json:"created_at,omitempty"`

		// Id The unique identifier for the account
		Id *int `json:"id,omitempty"`

		// Name The name of the account
		Name *string `json:"name,omitempty"`

		// Subscription An object containing the account's subscription details:
		Subscription *struct {
			// Interval The billing interval of the subscription
			Interval *string `json:"interval,omitempty"`

			// PlanName The name of the subscription plan
			PlanName *string `json:"plan_name,omitempty"`

			// Status The status of the subscription
			Status *string `json:"status,omitempty"`
		} `json:"subscription,omitempty"`
	} `json:"data,omitempty"`

	// Error An error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0AccountInfoResponse) Status

func (r GetV0AccountInfoResponse) Status() string

Status returns HTTPResponse.Status

func (GetV0AccountInfoResponse) StatusCode

func (r GetV0AccountInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0ApiCreditsByChainResponse

type GetV0ApiCreditsByChainResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data An array of data which contains the following fields:
		Data *[]struct {
			// Credits The API credit cost of the method for the account's billing version
			Credits *int `json:"credits,omitempty"`

			// Method The name of the RPC method
			Method *string `json:"method,omitempty"`
		} `json:"data,omitempty"`

		// Error An error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParseGetV0ApiCreditsByChainResponse

func ParseGetV0ApiCreditsByChainResponse(rsp *http.Response) (*GetV0ApiCreditsByChainResponse, error)

ParseGetV0ApiCreditsByChainResponse parses an HTTP response from a GetV0ApiCreditsByChainWithResponse call

func (GetV0ApiCreditsByChainResponse) ContentType

func (r GetV0ApiCreditsByChainResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0ApiCreditsByChainResponse) GetBody

func (r GetV0ApiCreditsByChainResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV0ApiCreditsByChainResponse) GetJSON200

func (r GetV0ApiCreditsByChainResponse) GetJSON200() *struct {
	// Data An array of data which contains the following fields:
	Data *[]struct {
		// Credits The API credit cost of the method for the account's billing version
		Credits *int `json:"credits,omitempty"`

		// Method The name of the RPC method
		Method *string `json:"method,omitempty"`
	} `json:"data,omitempty"`

	// Error An error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0ApiCreditsByChainResponse) Status

Status returns HTTPResponse.Status

func (GetV0ApiCreditsByChainResponse) StatusCode

func (r GetV0ApiCreditsByChainResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0BillingInvoicesResponse

type GetV0BillingInvoicesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the following fields:
		Data *struct {
			// Invoices An array of invoices
			Invoices *[]struct {
				// AmountDue The total amount that is due on the invoice
				AmountDue *int `json:"amount_due,omitempty"`

				// AmountPaid The total amount that has been paid for the invoice
				AmountPaid *int `json:"amount_paid,omitempty"`

				// BillingReason The reason for generating the invoice
				BillingReason *string `json:"billing_reason,omitempty"`

				// Created The timestamp when the invoice was created in second
				Created *int `json:"created,omitempty"`

				// Id The unique identifier for the invoice
				Id *string `json:"id,omitempty"`

				// Lines An array of lines which contains the following fields:
				Lines *[]struct {
					// Amount The cost associated with each line item
					Amount *int `json:"amount,omitempty"`

					// Description A detailed description of each line item billed
					Description *string `json:"description,omitempty"`
				} `json:"lines,omitempty"`

				// PeriodEnd The end timestamp of the billing period for the invoice in second
				PeriodEnd *int `json:"period_end,omitempty"`

				// PeriodStart The start timestamp of the billing period for the invoice in second
				PeriodStart *int `json:"period_start,omitempty"`

				// Status The current state of the invoice
				Status *string `json:"status,omitempty"`

				// Subtotal The total cost of the invoice
				Subtotal *int `json:"subtotal,omitempty"`
			} `json:"invoices,omitempty"`
		} `json:"data,omitempty"`

		// Error An error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParseGetV0BillingInvoicesResponse

func ParseGetV0BillingInvoicesResponse(rsp *http.Response) (*GetV0BillingInvoicesResponse, error)

ParseGetV0BillingInvoicesResponse parses an HTTP response from a GetV0BillingInvoicesWithResponse call

func (GetV0BillingInvoicesResponse) ContentType

func (r GetV0BillingInvoicesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0BillingInvoicesResponse) GetBody

func (r GetV0BillingInvoicesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV0BillingInvoicesResponse) GetJSON200

func (r GetV0BillingInvoicesResponse) GetJSON200() *struct {
	// Data The data object which contains the following fields:
	Data *struct {
		// Invoices An array of invoices
		Invoices *[]struct {
			// AmountDue The total amount that is due on the invoice
			AmountDue *int `json:"amount_due,omitempty"`

			// AmountPaid The total amount that has been paid for the invoice
			AmountPaid *int `json:"amount_paid,omitempty"`

			// BillingReason The reason for generating the invoice
			BillingReason *string `json:"billing_reason,omitempty"`

			// Created The timestamp when the invoice was created in second
			Created *int `json:"created,omitempty"`

			// Id The unique identifier for the invoice
			Id *string `json:"id,omitempty"`

			// Lines An array of lines which contains the following fields:
			Lines *[]struct {
				// Amount The cost associated with each line item
				Amount *int `json:"amount,omitempty"`

				// Description A detailed description of each line item billed
				Description *string `json:"description,omitempty"`
			} `json:"lines,omitempty"`

			// PeriodEnd The end timestamp of the billing period for the invoice in second
			PeriodEnd *int `json:"period_end,omitempty"`

			// PeriodStart The start timestamp of the billing period for the invoice in second
			PeriodStart *int `json:"period_start,omitempty"`

			// Status The current state of the invoice
			Status *string `json:"status,omitempty"`

			// Subtotal The total cost of the invoice
			Subtotal *int `json:"subtotal,omitempty"`
		} `json:"invoices,omitempty"`
	} `json:"data,omitempty"`

	// Error An error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0BillingInvoicesResponse) Status

Status returns HTTPResponse.Status

func (GetV0BillingInvoicesResponse) StatusCode

func (r GetV0BillingInvoicesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0BillingPaymentsResponse

type GetV0BillingPaymentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the following fields:
		Data *struct {
			// Payments An array of payments associated with the account
			Payments *[]struct {
				// Amount The total amount of the payment
				Amount *string `json:"amount,omitempty"`

				// CardLast4 The last four digits of the card used for the payment (masked for security)
				CardLast4 *string `json:"card_last_4,omitempty"`

				// CreatedAt The timestamp when the payment was created in second
				CreatedAt *string `json:"created_at,omitempty"`

				// Currency The currency in which the payment was made
				Currency *string `json:"currency,omitempty"`

				// MarketplaceAmount The total amount spent in the marketplace
				MarketplaceAmount *string `json:"marketplace_amount,omitempty"`

				// Status The current status of the payment
				Status *string `json:"status,omitempty"`
			} `json:"payments,omitempty"`
		} `json:"data,omitempty"`

		// Error An error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParseGetV0BillingPaymentsResponse

func ParseGetV0BillingPaymentsResponse(rsp *http.Response) (*GetV0BillingPaymentsResponse, error)

ParseGetV0BillingPaymentsResponse parses an HTTP response from a GetV0BillingPaymentsWithResponse call

func (GetV0BillingPaymentsResponse) ContentType

func (r GetV0BillingPaymentsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0BillingPaymentsResponse) GetBody

func (r GetV0BillingPaymentsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV0BillingPaymentsResponse) GetJSON200

func (r GetV0BillingPaymentsResponse) GetJSON200() *struct {
	// Data The data object which contains the following fields:
	Data *struct {
		// Payments An array of payments associated with the account
		Payments *[]struct {
			// Amount The total amount of the payment
			Amount *string `json:"amount,omitempty"`

			// CardLast4 The last four digits of the card used for the payment (masked for security)
			CardLast4 *string `json:"card_last_4,omitempty"`

			// CreatedAt The timestamp when the payment was created in second
			CreatedAt *string `json:"created_at,omitempty"`

			// Currency The currency in which the payment was made
			Currency *string `json:"currency,omitempty"`

			// MarketplaceAmount The total amount spent in the marketplace
			MarketplaceAmount *string `json:"marketplace_amount,omitempty"`

			// Status The current status of the payment
			Status *string `json:"status,omitempty"`
		} `json:"payments,omitempty"`
	} `json:"data,omitempty"`

	// Error An error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0BillingPaymentsResponse) Status

Status returns HTTPResponse.Status

func (GetV0BillingPaymentsResponse) StatusCode

func (r GetV0BillingPaymentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0ChainsResponse

type GetV0ChainsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data An array of data which contains the following fields:
		Data *[]struct {
			IsSelectChain *bool `json:"is_select_chain,omitempty"`

			// Networks An array of networks
			Networks *[]struct {
				ChainId *int `json:"chain_id,omitempty"`

				// Name The name of the specific network
				Name *string `json:"name,omitempty"`

				// Slug A short, unique identifier for the specific network
				Slug *string `json:"slug,omitempty"`
			} `json:"networks,omitempty"`

			// Slug A short, unique identifier for the blockchain network
			Slug *string `json:"slug,omitempty"`
		} `json:"data,omitempty"`

		// Error An error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParseGetV0ChainsResponse

func ParseGetV0ChainsResponse(rsp *http.Response) (*GetV0ChainsResponse, error)

ParseGetV0ChainsResponse parses an HTTP response from a GetV0ChainsWithResponse call

func (GetV0ChainsResponse) ContentType

func (r GetV0ChainsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0ChainsResponse) GetBody

func (r GetV0ChainsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV0ChainsResponse) GetJSON200

func (r GetV0ChainsResponse) GetJSON200() *struct {
	// Data An array of data which contains the following fields:
	Data *[]struct {
		IsSelectChain *bool `json:"is_select_chain,omitempty"`

		// Networks An array of networks
		Networks *[]struct {
			ChainId *int `json:"chain_id,omitempty"`

			// Name The name of the specific network
			Name *string `json:"name,omitempty"`

			// Slug A short, unique identifier for the specific network
			Slug *string `json:"slug,omitempty"`
		} `json:"networks,omitempty"`

		// Slug A short, unique identifier for the blockchain network
		Slug *string `json:"slug,omitempty"`
	} `json:"data,omitempty"`

	// Error An error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0ChainsResponse) Status

func (r GetV0ChainsResponse) Status() string

Status returns HTTPResponse.Status

func (GetV0ChainsResponse) StatusCode

func (r GetV0ChainsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0EndpointsByIdLogDetailsParams

type GetV0EndpointsByIdLogDetailsParams struct {
	// RequestId The UUID of the log entry
	RequestId string `form:"request_id" json:"request_id"`
}

GetV0EndpointsByIdLogDetailsParams defines parameters for GetV0EndpointsByIdLogDetails.

type GetV0EndpointsByIdLogDetailsResponse

type GetV0EndpointsByIdLogDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data Contains detailed information about a specific log entry, including the raw request that was sent and the response that was received.
		Data *struct {
			// Request A JSON-encoded string representing the request payload that was sent in the original log entry. The logs are truncated after 2KB.
			Request *string `json:"request,omitempty"`

			// Response A JSON-encoded string containing the full response returned by the API or aggregator for the logged request. The logs are truncated after 2KB.
			Response *string `json:"response,omitempty"`
		} `json:"data,omitempty"`
	}
}

func ParseGetV0EndpointsByIdLogDetailsResponse

func ParseGetV0EndpointsByIdLogDetailsResponse(rsp *http.Response) (*GetV0EndpointsByIdLogDetailsResponse, error)

ParseGetV0EndpointsByIdLogDetailsResponse parses an HTTP response from a GetV0EndpointsByIdLogDetailsWithResponse call

func (GetV0EndpointsByIdLogDetailsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0EndpointsByIdLogDetailsResponse) GetBody

GetBody returns the raw response body bytes

func (GetV0EndpointsByIdLogDetailsResponse) GetJSON200

func (r GetV0EndpointsByIdLogDetailsResponse) GetJSON200() *struct {
	// Data Contains detailed information about a specific log entry, including the raw request that was sent and the response that was received.
	Data *struct {
		// Request A JSON-encoded string representing the request payload that was sent in the original log entry. The logs are truncated after 2KB.
		Request *string `json:"request,omitempty"`

		// Response A JSON-encoded string containing the full response returned by the API or aggregator for the logged request. The logs are truncated after 2KB.
		Response *string `json:"response,omitempty"`
	} `json:"data,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0EndpointsByIdLogDetailsResponse) Status

Status returns HTTPResponse.Status

func (GetV0EndpointsByIdLogDetailsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV0EndpointsByIdLogsParams

type GetV0EndpointsByIdLogsParams struct {
	// From The start timestamp encoded in ISO8601 format
	From string `form:"from" json:"from"`

	// To The end timestamp encoded in ISO8601 format
	To string `form:"to" json:"to"`

	// Limit Number of logs (1-100, default: 20)
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// IncludeDetails Includes request/response details. The default value is set to be false
	IncludeDetails *bool `form:"include_details,omitempty" json:"include_details,omitempty"`

	// NextAt Pagination token from previous response
	NextAt *string `form:"next_at,omitempty" json:"next_at,omitempty"`
}

GetV0EndpointsByIdLogsParams defines parameters for GetV0EndpointsByIdLogs.

type GetV0EndpointsByIdLogsResponse

type GetV0EndpointsByIdLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data An array of log entries which contains the following fields:
		Data *[]struct {
			// Details Additional error details if available (nullable)
			Details *string `json:"details,omitempty"`

			// ErrorCode The application-specific error code returned
			ErrorCode *int `json:"error_code,omitempty"`

			// HttpMethod The HTTP method used for the request
			HttpMethod *string `json:"http_method,omitempty"`

			// Method The name of the method invoked
			Method *string `json:"method,omitempty"`

			// Network The name of the network on which the method was called
			Network *string `json:"network,omitempty"`

			// RequestId The unique identifier for the request
			RequestId *string `json:"request_id,omitempty"`

			// Status The HTTP status code returned by the request
			Status *int `json:"status,omitempty"`

			// Timestamp The timestamp when the log was recorded
			Timestamp *string `json:"timestamp,omitempty"`

			// Url The request URL
			Url *string `json:"url,omitempty"`
		} `json:"data,omitempty"`

		// NextAt A cursor string used for pagination to fetch the next set of logs
		NextAt *string `json:"next_at,omitempty"`
	}
}

func ParseGetV0EndpointsByIdLogsResponse

func ParseGetV0EndpointsByIdLogsResponse(rsp *http.Response) (*GetV0EndpointsByIdLogsResponse, error)

ParseGetV0EndpointsByIdLogsResponse parses an HTTP response from a GetV0EndpointsByIdLogsWithResponse call

func (GetV0EndpointsByIdLogsResponse) ContentType

func (r GetV0EndpointsByIdLogsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0EndpointsByIdLogsResponse) GetBody

func (r GetV0EndpointsByIdLogsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV0EndpointsByIdLogsResponse) GetJSON200

func (r GetV0EndpointsByIdLogsResponse) GetJSON200() *struct {
	// Data An array of log entries which contains the following fields:
	Data *[]struct {
		// Details Additional error details if available (nullable)
		Details *string `json:"details,omitempty"`

		// ErrorCode The application-specific error code returned
		ErrorCode *int `json:"error_code,omitempty"`

		// HttpMethod The HTTP method used for the request
		HttpMethod *string `json:"http_method,omitempty"`

		// Method The name of the method invoked
		Method *string `json:"method,omitempty"`

		// Network The name of the network on which the method was called
		Network *string `json:"network,omitempty"`

		// RequestId The unique identifier for the request
		RequestId *string `json:"request_id,omitempty"`

		// Status The HTTP status code returned by the request
		Status *int `json:"status,omitempty"`

		// Timestamp The timestamp when the log was recorded
		Timestamp *string `json:"timestamp,omitempty"`

		// Url The request URL
		Url *string `json:"url,omitempty"`
	} `json:"data,omitempty"`

	// NextAt A cursor string used for pagination to fetch the next set of logs
	NextAt *string `json:"next_at,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0EndpointsByIdLogsResponse) Status

Status returns HTTPResponse.Status

func (GetV0EndpointsByIdLogsResponse) StatusCode

func (r GetV0EndpointsByIdLogsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0EndpointsByIdMethodRateLimitsResponse

type GetV0EndpointsByIdMethodRateLimitsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the following fields:
		Data *struct {
			// RateLimiters An array of rate limiter configurations
			RateLimiters *[]struct {
				// Created The timestamp when the rate limiter was created in second
				Created *string `json:"created,omitempty"`

				// Id A unique identifier for the rate limiter
				Id *string `json:"id,omitempty"`

				// Interval The time interval for the rate limit
				Interval *string `json:"interval,omitempty"`

				// Methods A list of method names to which the rate limiter applies
				Methods *[]string `json:"methods,omitempty"`

				// Rate The number of allowed requests within the specified interval
				Rate *int `json:"rate,omitempty"`

				// Status The current status of the rate limiter
				Status *string `json:"status,omitempty"`
			} `json:"rate_limiters,omitempty"`
		} `json:"data,omitempty"`

		// Error A field containing an error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParseGetV0EndpointsByIdMethodRateLimitsResponse

func ParseGetV0EndpointsByIdMethodRateLimitsResponse(rsp *http.Response) (*GetV0EndpointsByIdMethodRateLimitsResponse, error)

ParseGetV0EndpointsByIdMethodRateLimitsResponse parses an HTTP response from a GetV0EndpointsByIdMethodRateLimitsWithResponse call

func (GetV0EndpointsByIdMethodRateLimitsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0EndpointsByIdMethodRateLimitsResponse) GetBody

GetBody returns the raw response body bytes

func (GetV0EndpointsByIdMethodRateLimitsResponse) GetJSON200

func (r GetV0EndpointsByIdMethodRateLimitsResponse) GetJSON200() *struct {
	// Data The data object which contains the following fields:
	Data *struct {
		// RateLimiters An array of rate limiter configurations
		RateLimiters *[]struct {
			// Created The timestamp when the rate limiter was created in second
			Created *string `json:"created,omitempty"`

			// Id A unique identifier for the rate limiter
			Id *string `json:"id,omitempty"`

			// Interval The time interval for the rate limit
			Interval *string `json:"interval,omitempty"`

			// Methods A list of method names to which the rate limiter applies
			Methods *[]string `json:"methods,omitempty"`

			// Rate The number of allowed requests within the specified interval
			Rate *int `json:"rate,omitempty"`

			// Status The current status of the rate limiter
			Status *string `json:"status,omitempty"`
		} `json:"rate_limiters,omitempty"`
	} `json:"data,omitempty"`

	// Error A field containing an error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0EndpointsByIdMethodRateLimitsResponse) Status

Status returns HTTPResponse.Status

func (GetV0EndpointsByIdMethodRateLimitsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV0EndpointsByIdMetricsParams

type GetV0EndpointsByIdMetricsParams struct {
	// Period Specifies the time period for which the data is to be retrieved. Valid values includes - hour, day, week or month
	Period string `form:"period" json:"period"`

	// Metric Specifies the type of metric to retrieve. Valid values includes - method_calls_over_time, response_status_over_time, method_call_breakdown, response_status_breakdown or method_response_time_max
	Metric string `form:"metric" json:"metric"`

	// Percentile Required when metric is method_response_time_max. Selects the response time percentile to return. For example, 95 returns the response time at or below which 95% of observed RPC responses completed. Accepted values: integers from 1 to 100, such as 50, 95, or 99
	Percentile *int `form:"percentile,omitempty" json:"percentile,omitempty"`
}

GetV0EndpointsByIdMetricsParams defines parameters for GetV0EndpointsByIdMetrics.

type GetV0EndpointsByIdMetricsResponse

type GetV0EndpointsByIdMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data An array of data
		Data *[]struct {
			// Data A nested list of numerical values representing the metric fetched for the endpoint
			Data *[]interface{} `json:"data,omitempty"`

			// Tag A string label that identifies or categorizes the specific metric
			Tag *string `json:"tag,omitempty"`
		} `json:"data,omitempty"`

		// Error A string containing an error message if the request to fetch the metric fails
		Error *string `json:"error,omitempty"`
	}
}

func ParseGetV0EndpointsByIdMetricsResponse

func ParseGetV0EndpointsByIdMetricsResponse(rsp *http.Response) (*GetV0EndpointsByIdMetricsResponse, error)

ParseGetV0EndpointsByIdMetricsResponse parses an HTTP response from a GetV0EndpointsByIdMetricsWithResponse call

func (GetV0EndpointsByIdMetricsResponse) ContentType

func (r GetV0EndpointsByIdMetricsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0EndpointsByIdMetricsResponse) GetBody

GetBody returns the raw response body bytes

func (GetV0EndpointsByIdMetricsResponse) GetJSON200

func (r GetV0EndpointsByIdMetricsResponse) GetJSON200() *struct {
	// Data An array of data
	Data *[]struct {
		// Data A nested list of numerical values representing the metric fetched for the endpoint
		Data *[]interface{} `json:"data,omitempty"`

		// Tag A string label that identifies or categorizes the specific metric
		Tag *string `json:"tag,omitempty"`
	} `json:"data,omitempty"`

	// Error A string containing an error message if the request to fetch the metric fails
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0EndpointsByIdMetricsResponse) Status

Status returns HTTPResponse.Status

func (GetV0EndpointsByIdMetricsResponse) StatusCode

func (r GetV0EndpointsByIdMetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0EndpointsByIdRateLimitsResponse

type GetV0EndpointsByIdRateLimitsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the endpoint rate limit configuration
		Data *struct {
			// RateLimits An array of endpoint rate limit configurations
			RateLimits *[]struct {
				// Bucket The rate limit bucket, such as rps, rpm, or rpd
				Bucket *string `json:"bucket,omitempty"`

				// Id The unique identifier for a user-set endpoint rate limit override. This field is returned for user_override rate limits and can be used to delete a specific endpoint rate limit.
				Id *string `json:"id,omitempty"`

				// RateLimit The rate limit value for the bucket
				RateLimit *int `json:"rate_limit,omitempty"`

				// Source The source of the rate limit, such as plan_default or user_override
				Source *string `json:"source,omitempty"`
			} `json:"rate_limits,omitempty"`
		} `json:"data,omitempty"`

		// Error A field containing an error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParseGetV0EndpointsByIdRateLimitsResponse

func ParseGetV0EndpointsByIdRateLimitsResponse(rsp *http.Response) (*GetV0EndpointsByIdRateLimitsResponse, error)

ParseGetV0EndpointsByIdRateLimitsResponse parses an HTTP response from a GetV0EndpointsByIdRateLimitsWithResponse call

func (GetV0EndpointsByIdRateLimitsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0EndpointsByIdRateLimitsResponse) GetBody

GetBody returns the raw response body bytes

func (GetV0EndpointsByIdRateLimitsResponse) GetJSON200

func (r GetV0EndpointsByIdRateLimitsResponse) GetJSON200() *struct {
	// Data The data object which contains the endpoint rate limit configuration
	Data *struct {
		// RateLimits An array of endpoint rate limit configurations
		RateLimits *[]struct {
			// Bucket The rate limit bucket, such as rps, rpm, or rpd
			Bucket *string `json:"bucket,omitempty"`

			// Id The unique identifier for a user-set endpoint rate limit override. This field is returned for user_override rate limits and can be used to delete a specific endpoint rate limit.
			Id *string `json:"id,omitempty"`

			// RateLimit The rate limit value for the bucket
			RateLimit *int `json:"rate_limit,omitempty"`

			// Source The source of the rate limit, such as plan_default or user_override
			Source *string `json:"source,omitempty"`
		} `json:"rate_limits,omitempty"`
	} `json:"data,omitempty"`

	// Error A field containing an error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0EndpointsByIdRateLimitsResponse) Status

Status returns HTTPResponse.Status

func (GetV0EndpointsByIdRateLimitsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV0EndpointsByIdResponse

type GetV0EndpointsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the following fields:
		Data *struct {
			// Chain The blockchain the endpoint is associated with
			Chain *string `json:"chain,omitempty"`

			// HttpUrl The HTTP URL to access the newly created endpoint
			HttpUrl *string `json:"http_url,omitempty"`

			// Id A unique identifier for the created endpoint
			Id           *string `json:"id,omitempty"`
			IsMultichain *bool   `json:"is_multichain,omitempty"`

			// Label A descriptive label for the endpoint
			Label *string `json:"label,omitempty"`

			// Network The specific network of the blockchain
			Network *string `json:"network,omitempty"`

			// RateLimits The rate_limits object which contains the following fields:
			RateLimits *struct {
				// Account The account-level rate limit
				Account *int `json:"account,omitempty"`

				// RateLimitByIp Specifies if rate limiting is applied per IP
				RateLimitByIp *bool `json:"rate_limit_by_ip,omitempty"`

				// Rpd Requests per day limit
				Rpd *int `json:"rpd,omitempty"`

				// Rpm Requests per minute limit
				Rpm *int `json:"rpm,omitempty"`

				// Rps Requests per second limit
				Rps *int `json:"rps,omitempty"`
			} `json:"rate_limits,omitempty"`

			// Security The security object which contains the following fields:
			Security *struct {
				DomainMasks *[]struct {
					Domain *string `json:"domain,omitempty"`
					Id     *string `json:"id,omitempty"`
				} `json:"domain_masks,omitempty"`

				// Ips An array of IP-based security configurations
				Ips *[]struct {
					// Id A unique identifier for the IP configuration
					Id *string `json:"id,omitempty"`

					// Ip The allowed IP address for accessing the endpoint
					Ip *string `json:"ip,omitempty"`
				} `json:"ips,omitempty"`

				// Jwts An array of JSON Web Token (JWT) configurations
				Jwts *[]struct {
					// Id A unique identifier for the JWT
					Id *string `json:"id,omitempty"`

					// Kid A unique key identifier for the JWT public key
					Kid *string `json:"kid,omitempty"`

					// Name The name of the JWT
					Name *string `json:"name,omitempty"`

					// PublicKey The public key used in the JWT
					PublicKey *string `json:"public_key,omitempty"`
				} `json:"jwts,omitempty"`
				Options *struct {
					Cors           *bool `json:"cors,omitempty"`
					DomainMasks    *bool `json:"domainMasks,omitempty"`
					Hsts           *bool `json:"hsts,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"`
					ResponseLogging *bool `json:"responseLogging,omitempty"`
					Tokens          *bool `json:"tokens,omitempty"`
				} `json:"options,omitempty"`

				// Referrers An array of referrer-based security configurations
				Referrers *[]struct {
					// Id A unique identifier for the referrer.
					Id *string `json:"id,omitempty"`

					// Referrer The referrer URL allowed to access the endpoint
					Referrer *string `json:"referrer,omitempty"`
				} `json:"referrers,omitempty"`
				RequestFilters *[]struct {
					Id     *string   `json:"id,omitempty"`
					Method *[]string `json:"method,omitempty"`
				} `json:"request_filters,omitempty"`

				// Tokens An array of token-based security configurations
				Tokens *[]struct {
					// Id A unique identifier for the token
					Id *string `json:"id,omitempty"`

					// Token The actual token value used for authentication
					Token *string `json:"token,omitempty"`
				} `json:"tokens,omitempty"`
			} `json:"security,omitempty"`

			// Status Current state of the endpoint — either `active` or `paused`
			Status *string `json:"status,omitempty"`
			Tags   *[]struct {
				Label *string `json:"label,omitempty"`
				TagId *int    `json:"tag_id,omitempty"`
			} `json:"tags,omitempty"`

			// WssUrl The WebSocket URL to access the newly created endpoint
			WssUrl *string `json:"wss_url,omitempty"`
		} `json:"data,omitempty"`

		// Error Contains error information, if any
		Error *string `json:"error,omitempty"`
	}
}

func ParseGetV0EndpointsByIdResponse

func ParseGetV0EndpointsByIdResponse(rsp *http.Response) (*GetV0EndpointsByIdResponse, error)

ParseGetV0EndpointsByIdResponse parses an HTTP response from a GetV0EndpointsByIdWithResponse call

func (GetV0EndpointsByIdResponse) ContentType

func (r GetV0EndpointsByIdResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0EndpointsByIdResponse) GetBody

func (r GetV0EndpointsByIdResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV0EndpointsByIdResponse) GetJSON200

func (r GetV0EndpointsByIdResponse) GetJSON200() *struct {
	// Data The data object which contains the following fields:
	Data *struct {
		// Chain The blockchain the endpoint is associated with
		Chain *string `json:"chain,omitempty"`

		// HttpUrl The HTTP URL to access the newly created endpoint
		HttpUrl *string `json:"http_url,omitempty"`

		// Id A unique identifier for the created endpoint
		Id           *string `json:"id,omitempty"`
		IsMultichain *bool   `json:"is_multichain,omitempty"`

		// Label A descriptive label for the endpoint
		Label *string `json:"label,omitempty"`

		// Network The specific network of the blockchain
		Network *string `json:"network,omitempty"`

		// RateLimits The rate_limits object which contains the following fields:
		RateLimits *struct {
			// Account The account-level rate limit
			Account *int `json:"account,omitempty"`

			// RateLimitByIp Specifies if rate limiting is applied per IP
			RateLimitByIp *bool `json:"rate_limit_by_ip,omitempty"`

			// Rpd Requests per day limit
			Rpd *int `json:"rpd,omitempty"`

			// Rpm Requests per minute limit
			Rpm *int `json:"rpm,omitempty"`

			// Rps Requests per second limit
			Rps *int `json:"rps,omitempty"`
		} `json:"rate_limits,omitempty"`

		// Security The security object which contains the following fields:
		Security *struct {
			DomainMasks *[]struct {
				Domain *string `json:"domain,omitempty"`
				Id     *string `json:"id,omitempty"`
			} `json:"domain_masks,omitempty"`

			// Ips An array of IP-based security configurations
			Ips *[]struct {
				// Id A unique identifier for the IP configuration
				Id *string `json:"id,omitempty"`

				// Ip The allowed IP address for accessing the endpoint
				Ip *string `json:"ip,omitempty"`
			} `json:"ips,omitempty"`

			// Jwts An array of JSON Web Token (JWT) configurations
			Jwts *[]struct {
				// Id A unique identifier for the JWT
				Id *string `json:"id,omitempty"`

				// Kid A unique key identifier for the JWT public key
				Kid *string `json:"kid,omitempty"`

				// Name The name of the JWT
				Name *string `json:"name,omitempty"`

				// PublicKey The public key used in the JWT
				PublicKey *string `json:"public_key,omitempty"`
			} `json:"jwts,omitempty"`
			Options *struct {
				Cors           *bool `json:"cors,omitempty"`
				DomainMasks    *bool `json:"domainMasks,omitempty"`
				Hsts           *bool `json:"hsts,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"`
				ResponseLogging *bool `json:"responseLogging,omitempty"`
				Tokens          *bool `json:"tokens,omitempty"`
			} `json:"options,omitempty"`

			// Referrers An array of referrer-based security configurations
			Referrers *[]struct {
				// Id A unique identifier for the referrer.
				Id *string `json:"id,omitempty"`

				// Referrer The referrer URL allowed to access the endpoint
				Referrer *string `json:"referrer,omitempty"`
			} `json:"referrers,omitempty"`
			RequestFilters *[]struct {
				Id     *string   `json:"id,omitempty"`
				Method *[]string `json:"method,omitempty"`
			} `json:"request_filters,omitempty"`

			// Tokens An array of token-based security configurations
			Tokens *[]struct {
				// Id A unique identifier for the token
				Id *string `json:"id,omitempty"`

				// Token The actual token value used for authentication
				Token *string `json:"token,omitempty"`
			} `json:"tokens,omitempty"`
		} `json:"security,omitempty"`

		// Status Current state of the endpoint — either `active` or `paused`
		Status *string `json:"status,omitempty"`
		Tags   *[]struct {
			Label *string `json:"label,omitempty"`
			TagId *int    `json:"tag_id,omitempty"`
		} `json:"tags,omitempty"`

		// WssUrl The WebSocket URL to access the newly created endpoint
		WssUrl *string `json:"wss_url,omitempty"`
	} `json:"data,omitempty"`

	// Error Contains error information, if any
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0EndpointsByIdResponse) Status

Status returns HTTPResponse.Status

func (GetV0EndpointsByIdResponse) StatusCode

func (r GetV0EndpointsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0EndpointsByIdSecurityOptionsResponse

type GetV0EndpointsByIdSecurityOptionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the following fields:
		Data *struct {
			// Option Represents the security options
			Option *string `json:"option,omitempty"`

			// Status Indicates the status of the option. Possible values: enabled, disabled
			Status *string `json:"status,omitempty"`
		} `json:"data,omitempty"`

		// Error A field containing an error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParseGetV0EndpointsByIdSecurityOptionsResponse

func ParseGetV0EndpointsByIdSecurityOptionsResponse(rsp *http.Response) (*GetV0EndpointsByIdSecurityOptionsResponse, error)

ParseGetV0EndpointsByIdSecurityOptionsResponse parses an HTTP response from a GetV0EndpointsByIdSecurityOptionsWithResponse call

func (GetV0EndpointsByIdSecurityOptionsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0EndpointsByIdSecurityOptionsResponse) GetBody

GetBody returns the raw response body bytes

func (GetV0EndpointsByIdSecurityOptionsResponse) GetJSON200

func (r GetV0EndpointsByIdSecurityOptionsResponse) GetJSON200() *struct {
	// Data The data object which contains the following fields:
	Data *struct {
		// Option Represents the security options
		Option *string `json:"option,omitempty"`

		// Status Indicates the status of the option. Possible values: enabled, disabled
		Status *string `json:"status,omitempty"`
	} `json:"data,omitempty"`

	// Error A field containing an error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0EndpointsByIdSecurityOptionsResponse) Status

Status returns HTTPResponse.Status

func (GetV0EndpointsByIdSecurityOptionsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV0EndpointsByIdSecurityResponse

type GetV0EndpointsByIdSecurityResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data Contains the security state of the endpoint
		Data *struct {
			// DomainMasks An array of domain mask entries; null if none configured
			DomainMasks *[]struct {
				Domain *string `json:"domain,omitempty"`
				Id     *string `json:"id,omitempty"`
			} `json:"domain_masks,omitempty"`

			// Ips An array of allowed IP entries; null if none configured
			Ips *[]struct {
				Id *string `json:"id,omitempty"`
				Ip *string `json:"ip,omitempty"`
			} `json:"ips,omitempty"`

			// Jwts An array of JWT configuration objects; null if none configured
			Jwts *[]struct {
				Id        *string `json:"id,omitempty"`
				Kid       *string `json:"kid,omitempty"`
				Name      *string `json:"name,omitempty"`
				PublicKey *string `json:"public_key,omitempty"`
			} `json:"jwts,omitempty"`

			// Options Security feature toggles for the endpoint
			Options *struct {
				// Cors Whether CORS is enabled
				Cors *bool `json:"cors,omitempty"`

				// DomainMasks Whether domain mask restrictions are enabled
				DomainMasks *bool `json:"domainMasks,omitempty"`

				// Hsts Whether HSTS is enabled
				Hsts *bool `json:"hsts,omitempty"`

				// IpCustomHeader IP custom header configuration
				IpCustomHeader *struct {
					// Value The IP custom header value; null if not set
					Value *string `json:"value,omitempty"`
				} `json:"ipCustomHeader,omitempty"`

				// Ips Whether IP-based restrictions are enabled
				Ips *bool `json:"ips,omitempty"`

				// Jwts Whether JWT-based authentication is enabled
				Jwts *bool `json:"jwts,omitempty"`

				// Referrers Whether referrer-based restrictions are enabled
				Referrers *bool `json:"referrers,omitempty"`

				// RequestFilters Whether request filters are enabled
				RequestFilters *bool `json:"requestFilters,omitempty"`

				// ResponseLogging Whether response logging is enabled
				ResponseLogging *bool `json:"responseLogging,omitempty"`

				// Tokens Whether token-based authentication is enabled
				Tokens *bool `json:"tokens,omitempty"`
			} `json:"options,omitempty"`

			// Referrers An array of allowed referrer entries; null if none configured
			Referrers *[]struct {
				Id       *string `json:"id,omitempty"`
				Referrer *string `json:"referrer,omitempty"`
			} `json:"referrers,omitempty"`

			// RequestFilters An array of request filter objects; null if none configured
			RequestFilters *[]struct {
				// Id The unique identifier (UUID) of the request filter
				Id *string `json:"id,omitempty"`

				// Method An array of whitelisted method names
				Method *[]string `json:"method,omitempty"`

				// Params Parameter constraints for the filter
				Params *map[string]interface{} `json:"params,omitempty"`
			} `json:"request_filters,omitempty"`

			// Tokens An array of authentication token objects; null if none configured
			Tokens *[]struct {
				// Id The unique identifier (UUID) of the token
				Id *string `json:"id,omitempty"`

				// Token The authentication token value
				Token *string `json:"token,omitempty"`
			} `json:"tokens,omitempty"`
		} `json:"data,omitempty"`

		// Error Contains error details if the request failed; null if successful
		Error *string `json:"error,omitempty"`
	}
}

func ParseGetV0EndpointsByIdSecurityResponse

func ParseGetV0EndpointsByIdSecurityResponse(rsp *http.Response) (*GetV0EndpointsByIdSecurityResponse, error)

ParseGetV0EndpointsByIdSecurityResponse parses an HTTP response from a GetV0EndpointsByIdSecurityWithResponse call

func (GetV0EndpointsByIdSecurityResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0EndpointsByIdSecurityResponse) GetBody

GetBody returns the raw response body bytes

func (GetV0EndpointsByIdSecurityResponse) GetJSON200

func (r GetV0EndpointsByIdSecurityResponse) GetJSON200() *struct {
	// Data Contains the security state of the endpoint
	Data *struct {
		// DomainMasks An array of domain mask entries; null if none configured
		DomainMasks *[]struct {
			Domain *string `json:"domain,omitempty"`
			Id     *string `json:"id,omitempty"`
		} `json:"domain_masks,omitempty"`

		// Ips An array of allowed IP entries; null if none configured
		Ips *[]struct {
			Id *string `json:"id,omitempty"`
			Ip *string `json:"ip,omitempty"`
		} `json:"ips,omitempty"`

		// Jwts An array of JWT configuration objects; null if none configured
		Jwts *[]struct {
			Id        *string `json:"id,omitempty"`
			Kid       *string `json:"kid,omitempty"`
			Name      *string `json:"name,omitempty"`
			PublicKey *string `json:"public_key,omitempty"`
		} `json:"jwts,omitempty"`

		// Options Security feature toggles for the endpoint
		Options *struct {
			// Cors Whether CORS is enabled
			Cors *bool `json:"cors,omitempty"`

			// DomainMasks Whether domain mask restrictions are enabled
			DomainMasks *bool `json:"domainMasks,omitempty"`

			// Hsts Whether HSTS is enabled
			Hsts *bool `json:"hsts,omitempty"`

			// IpCustomHeader IP custom header configuration
			IpCustomHeader *struct {
				// Value The IP custom header value; null if not set
				Value *string `json:"value,omitempty"`
			} `json:"ipCustomHeader,omitempty"`

			// Ips Whether IP-based restrictions are enabled
			Ips *bool `json:"ips,omitempty"`

			// Jwts Whether JWT-based authentication is enabled
			Jwts *bool `json:"jwts,omitempty"`

			// Referrers Whether referrer-based restrictions are enabled
			Referrers *bool `json:"referrers,omitempty"`

			// RequestFilters Whether request filters are enabled
			RequestFilters *bool `json:"requestFilters,omitempty"`

			// ResponseLogging Whether response logging is enabled
			ResponseLogging *bool `json:"responseLogging,omitempty"`

			// Tokens Whether token-based authentication is enabled
			Tokens *bool `json:"tokens,omitempty"`
		} `json:"options,omitempty"`

		// Referrers An array of allowed referrer entries; null if none configured
		Referrers *[]struct {
			Id       *string `json:"id,omitempty"`
			Referrer *string `json:"referrer,omitempty"`
		} `json:"referrers,omitempty"`

		// RequestFilters An array of request filter objects; null if none configured
		RequestFilters *[]struct {
			// Id The unique identifier (UUID) of the request filter
			Id *string `json:"id,omitempty"`

			// Method An array of whitelisted method names
			Method *[]string `json:"method,omitempty"`

			// Params Parameter constraints for the filter
			Params *map[string]interface{} `json:"params,omitempty"`
		} `json:"request_filters,omitempty"`

		// Tokens An array of authentication token objects; null if none configured
		Tokens *[]struct {
			// Id The unique identifier (UUID) of the token
			Id *string `json:"id,omitempty"`

			// Token The authentication token value
			Token *string `json:"token,omitempty"`
		} `json:"tokens,omitempty"`
	} `json:"data,omitempty"`

	// Error Contains error details if the request failed; null if successful
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0EndpointsByIdSecurityResponse) Status

Status returns HTTPResponse.Status

func (GetV0EndpointsByIdSecurityResponse) StatusCode

func (r GetV0EndpointsByIdSecurityResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0EndpointsByIdTagsResponse

type GetV0EndpointsByIdTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the following fields:
		Data *struct {
			// Tags An array of tags associated with the endpoint
			Tags *[]struct {
				// AccountId The account identifier associated with the tag
				AccountId *int `json:"account_id,omitempty"`

				// CreatedAt The timestamp when the tag was created
				CreatedAt *string `json:"created_at,omitempty"`

				// EndpointId The endpoint identifier associated with the tag
				EndpointId *int `json:"endpoint_id,omitempty"`

				// Id The unique identifier for the endpoint-tag relationship
				Id *int `json:"id,omitempty"`

				// Label The label/name of the tag
				Label *string `json:"label,omitempty"`

				// TagId The unique identifier for the tag
				TagId *int `json:"tag_id,omitempty"`

				// UpdatedAt The timestamp when the tag was last updated
				UpdatedAt *string `json:"updated_at,omitempty"`
			} `json:"tags,omitempty"`
		} `json:"data,omitempty"`

		// Error Contains error information, if any
		Error *string `json:"error,omitempty"`
	}
}

func ParseGetV0EndpointsByIdTagsResponse

func ParseGetV0EndpointsByIdTagsResponse(rsp *http.Response) (*GetV0EndpointsByIdTagsResponse, error)

ParseGetV0EndpointsByIdTagsResponse parses an HTTP response from a GetV0EndpointsByIdTagsWithResponse call

func (GetV0EndpointsByIdTagsResponse) ContentType

func (r GetV0EndpointsByIdTagsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0EndpointsByIdTagsResponse) GetBody

func (r GetV0EndpointsByIdTagsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV0EndpointsByIdTagsResponse) GetJSON200

func (r GetV0EndpointsByIdTagsResponse) GetJSON200() *struct {
	// Data The data object which contains the following fields:
	Data *struct {
		// Tags An array of tags associated with the endpoint
		Tags *[]struct {
			// AccountId The account identifier associated with the tag
			AccountId *int `json:"account_id,omitempty"`

			// CreatedAt The timestamp when the tag was created
			CreatedAt *string `json:"created_at,omitempty"`

			// EndpointId The endpoint identifier associated with the tag
			EndpointId *int `json:"endpoint_id,omitempty"`

			// Id The unique identifier for the endpoint-tag relationship
			Id *int `json:"id,omitempty"`

			// Label The label/name of the tag
			Label *string `json:"label,omitempty"`

			// TagId The unique identifier for the tag
			TagId *int `json:"tag_id,omitempty"`

			// UpdatedAt The timestamp when the tag was last updated
			UpdatedAt *string `json:"updated_at,omitempty"`
		} `json:"tags,omitempty"`
	} `json:"data,omitempty"`

	// Error Contains error information, if any
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0EndpointsByIdTagsResponse) Status

Status returns HTTPResponse.Status

func (GetV0EndpointsByIdTagsResponse) StatusCode

func (r GetV0EndpointsByIdTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0EndpointsByIdUrlsResponse

type GetV0EndpointsByIdUrlsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the following fields:
		Data *struct {
			// HttpUrl The HTTP URL to access the endpoint
			HttpUrl *string `json:"http_url,omitempty"`

			// MultichainUrls Only present for multichain endpoints. Keyed by network slug, each value holds the network's HTTP and WebSocket URLs.
			MultichainUrls *map[string]struct {
				HttpUrl *string `json:"http_url,omitempty"`
				WssUrl  *string `json:"wss_url,omitempty"`
			} `json:"multichain_urls,omitempty"`

			// WssUrl The WebSocket URL to access the endpoint
			WssUrl *string `json:"wss_url,omitempty"`
		} `json:"data,omitempty"`

		// Error Contains error information, if any
		Error *string `json:"error,omitempty"`
	}
}

func ParseGetV0EndpointsByIdUrlsResponse

func ParseGetV0EndpointsByIdUrlsResponse(rsp *http.Response) (*GetV0EndpointsByIdUrlsResponse, error)

ParseGetV0EndpointsByIdUrlsResponse parses an HTTP response from a GetV0EndpointsByIdUrlsWithResponse call

func (GetV0EndpointsByIdUrlsResponse) ContentType

func (r GetV0EndpointsByIdUrlsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0EndpointsByIdUrlsResponse) GetBody

func (r GetV0EndpointsByIdUrlsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV0EndpointsByIdUrlsResponse) GetJSON200

func (r GetV0EndpointsByIdUrlsResponse) GetJSON200() *struct {
	// Data The data object which contains the following fields:
	Data *struct {
		// HttpUrl The HTTP URL to access the endpoint
		HttpUrl *string `json:"http_url,omitempty"`

		// MultichainUrls Only present for multichain endpoints. Keyed by network slug, each value holds the network's HTTP and WebSocket URLs.
		MultichainUrls *map[string]struct {
			HttpUrl *string `json:"http_url,omitempty"`
			WssUrl  *string `json:"wss_url,omitempty"`
		} `json:"multichain_urls,omitempty"`

		// WssUrl The WebSocket URL to access the endpoint
		WssUrl *string `json:"wss_url,omitempty"`
	} `json:"data,omitempty"`

	// Error Contains error information, if any
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0EndpointsByIdUrlsResponse) Status

Status returns HTTPResponse.Status

func (GetV0EndpointsByIdUrlsResponse) StatusCode

func (r GetV0EndpointsByIdUrlsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0EndpointsParams

type GetV0EndpointsParams struct {
	// Limit Specifies the maximum number of endpoints to retrieve in the response. The default value is set to 20
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Specifies the number of endpoints to skip before starting to retrieve the list
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`

	// Search Search endpoints by subdomain or label
	Search *string `form:"search,omitempty" json:"search,omitempty"`

	// SortBy Sort field. Accepted values: name, status, network, label, tags, usage, created_at. Default value: created_at
	SortBy *string `form:"sort_by,omitempty" json:"sort_by,omitempty"`

	// SortDirection Sort direction. Accepted values: asc, desc. Default value: ASC
	SortDirection *string `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 endpoint status. Accepted values: active, paused
	Statuses *[]string `form:"statuses,omitempty" json:"statuses,omitempty"`

	// Labels Filter by endpoint label(s)
	Labels *[]string `form:"labels,omitempty" json:"labels,omitempty"`

	// Dedicated Filter for dedicated endpoints only
	Dedicated *bool `form:"dedicated,omitempty" json:"dedicated,omitempty"`

	// IsFlatRate Filter for flat rate endpoints only
	IsFlatRate *bool `form:"is_flat_rate,omitempty" json:"is_flat_rate,omitempty"`

	// TagIds Filter endpoints by tag IDs. Can be a single integer or an array of integers. Optional. Cannot be used together with tag_labels
	TagIds *[]int `form:"tag_ids,omitempty" json:"tag_ids,omitempty"`

	// TagLabels Filter endpoints by tag labels. Can be a single string or an array of strings. Optional. Cannot be used together with tag_ids
	TagLabels *[]string `form:"tag_labels,omitempty" json:"tag_labels,omitempty"`
}

GetV0EndpointsParams defines parameters for GetV0Endpoints.

type GetV0EndpointsResponse

type GetV0EndpointsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data An array of data which contains the following fields:
		Data *[]struct {
			// Chain The blockchain the endpoint is associated with
			Chain *string `json:"chain,omitempty"`

			// HttpUrl The HTTP URL to access the endpoint
			HttpUrl *string `json:"http_url,omitempty"`

			// Id A unique identifier for the specific endpoint
			Id *string `json:"id,omitempty"`

			// IsDedicated Whether the endpoint is a dedicated endpoint
			IsDedicated *bool `json:"is_dedicated,omitempty"`

			// IsFlatRate Whether the endpoint is a flat rate endpoint
			IsFlatRate *bool `json:"is_flat_rate,omitempty"`

			// IsMultichain Whether the endpoint is a multichain endpoint
			IsMultichain *bool `json:"is_multichain,omitempty"`

			// Label A descriptive label for the endpoint
			Label *string `json:"label,omitempty"`

			// Name The endpoint subdomain
			Name *string `json:"name,omitempty"`

			// Network The specific network of the blockchain
			Network *string `json:"network,omitempty"`

			// Status The current status of the endpoint (active or paused)
			Status *string `json:"status,omitempty"`

			// Tags An array of tags associated with the endpoint
			Tags *[]struct {
				// Label The label/name of the tag
				Label *string `json:"label,omitempty"`

				// TagId The unique identifier for the tag
				TagId *int `json:"tag_id,omitempty"`
			} `json:"tags,omitempty"`

			// WssUrl The WebSocket URL to access the endpoint
			WssUrl *string `json:"wss_url,omitempty"`
		} `json:"data,omitempty"`

		// Error An error message if any issue occurs
		Error *string `json:"error,omitempty"`

		// Pagination Pagination details for the response
		Pagination *struct {
			// Limit The maximum number of endpoints returned per page
			Limit *int `json:"limit,omitempty"`

			// Offset The number of endpoints skipped
			Offset *int `json:"offset,omitempty"`

			// Total The total number of endpoints matching the query
			Total *int `json:"total,omitempty"`
		} `json:"pagination,omitempty"`
	}
}

func ParseGetV0EndpointsResponse

func ParseGetV0EndpointsResponse(rsp *http.Response) (*GetV0EndpointsResponse, error)

ParseGetV0EndpointsResponse parses an HTTP response from a GetV0EndpointsWithResponse call

func (GetV0EndpointsResponse) ContentType

func (r GetV0EndpointsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0EndpointsResponse) GetBody

func (r GetV0EndpointsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV0EndpointsResponse) GetJSON200

func (r GetV0EndpointsResponse) GetJSON200() *struct {
	// Data An array of data which contains the following fields:
	Data *[]struct {
		// Chain The blockchain the endpoint is associated with
		Chain *string `json:"chain,omitempty"`

		// HttpUrl The HTTP URL to access the endpoint
		HttpUrl *string `json:"http_url,omitempty"`

		// Id A unique identifier for the specific endpoint
		Id *string `json:"id,omitempty"`

		// IsDedicated Whether the endpoint is a dedicated endpoint
		IsDedicated *bool `json:"is_dedicated,omitempty"`

		// IsFlatRate Whether the endpoint is a flat rate endpoint
		IsFlatRate *bool `json:"is_flat_rate,omitempty"`

		// IsMultichain Whether the endpoint is a multichain endpoint
		IsMultichain *bool `json:"is_multichain,omitempty"`

		// Label A descriptive label for the endpoint
		Label *string `json:"label,omitempty"`

		// Name The endpoint subdomain
		Name *string `json:"name,omitempty"`

		// Network The specific network of the blockchain
		Network *string `json:"network,omitempty"`

		// Status The current status of the endpoint (active or paused)
		Status *string `json:"status,omitempty"`

		// Tags An array of tags associated with the endpoint
		Tags *[]struct {
			// Label The label/name of the tag
			Label *string `json:"label,omitempty"`

			// TagId The unique identifier for the tag
			TagId *int `json:"tag_id,omitempty"`
		} `json:"tags,omitempty"`

		// WssUrl The WebSocket URL to access the endpoint
		WssUrl *string `json:"wss_url,omitempty"`
	} `json:"data,omitempty"`

	// Error An error message if any issue occurs
	Error *string `json:"error,omitempty"`

	// Pagination Pagination details for the response
	Pagination *struct {
		// Limit The maximum number of endpoints returned per page
		Limit *int `json:"limit,omitempty"`

		// Offset The number of endpoints skipped
		Offset *int `json:"offset,omitempty"`

		// Total The total number of endpoints matching the query
		Total *int `json:"total,omitempty"`
	} `json:"pagination,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0EndpointsResponse) Status

func (r GetV0EndpointsResponse) Status() string

Status returns HTTPResponse.Status

func (GetV0EndpointsResponse) StatusCode

func (r GetV0EndpointsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0EndpointsTagsResponse

type GetV0EndpointsTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data Contains the tags data
		Data *struct {
			// Tags An array of tag objects
			Tags *[]struct {
				// Id The unique identifier for the tag
				Id *int `json:"id,omitempty"`

				// Label The label/name of the tag
				Label *string `json:"label,omitempty"`

				// UsageCount The number of endpoints associated with this tag
				UsageCount *int `json:"usage_count,omitempty"`
			} `json:"tags,omitempty"`
		} `json:"data,omitempty"`

		// Error Contains error details if the request failed; null if successful
		Error *string `json:"error,omitempty"`
	}
}

func ParseGetV0EndpointsTagsResponse

func ParseGetV0EndpointsTagsResponse(rsp *http.Response) (*GetV0EndpointsTagsResponse, error)

ParseGetV0EndpointsTagsResponse parses an HTTP response from a GetV0EndpointsTagsWithResponse call

func (GetV0EndpointsTagsResponse) ContentType

func (r GetV0EndpointsTagsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0EndpointsTagsResponse) GetBody

func (r GetV0EndpointsTagsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV0EndpointsTagsResponse) GetJSON200

func (r GetV0EndpointsTagsResponse) GetJSON200() *struct {
	// Data Contains the tags data
	Data *struct {
		// Tags An array of tag objects
		Tags *[]struct {
			// Id The unique identifier for the tag
			Id *int `json:"id,omitempty"`

			// Label The label/name of the tag
			Label *string `json:"label,omitempty"`

			// UsageCount The number of endpoints associated with this tag
			UsageCount *int `json:"usage_count,omitempty"`
		} `json:"tags,omitempty"`
	} `json:"data,omitempty"`

	// Error Contains error details if the request failed; null if successful
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0EndpointsTagsResponse) Status

Status returns HTTPResponse.Status

func (GetV0EndpointsTagsResponse) StatusCode

func (r GetV0EndpointsTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0MetricsParams

type GetV0MetricsParams struct {
	// Period The time period for the metrics. Accepted values: hour, day, week, month
	Period string `form:"period" json:"period"`

	// Metric The metric to retrieve. Accepted values: method_calls_over_time, metered_endpoint_data_over_time, metered_endpoint_credits_over_time, credits_over_time
	Metric string `form:"metric" json:"metric"`
}

GetV0MetricsParams defines parameters for GetV0Metrics.

type GetV0MetricsResponse

type GetV0MetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data An array of metric objects, each containing a tag and its associated data points
		Data *[]struct {
			// Data An array of [timestamp, value] pairs representing the metric data points
			Data *[]interface{} `json:"data,omitempty"`

			// Tag An array of strings identifying the metric group (e.g., network name)
			Tag *[]interface{} `json:"tag,omitempty"`
		} `json:"data,omitempty"`

		// Error Contains error details if the request failed; null if successful
		Error *string `json:"error,omitempty"`
	}
}

func ParseGetV0MetricsResponse

func ParseGetV0MetricsResponse(rsp *http.Response) (*GetV0MetricsResponse, error)

ParseGetV0MetricsResponse parses an HTTP response from a GetV0MetricsWithResponse call

func (GetV0MetricsResponse) ContentType

func (r GetV0MetricsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0MetricsResponse) GetBody

func (r GetV0MetricsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV0MetricsResponse) GetJSON200

func (r GetV0MetricsResponse) GetJSON200() *struct {
	// Data An array of metric objects, each containing a tag and its associated data points
	Data *[]struct {
		// Data An array of [timestamp, value] pairs representing the metric data points
		Data *[]interface{} `json:"data,omitempty"`

		// Tag An array of strings identifying the metric group (e.g., network name)
		Tag *[]interface{} `json:"tag,omitempty"`
	} `json:"data,omitempty"`

	// Error Contains error details if the request failed; null if successful
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0MetricsResponse) Status

func (r GetV0MetricsResponse) Status() string

Status returns HTTPResponse.Status

func (GetV0MetricsResponse) StatusCode

func (r GetV0MetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0TeamsByIdEndpointsResponse

type GetV0TeamsByIdEndpointsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data An array of endpoint objects containing the following fields:
		Data *[]struct {
			// Chain The blockchain the endpoint is associated with
			Chain *string `json:"chain,omitempty"`

			// Id A unique identifier for the endpoint
			Id *int `json:"id,omitempty"`

			// Network The specific network of the blockchain
			Network *string `json:"network,omitempty"`

			// Subdomain The subdomain name of the endpoint
			Subdomain *string `json:"subdomain,omitempty"`
		} `json:"data,omitempty"`
	}
}

func ParseGetV0TeamsByIdEndpointsResponse

func ParseGetV0TeamsByIdEndpointsResponse(rsp *http.Response) (*GetV0TeamsByIdEndpointsResponse, error)

ParseGetV0TeamsByIdEndpointsResponse parses an HTTP response from a GetV0TeamsByIdEndpointsWithResponse call

func (GetV0TeamsByIdEndpointsResponse) ContentType

func (r GetV0TeamsByIdEndpointsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0TeamsByIdEndpointsResponse) GetBody

func (r GetV0TeamsByIdEndpointsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV0TeamsByIdEndpointsResponse) GetJSON200

func (r GetV0TeamsByIdEndpointsResponse) GetJSON200() *struct {
	// Data An array of endpoint objects containing the following fields:
	Data *[]struct {
		// Chain The blockchain the endpoint is associated with
		Chain *string `json:"chain,omitempty"`

		// Id A unique identifier for the endpoint
		Id *int `json:"id,omitempty"`

		// Network The specific network of the blockchain
		Network *string `json:"network,omitempty"`

		// Subdomain The subdomain name of the endpoint
		Subdomain *string `json:"subdomain,omitempty"`
	} `json:"data,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0TeamsByIdEndpointsResponse) Status

Status returns HTTPResponse.Status

func (GetV0TeamsByIdEndpointsResponse) StatusCode

func (r GetV0TeamsByIdEndpointsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0TeamsByIdResponse

type GetV0TeamsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The team object containing the following fields:
		Data *struct {
			// DefaultRole The default role assigned to new team members (admin, viewer, or billing)
			DefaultRole *string `json:"default_role,omitempty"`

			// Id A unique identifier for the team
			Id *int `json:"id,omitempty"`

			// MembersCount The number of members in the team
			MembersCount *int `json:"members_count,omitempty"`

			// Name The name of the team
			Name *string `json:"name,omitempty"`

			// PendingInvites An array of pending invite objects
			PendingInvites *[]struct {
				// AccountPrimaryUser Indicates if the invited user will be the primary account user
				AccountPrimaryUser *bool `json:"account_primary_user,omitempty"`

				// CreatedAt The timestamp when the invite was created
				CreatedAt *string `json:"created_at,omitempty"`

				// Email The email address of the invited user
				Email *string `json:"email,omitempty"`

				// FullName The full name of the invited user
				FullName *string `json:"full_name,omitempty"`

				// Id A unique identifier for the pending invite
				Id *int `json:"id,omitempty"`

				// PhotoUrl The URL of the invited user's profile photo
				PhotoUrl *string `json:"photo_url,omitempty"`

				// Role The role assigned to the invited user (admin, viewer, or billing)
				Role *string `json:"role,omitempty"`

				// Status The status of the invite (e.g., Pending)
				Status *string `json:"status,omitempty"`
			} `json:"pending_invites,omitempty"`

			// Users An array of active user objects in the team
			Users *[]struct {
				// AccountPrimaryUser Indicates if the user is the primary account user
				AccountPrimaryUser *bool `json:"account_primary_user,omitempty"`

				// CreatedAt The timestamp when the user was added to the team
				CreatedAt *string `json:"created_at,omitempty"`

				// Email The email address of the user
				Email *string `json:"email,omitempty"`

				// FullName The full name of the user
				FullName *string `json:"full_name,omitempty"`

				// Id A unique identifier for the user
				Id *int `json:"id,omitempty"`

				// PhotoUrl The URL of the user's profile photo
				PhotoUrl *string `json:"photo_url,omitempty"`

				// Role The role of the user in the team (admin, viewer, or billing)
				Role *string `json:"role,omitempty"`

				// Status The status of the user (e.g., Active)
				Status *string `json:"status,omitempty"`
			} `json:"users,omitempty"`
		} `json:"data,omitempty"`
	}
}

func ParseGetV0TeamsByIdResponse

func ParseGetV0TeamsByIdResponse(rsp *http.Response) (*GetV0TeamsByIdResponse, error)

ParseGetV0TeamsByIdResponse parses an HTTP response from a GetV0TeamsByIdWithResponse call

func (GetV0TeamsByIdResponse) ContentType

func (r GetV0TeamsByIdResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0TeamsByIdResponse) GetBody

func (r GetV0TeamsByIdResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV0TeamsByIdResponse) GetJSON200

func (r GetV0TeamsByIdResponse) GetJSON200() *struct {
	// Data The team object containing the following fields:
	Data *struct {
		// DefaultRole The default role assigned to new team members (admin, viewer, or billing)
		DefaultRole *string `json:"default_role,omitempty"`

		// Id A unique identifier for the team
		Id *int `json:"id,omitempty"`

		// MembersCount The number of members in the team
		MembersCount *int `json:"members_count,omitempty"`

		// Name The name of the team
		Name *string `json:"name,omitempty"`

		// PendingInvites An array of pending invite objects
		PendingInvites *[]struct {
			// AccountPrimaryUser Indicates if the invited user will be the primary account user
			AccountPrimaryUser *bool `json:"account_primary_user,omitempty"`

			// CreatedAt The timestamp when the invite was created
			CreatedAt *string `json:"created_at,omitempty"`

			// Email The email address of the invited user
			Email *string `json:"email,omitempty"`

			// FullName The full name of the invited user
			FullName *string `json:"full_name,omitempty"`

			// Id A unique identifier for the pending invite
			Id *int `json:"id,omitempty"`

			// PhotoUrl The URL of the invited user's profile photo
			PhotoUrl *string `json:"photo_url,omitempty"`

			// Role The role assigned to the invited user (admin, viewer, or billing)
			Role *string `json:"role,omitempty"`

			// Status The status of the invite (e.g., Pending)
			Status *string `json:"status,omitempty"`
		} `json:"pending_invites,omitempty"`

		// Users An array of active user objects in the team
		Users *[]struct {
			// AccountPrimaryUser Indicates if the user is the primary account user
			AccountPrimaryUser *bool `json:"account_primary_user,omitempty"`

			// CreatedAt The timestamp when the user was added to the team
			CreatedAt *string `json:"created_at,omitempty"`

			// Email The email address of the user
			Email *string `json:"email,omitempty"`

			// FullName The full name of the user
			FullName *string `json:"full_name,omitempty"`

			// Id A unique identifier for the user
			Id *int `json:"id,omitempty"`

			// PhotoUrl The URL of the user's profile photo
			PhotoUrl *string `json:"photo_url,omitempty"`

			// Role The role of the user in the team (admin, viewer, or billing)
			Role *string `json:"role,omitempty"`

			// Status The status of the user (e.g., Active)
			Status *string `json:"status,omitempty"`
		} `json:"users,omitempty"`
	} `json:"data,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0TeamsByIdResponse) Status

func (r GetV0TeamsByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetV0TeamsByIdResponse) StatusCode

func (r GetV0TeamsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0TeamsResponse

type GetV0TeamsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data An array of team objects containing the following fields:
		Data *[]struct {
			// Id A unique identifier for the team
			Id *int `json:"id,omitempty"`

			// MembersCount The number of members in the team
			MembersCount *int `json:"members_count,omitempty"`

			// Name The name of the team
			Name *string `json:"name,omitempty"`

			// Users An array of user objects in the team
			Users *[]struct {
				// CreatedAt The timestamp when the user was added to the team
				CreatedAt *string `json:"created_at,omitempty"`

				// Email The email address of the user
				Email *string `json:"email,omitempty"`

				// FullName The full name of the user
				FullName *string `json:"full_name,omitempty"`

				// Id A unique identifier for the user
				Id *int `json:"id,omitempty"`

				// PhotoUrl The URL of the user's profile photo
				PhotoUrl *string `json:"photo_url,omitempty"`

				// Role The role of the user in the team (admin, viewer, or billing)
				Role *string `json:"role,omitempty"`

				// Status The status of the user (e.g., Active, Pending)
				Status *string `json:"status,omitempty"`
			} `json:"users,omitempty"`
		} `json:"data,omitempty"`
	}
}

func ParseGetV0TeamsResponse

func ParseGetV0TeamsResponse(rsp *http.Response) (*GetV0TeamsResponse, error)

ParseGetV0TeamsResponse parses an HTTP response from a GetV0TeamsWithResponse call

func (GetV0TeamsResponse) ContentType

func (r GetV0TeamsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0TeamsResponse) GetBody

func (r GetV0TeamsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV0TeamsResponse) GetJSON200

func (r GetV0TeamsResponse) GetJSON200() *struct {
	// Data An array of team objects containing the following fields:
	Data *[]struct {
		// Id A unique identifier for the team
		Id *int `json:"id,omitempty"`

		// MembersCount The number of members in the team
		MembersCount *int `json:"members_count,omitempty"`

		// Name The name of the team
		Name *string `json:"name,omitempty"`

		// Users An array of user objects in the team
		Users *[]struct {
			// CreatedAt The timestamp when the user was added to the team
			CreatedAt *string `json:"created_at,omitempty"`

			// Email The email address of the user
			Email *string `json:"email,omitempty"`

			// FullName The full name of the user
			FullName *string `json:"full_name,omitempty"`

			// Id A unique identifier for the user
			Id *int `json:"id,omitempty"`

			// PhotoUrl The URL of the user's profile photo
			PhotoUrl *string `json:"photo_url,omitempty"`

			// Role The role of the user in the team (admin, viewer, or billing)
			Role *string `json:"role,omitempty"`

			// Status The status of the user (e.g., Active, Pending)
			Status *string `json:"status,omitempty"`
		} `json:"users,omitempty"`
	} `json:"data,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0TeamsResponse) Status

func (r GetV0TeamsResponse) Status() string

Status returns HTTPResponse.Status

func (GetV0TeamsResponse) StatusCode

func (r GetV0TeamsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0ToolingAccessResponse

type GetV0ToolingAccessResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data An object which contains the following fields:
		Data *struct {
			// Enabled Whether Tooling Access is currently enabled for the account
			Enabled *bool `json:"enabled,omitempty"`

			// EnabledAt The timestamp when Tooling Access was enabled
			EnabledAt *string `json:"enabled_at,omitempty"`

			// EndpointId The unique identifier of the endpoint provisioned for Tooling Access
			EndpointId *int `json:"endpoint_id,omitempty"`

			// EndpointUrl The URL of the endpoint provisioned for Tooling Access. May be present even when disabled if the account was previously provisioned
			EndpointUrl *string `json:"endpoint_url,omitempty"`
		} `json:"data,omitempty"`

		// Error An error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParseGetV0ToolingAccessResponse

func ParseGetV0ToolingAccessResponse(rsp *http.Response) (*GetV0ToolingAccessResponse, error)

ParseGetV0ToolingAccessResponse parses an HTTP response from a GetV0ToolingAccessWithResponse call

func (GetV0ToolingAccessResponse) ContentType

func (r GetV0ToolingAccessResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0ToolingAccessResponse) GetBody

func (r GetV0ToolingAccessResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV0ToolingAccessResponse) GetJSON200

func (r GetV0ToolingAccessResponse) GetJSON200() *struct {
	// Data An object which contains the following fields:
	Data *struct {
		// Enabled Whether Tooling Access is currently enabled for the account
		Enabled *bool `json:"enabled,omitempty"`

		// EnabledAt The timestamp when Tooling Access was enabled
		EnabledAt *string `json:"enabled_at,omitempty"`

		// EndpointId The unique identifier of the endpoint provisioned for Tooling Access
		EndpointId *int `json:"endpoint_id,omitempty"`

		// EndpointUrl The URL of the endpoint provisioned for Tooling Access. May be present even when disabled if the account was previously provisioned
		EndpointUrl *string `json:"endpoint_url,omitempty"`
	} `json:"data,omitempty"`

	// Error An error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0ToolingAccessResponse) Status

Status returns HTTPResponse.Status

func (GetV0ToolingAccessResponse) StatusCode

func (r GetV0ToolingAccessResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0UsageRpcByChainParams

type GetV0UsageRpcByChainParams struct {
	// StartTime Specifies the start of the time period for which the usage data is to be retrieved
	StartTime *int `form:"start_time,omitempty" json:"start_time,omitempty"`

	// EndTime Specifies the end of the time period for which the usage data is to be retrieved
	EndTime *int `form:"end_time,omitempty" json:"end_time,omitempty"`
}

GetV0UsageRpcByChainParams defines parameters for GetV0UsageRpcByChain.

type GetV0UsageRpcByChainResponse

type GetV0UsageRpcByChainResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the following fields:
		Data *struct {
			// Chains An array of blockchains and their corresponding credit usage
			Chains *[]struct {
				// Bytes The total number of data bytes transferred on the specified blockchain (for example, Streams and Yellowstone gRPC data). Contributes to data_credits
				Bytes *int `json:"bytes,omitempty"`

				// CreditsUsed The number of credits used by the specified blockchain (RPC credits and data credits combined)
				CreditsUsed *int `json:"credits_used,omitempty"`

				// DataCredits The portion of credits_used consumed by data usage, such as Streams and Yellowstone gRPC bytes transferred
				DataCredits *int `json:"data_credits,omitempty"`

				// Name The name of the blockchain
				Name *string `json:"name,omitempty"`

				// RpcCredits The portion of credits_used consumed by RPC requests
				RpcCredits *int `json:"rpc_credits,omitempty"`
			} `json:"chains,omitempty"`

			// EndTime The end timestamp for the data in second in second
			EndTime *int `json:"end_time,omitempty"`

			// StartTime The start timestamp for the data in second in second
			StartTime *int `json:"start_time,omitempty"`
		} `json:"data,omitempty"`

		// Error A field containing an error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParseGetV0UsageRpcByChainResponse

func ParseGetV0UsageRpcByChainResponse(rsp *http.Response) (*GetV0UsageRpcByChainResponse, error)

ParseGetV0UsageRpcByChainResponse parses an HTTP response from a GetV0UsageRpcByChainWithResponse call

func (GetV0UsageRpcByChainResponse) ContentType

func (r GetV0UsageRpcByChainResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0UsageRpcByChainResponse) GetBody

func (r GetV0UsageRpcByChainResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV0UsageRpcByChainResponse) GetJSON200

func (r GetV0UsageRpcByChainResponse) GetJSON200() *struct {
	// Data The data object which contains the following fields:
	Data *struct {
		// Chains An array of blockchains and their corresponding credit usage
		Chains *[]struct {
			// Bytes The total number of data bytes transferred on the specified blockchain (for example, Streams and Yellowstone gRPC data). Contributes to data_credits
			Bytes *int `json:"bytes,omitempty"`

			// CreditsUsed The number of credits used by the specified blockchain (RPC credits and data credits combined)
			CreditsUsed *int `json:"credits_used,omitempty"`

			// DataCredits The portion of credits_used consumed by data usage, such as Streams and Yellowstone gRPC bytes transferred
			DataCredits *int `json:"data_credits,omitempty"`

			// Name The name of the blockchain
			Name *string `json:"name,omitempty"`

			// RpcCredits The portion of credits_used consumed by RPC requests
			RpcCredits *int `json:"rpc_credits,omitempty"`
		} `json:"chains,omitempty"`

		// EndTime The end timestamp for the data in second in second
		EndTime *int `json:"end_time,omitempty"`

		// StartTime The start timestamp for the data in second in second
		StartTime *int `json:"start_time,omitempty"`
	} `json:"data,omitempty"`

	// Error A field containing an error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0UsageRpcByChainResponse) Status

Status returns HTTPResponse.Status

func (GetV0UsageRpcByChainResponse) StatusCode

func (r GetV0UsageRpcByChainResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0UsageRpcByEndpointParams

type GetV0UsageRpcByEndpointParams struct {
	// StartTime Specifies the start of the time period for which the usage data is to be retrieved. For periods longer than a week, times are rounded down to midnight UTC for performance optimization.
	StartTime *int `form:"start_time,omitempty" json:"start_time,omitempty"`

	// EndTime Specifies the end of the time period for which the usage data is to be retrieved. For periods longer than a week, times are rounded down to midnight UTC for performance optimization.
	EndTime *int `form:"end_time,omitempty" json:"end_time,omitempty"`
}

GetV0UsageRpcByEndpointParams defines parameters for GetV0UsageRpcByEndpoint.

type GetV0UsageRpcByEndpointResponse

type GetV0UsageRpcByEndpointResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the following fields:
		Data *struct {
			// EndTime The end timestamp for the data in second in second
			EndTime *int `json:"end_time,omitempty"`

			// Endpoints An array of endpoints which contains the following fields:
			Endpoints *[]struct {
				// Bytes The total number of data bytes transferred by the endpoint (for example, Streams and Yellowstone gRPC data). Contributes to data_credits
				Bytes *int `json:"bytes,omitempty"`

				// Chain The blockchain associated with the endpoint
				Chain *string `json:"chain,omitempty"`

				// CreditsUsed The total number of credits used by the endpoint (RPC credits and data credits combined)
				CreditsUsed *int `json:"credits_used,omitempty"`

				// DataCredits The portion of credits_used consumed by data usage, such as Streams and Yellowstone gRPC bytes transferred
				DataCredits *int `json:"data_credits,omitempty"`

				// Label A custom label for the endpoint
				Label *string `json:"label,omitempty"`

				// MethodsBreakdown An array of methods_breakdown
				MethodsBreakdown *[]struct {
					// Archive Indicates whether the request is using archived data
					Archive *bool `json:"archive,omitempty"`

					// Bytes The number of data bytes transferred by the method (for streaming methods such as /geyser.geyser/subscribe)
					Bytes *int `json:"bytes,omitempty"`

					// CreditsUsed The number of credits used by the method (RPC credits and data credits combined)
					CreditsUsed *int `json:"credits_used,omitempty"`

					// MethodName The name of the method called. Streaming methods such as /geyser.geyser/subscribe also appear here with the data they transfer
					MethodName *string `json:"method_name,omitempty"`
				} `json:"methods_breakdown,omitempty"`

				// Name The name of the endpoint
				Name *string `json:"name,omitempty"`

				// Network The specific network on the blockchain
				Network *string `json:"network,omitempty"`

				// Requests The total number of requests made to the endpoint
				Requests *int `json:"requests,omitempty"`

				// RpcCredits The portion of credits_used consumed by RPC requests
				RpcCredits *int `json:"rpc_credits,omitempty"`

				// Status The current state of the RPC endpoint. Possible values include: active, archived, paused or terminated
				Status *string `json:"status,omitempty"`
			} `json:"endpoints,omitempty"`

			// StartTime The start timestamp for the data in second in second
			StartTime *int `json:"start_time,omitempty"`
		} `json:"data,omitempty"`

		// Error A field containing an error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParseGetV0UsageRpcByEndpointResponse

func ParseGetV0UsageRpcByEndpointResponse(rsp *http.Response) (*GetV0UsageRpcByEndpointResponse, error)

ParseGetV0UsageRpcByEndpointResponse parses an HTTP response from a GetV0UsageRpcByEndpointWithResponse call

func (GetV0UsageRpcByEndpointResponse) ContentType

func (r GetV0UsageRpcByEndpointResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0UsageRpcByEndpointResponse) GetBody

func (r GetV0UsageRpcByEndpointResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV0UsageRpcByEndpointResponse) GetJSON200

func (r GetV0UsageRpcByEndpointResponse) GetJSON200() *struct {
	// Data The data object which contains the following fields:
	Data *struct {
		// EndTime The end timestamp for the data in second in second
		EndTime *int `json:"end_time,omitempty"`

		// Endpoints An array of endpoints which contains the following fields:
		Endpoints *[]struct {
			// Bytes The total number of data bytes transferred by the endpoint (for example, Streams and Yellowstone gRPC data). Contributes to data_credits
			Bytes *int `json:"bytes,omitempty"`

			// Chain The blockchain associated with the endpoint
			Chain *string `json:"chain,omitempty"`

			// CreditsUsed The total number of credits used by the endpoint (RPC credits and data credits combined)
			CreditsUsed *int `json:"credits_used,omitempty"`

			// DataCredits The portion of credits_used consumed by data usage, such as Streams and Yellowstone gRPC bytes transferred
			DataCredits *int `json:"data_credits,omitempty"`

			// Label A custom label for the endpoint
			Label *string `json:"label,omitempty"`

			// MethodsBreakdown An array of methods_breakdown
			MethodsBreakdown *[]struct {
				// Archive Indicates whether the request is using archived data
				Archive *bool `json:"archive,omitempty"`

				// Bytes The number of data bytes transferred by the method (for streaming methods such as /geyser.geyser/subscribe)
				Bytes *int `json:"bytes,omitempty"`

				// CreditsUsed The number of credits used by the method (RPC credits and data credits combined)
				CreditsUsed *int `json:"credits_used,omitempty"`

				// MethodName The name of the method called. Streaming methods such as /geyser.geyser/subscribe also appear here with the data they transfer
				MethodName *string `json:"method_name,omitempty"`
			} `json:"methods_breakdown,omitempty"`

			// Name The name of the endpoint
			Name *string `json:"name,omitempty"`

			// Network The specific network on the blockchain
			Network *string `json:"network,omitempty"`

			// Requests The total number of requests made to the endpoint
			Requests *int `json:"requests,omitempty"`

			// RpcCredits The portion of credits_used consumed by RPC requests
			RpcCredits *int `json:"rpc_credits,omitempty"`

			// Status The current state of the RPC endpoint. Possible values include: active, archived, paused or terminated
			Status *string `json:"status,omitempty"`
		} `json:"endpoints,omitempty"`

		// StartTime The start timestamp for the data in second in second
		StartTime *int `json:"start_time,omitempty"`
	} `json:"data,omitempty"`

	// Error A field containing an error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0UsageRpcByEndpointResponse) Status

Status returns HTTPResponse.Status

func (GetV0UsageRpcByEndpointResponse) StatusCode

func (r GetV0UsageRpcByEndpointResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0UsageRpcByMethodParams

type GetV0UsageRpcByMethodParams struct {
	// StartTime Specifies the start of the time period for which the usage data is to be retrieved. For periods longer than a week, times are rounded down to midnight UTC for performance optimization.
	StartTime *int `form:"start_time,omitempty" json:"start_time,omitempty"`

	// EndTime Specifies the end of the time period for which the usage data is to be retrieved. For periods longer than a week, times are rounded down to midnight UTC for performance optimization.
	EndTime *int `form:"end_time,omitempty" json:"end_time,omitempty"`
}

GetV0UsageRpcByMethodParams defines parameters for GetV0UsageRpcByMethod.

type GetV0UsageRpcByMethodResponse

type GetV0UsageRpcByMethodResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the following fields:
		Data *struct {
			// EndTime The end timestamp for the data in second
			EndTime *int `json:"end_time,omitempty"`

			// Methods An array of method calls and their corresponding credit usage
			Methods *[]struct {
				// Archive Indicates whether the request used archived data
				Archive *bool `json:"archive,omitempty"`

				// Bytes The number of data bytes transferred by the method (for streaming methods such as /geyser.geyser/subscribe)
				Bytes *int `json:"bytes,omitempty"`

				// CreditsUsed The number of credits used by the method (RPC credits and data credits combined)
				CreditsUsed *int `json:"credits_used,omitempty"`

				// MethodName The name of the method called. Streaming methods such as /geyser.geyser/subscribe also appear here with the data they transfer
				MethodName *string `json:"method_name,omitempty"`
			} `json:"methods,omitempty"`

			// StartTime The start timestamp for the data in second
			StartTime *int `json:"start_time,omitempty"`
		} `json:"data,omitempty"`

		// Error A field containing an error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParseGetV0UsageRpcByMethodResponse

func ParseGetV0UsageRpcByMethodResponse(rsp *http.Response) (*GetV0UsageRpcByMethodResponse, error)

ParseGetV0UsageRpcByMethodResponse parses an HTTP response from a GetV0UsageRpcByMethodWithResponse call

func (GetV0UsageRpcByMethodResponse) ContentType

func (r GetV0UsageRpcByMethodResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0UsageRpcByMethodResponse) GetBody

func (r GetV0UsageRpcByMethodResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV0UsageRpcByMethodResponse) GetJSON200

func (r GetV0UsageRpcByMethodResponse) GetJSON200() *struct {
	// Data The data object which contains the following fields:
	Data *struct {
		// EndTime The end timestamp for the data in second
		EndTime *int `json:"end_time,omitempty"`

		// Methods An array of method calls and their corresponding credit usage
		Methods *[]struct {
			// Archive Indicates whether the request used archived data
			Archive *bool `json:"archive,omitempty"`

			// Bytes The number of data bytes transferred by the method (for streaming methods such as /geyser.geyser/subscribe)
			Bytes *int `json:"bytes,omitempty"`

			// CreditsUsed The number of credits used by the method (RPC credits and data credits combined)
			CreditsUsed *int `json:"credits_used,omitempty"`

			// MethodName The name of the method called. Streaming methods such as /geyser.geyser/subscribe also appear here with the data they transfer
			MethodName *string `json:"method_name,omitempty"`
		} `json:"methods,omitempty"`

		// StartTime The start timestamp for the data in second
		StartTime *int `json:"start_time,omitempty"`
	} `json:"data,omitempty"`

	// Error A field containing an error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0UsageRpcByMethodResponse) Status

Status returns HTTPResponse.Status

func (GetV0UsageRpcByMethodResponse) StatusCode

func (r GetV0UsageRpcByMethodResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0UsageRpcByTagParams

type GetV0UsageRpcByTagParams struct {
	// StartTime Start time as a unix timestamp
	StartTime *int `form:"start_time,omitempty" json:"start_time,omitempty"`

	// EndTime End time as a unix timestamp
	EndTime *int `form:"end_time,omitempty" json:"end_time,omitempty"`
}

GetV0UsageRpcByTagParams defines parameters for GetV0UsageRpcByTag.

type GetV0UsageRpcByTagResponse

type GetV0UsageRpcByTagResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data Contains usage data grouped by tag
		Data *struct {
			// EndTime The end time of the usage period as a unix timestamp
			EndTime *int `json:"end_time,omitempty"`

			// StartTime The start time of the usage period as a unix timestamp
			StartTime *int `json:"start_time,omitempty"`

			// Tags An array of usage data objects, one per tag
			Tags *[]struct {
				// Bytes The total number of data bytes transferred by endpoints with this tag (for example, Streams and Yellowstone gRPC data). Contributes to data_credits
				Bytes *int `json:"bytes,omitempty"`

				// CreditsUsed The total number of credits used by endpoints with this tag (RPC credits and data credits combined)
				CreditsUsed *int `json:"credits_used,omitempty"`

				// DataCredits The portion of credits_used consumed by data usage, such as Streams and Yellowstone gRPC bytes transferred
				DataCredits *int `json:"data_credits,omitempty"`

				// Label The label/name of the tag
				Label *string `json:"label,omitempty"`

				// Requests The total number of requests made by endpoints with this tag
				Requests *int `json:"requests,omitempty"`

				// RpcCredits The portion of credits_used consumed by RPC requests
				RpcCredits *int `json:"rpc_credits,omitempty"`

				// TagId The unique identifier of the tag
				TagId *int `json:"tag_id,omitempty"`
			} `json:"tags,omitempty"`
		} `json:"data,omitempty"`

		// Error Contains error details if the request failed; null if successful
		Error *string `json:"error,omitempty"`
	}
}

func ParseGetV0UsageRpcByTagResponse

func ParseGetV0UsageRpcByTagResponse(rsp *http.Response) (*GetV0UsageRpcByTagResponse, error)

ParseGetV0UsageRpcByTagResponse parses an HTTP response from a GetV0UsageRpcByTagWithResponse call

func (GetV0UsageRpcByTagResponse) ContentType

func (r GetV0UsageRpcByTagResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0UsageRpcByTagResponse) GetBody

func (r GetV0UsageRpcByTagResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV0UsageRpcByTagResponse) GetJSON200

func (r GetV0UsageRpcByTagResponse) GetJSON200() *struct {
	// Data Contains usage data grouped by tag
	Data *struct {
		// EndTime The end time of the usage period as a unix timestamp
		EndTime *int `json:"end_time,omitempty"`

		// StartTime The start time of the usage period as a unix timestamp
		StartTime *int `json:"start_time,omitempty"`

		// Tags An array of usage data objects, one per tag
		Tags *[]struct {
			// Bytes The total number of data bytes transferred by endpoints with this tag (for example, Streams and Yellowstone gRPC data). Contributes to data_credits
			Bytes *int `json:"bytes,omitempty"`

			// CreditsUsed The total number of credits used by endpoints with this tag (RPC credits and data credits combined)
			CreditsUsed *int `json:"credits_used,omitempty"`

			// DataCredits The portion of credits_used consumed by data usage, such as Streams and Yellowstone gRPC bytes transferred
			DataCredits *int `json:"data_credits,omitempty"`

			// Label The label/name of the tag
			Label *string `json:"label,omitempty"`

			// Requests The total number of requests made by endpoints with this tag
			Requests *int `json:"requests,omitempty"`

			// RpcCredits The portion of credits_used consumed by RPC requests
			RpcCredits *int `json:"rpc_credits,omitempty"`

			// TagId The unique identifier of the tag
			TagId *int `json:"tag_id,omitempty"`
		} `json:"tags,omitempty"`
	} `json:"data,omitempty"`

	// Error Contains error details if the request failed; null if successful
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0UsageRpcByTagResponse) Status

Status returns HTTPResponse.Status

func (GetV0UsageRpcByTagResponse) StatusCode

func (r GetV0UsageRpcByTagResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV0UsageRpcParams

type GetV0UsageRpcParams struct {
	// StartTime Specifies the start of the time period for which the usage data is to be retrieved
	StartTime *int `form:"start_time,omitempty" json:"start_time,omitempty"`

	// EndTime Specifies the end of the time period for which the usage data is to be retrieved
	EndTime *int `form:"end_time,omitempty" json:"end_time,omitempty"`
}

GetV0UsageRpcParams defines parameters for GetV0UsageRpc.

type GetV0UsageRpcResponse

type GetV0UsageRpcResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the following fields:
		Data *struct {
			// CreditsRemaining The number of credits remaining in the account
			CreditsRemaining *int `json:"credits_remaining,omitempty"`

			// CreditsUsed The number of credits used within the specified time period
			CreditsUsed *int `json:"credits_used,omitempty"`

			// EndTime The end timestamp for the usage data in second in second
			EndTime *int `json:"end_time,omitempty"`

			// Limit The maximum number of credits available
			Limit *int `json:"limit,omitempty"`

			// Overages The number of credits used beyond the limit
			Overages *int `json:"overages,omitempty"`

			// StartTime The start timestamp for the usage data in second in second
			StartTime *int `json:"start_time,omitempty"`
		} `json:"data,omitempty"`

		// Error A string containing an error message, if any issues occur during the request
		Error *string `json:"error,omitempty"`
	}
}

func ParseGetV0UsageRpcResponse

func ParseGetV0UsageRpcResponse(rsp *http.Response) (*GetV0UsageRpcResponse, error)

ParseGetV0UsageRpcResponse parses an HTTP response from a GetV0UsageRpcWithResponse call

func (GetV0UsageRpcResponse) ContentType

func (r GetV0UsageRpcResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV0UsageRpcResponse) GetBody

func (r GetV0UsageRpcResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV0UsageRpcResponse) GetJSON200

func (r GetV0UsageRpcResponse) GetJSON200() *struct {
	// Data The data object which contains the following fields:
	Data *struct {
		// CreditsRemaining The number of credits remaining in the account
		CreditsRemaining *int `json:"credits_remaining,omitempty"`

		// CreditsUsed The number of credits used within the specified time period
		CreditsUsed *int `json:"credits_used,omitempty"`

		// EndTime The end timestamp for the usage data in second in second
		EndTime *int `json:"end_time,omitempty"`

		// Limit The maximum number of credits available
		Limit *int `json:"limit,omitempty"`

		// Overages The number of credits used beyond the limit
		Overages *int `json:"overages,omitempty"`

		// StartTime The start timestamp for the usage data in second in second
		StartTime *int `json:"start_time,omitempty"`
	} `json:"data,omitempty"`

	// Error A string containing an error message, if any issues occur during the request
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV0UsageRpcResponse) Status

func (r GetV0UsageRpcResponse) Status() string

Status returns HTTPResponse.Status

func (GetV0UsageRpcResponse) StatusCode

func (r GetV0UsageRpcResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type PatchV0EndpointsByIdIpCustomHeaderJSONBody

type PatchV0EndpointsByIdIpCustomHeaderJSONBody struct {
	// HeaderName The name of the IP custom header
	HeaderName string `json:"header_name"`
}

PatchV0EndpointsByIdIpCustomHeaderJSONBody defines parameters for PatchV0EndpointsByIdIpCustomHeader.

type PatchV0EndpointsByIdIpCustomHeaderJSONRequestBody

type PatchV0EndpointsByIdIpCustomHeaderJSONRequestBody PatchV0EndpointsByIdIpCustomHeaderJSONBody

PatchV0EndpointsByIdIpCustomHeaderJSONRequestBody defines body for PatchV0EndpointsByIdIpCustomHeader for application/json ContentType.

type PatchV0EndpointsByIdIpCustomHeaderResponse

type PatchV0EndpointsByIdIpCustomHeaderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data Contains the updated IP custom header details
		Data *struct {
			// HeaderName The name of the IP custom header that was set
			HeaderName *string `json:"header_name,omitempty"`
		} `json:"data,omitempty"`

		// Error Contains error details if the request failed; null if successful
		Error *string `json:"error,omitempty"`
	}
}

func ParsePatchV0EndpointsByIdIpCustomHeaderResponse

func ParsePatchV0EndpointsByIdIpCustomHeaderResponse(rsp *http.Response) (*PatchV0EndpointsByIdIpCustomHeaderResponse, error)

ParsePatchV0EndpointsByIdIpCustomHeaderResponse parses an HTTP response from a PatchV0EndpointsByIdIpCustomHeaderWithResponse call

func (PatchV0EndpointsByIdIpCustomHeaderResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchV0EndpointsByIdIpCustomHeaderResponse) GetBody

GetBody returns the raw response body bytes

func (PatchV0EndpointsByIdIpCustomHeaderResponse) GetJSON200

func (r PatchV0EndpointsByIdIpCustomHeaderResponse) GetJSON200() *struct {
	// Data Contains the updated IP custom header details
	Data *struct {
		// HeaderName The name of the IP custom header that was set
		HeaderName *string `json:"header_name,omitempty"`
	} `json:"data,omitempty"`

	// Error Contains error details if the request failed; null if successful
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchV0EndpointsByIdIpCustomHeaderResponse) Status

Status returns HTTPResponse.Status

func (PatchV0EndpointsByIdIpCustomHeaderResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchV0EndpointsByIdJSONBody

type PatchV0EndpointsByIdJSONBody struct {
	// Label A descriptive label for the endpoint which you need to update to
	Label string `json:"label"`
}

PatchV0EndpointsByIdJSONBody defines parameters for PatchV0EndpointsById.

type PatchV0EndpointsByIdJSONRequestBody

type PatchV0EndpointsByIdJSONRequestBody PatchV0EndpointsByIdJSONBody

PatchV0EndpointsByIdJSONRequestBody defines body for PatchV0EndpointsById for application/json ContentType.

type PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdJSONBody

type PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdJSONBody struct {
	// Methods An array of method names to which the rate limiter applies
	Methods []string `json:"methods"`

	// Rate  Specifies the maximum number of requests allowed for the specified methods within the defined interval
	Rate int `json:"rate"`

	// Status The current status of the rate limiter; valid values include enabled or disabled
	Status string `json:"status"`
}

PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdJSONBody defines parameters for PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitId.

type PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdJSONRequestBody

type PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdJSONRequestBody PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdJSONBody

PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdJSONRequestBody defines body for PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitId for application/json ContentType.

type PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse

type PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the following fields:
		Data *struct {
			// Created The timestamp when the rate limiter was created in second
			Created *string `json:"created,omitempty"`

			// Id A unique identifier for the rate limiter
			Id *string `json:"id,omitempty"`

			// Interval The time interval for the rate limit
			Interval *string `json:"interval,omitempty"`

			// Methods A list of methods the rate limiter applies to
			Methods *[]string `json:"methods,omitempty"`

			// Rate The maximum number of requests allowed within the specified interval
			Rate *int `json:"rate,omitempty"`

			// Status The current status of the rate limiter
			Status *string `json:"status,omitempty"`
		} `json:"data,omitempty"`

		// Error A field containing an error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParsePatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse

func ParsePatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse(rsp *http.Response) (*PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse, error)

ParsePatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse parses an HTTP response from a PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdWithResponse call

func (PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse) GetBody

GetBody returns the raw response body bytes

func (PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse) GetJSON200

func (r PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse) GetJSON200() *struct {
	// Data The data object which contains the following fields:
	Data *struct {
		// Created The timestamp when the rate limiter was created in second
		Created *string `json:"created,omitempty"`

		// Id A unique identifier for the rate limiter
		Id *string `json:"id,omitempty"`

		// Interval The time interval for the rate limit
		Interval *string `json:"interval,omitempty"`

		// Methods A list of methods the rate limiter applies to
		Methods *[]string `json:"methods,omitempty"`

		// Rate The maximum number of requests allowed within the specified interval
		Rate *int `json:"rate,omitempty"`

		// Status The current status of the rate limiter
		Status *string `json:"status,omitempty"`
	} `json:"data,omitempty"`

	// Error A field containing an error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse) Status

Status returns HTTPResponse.Status

func (PatchV0EndpointsByIdMethodRateLimitsByMethodRateLimitIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchV0EndpointsByIdRateLimitsJSONBody

type PatchV0EndpointsByIdRateLimitsJSONBody struct {
	// RateLimits Contains the rate limit configurations that you want to update
	RateLimits struct {
		// Rpd Specifies the maximum number of requests allowed per day
		Rpd *int `json:"rpd,omitempty"`

		// Rpm Specifies the maximum number of requests allowed per minute
		Rpm *int `json:"rpm,omitempty"`

		// Rps Specifies the maximum number of requests allowed per second
		Rps *int `json:"rps,omitempty"`
	} `json:"rate_limits"`
}

PatchV0EndpointsByIdRateLimitsJSONBody defines parameters for PatchV0EndpointsByIdRateLimits.

type PatchV0EndpointsByIdRateLimitsJSONRequestBody

type PatchV0EndpointsByIdRateLimitsJSONRequestBody PatchV0EndpointsByIdRateLimitsJSONBody

PatchV0EndpointsByIdRateLimitsJSONRequestBody defines body for PatchV0EndpointsByIdRateLimits for application/json ContentType.

type PatchV0EndpointsByIdRateLimitsResponse

type PatchV0EndpointsByIdRateLimitsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the following fields:
		Data *struct {
			// Limits The limits object which contains the following fields:
			Limits *struct {
				// Rpd The maximum number of requests allowed per day. A value of -1 indicates that no endpoint-level override is set for this bucket.
				Rpd *int `json:"rpd,omitempty"`

				// Rpm The maximum number of requests allowed per minute. A value of -1 indicates that no endpoint-level override is set for this bucket.
				Rpm *int `json:"rpm,omitempty"`

				// Rps The maximum number of requests allowed per second. A value of -1 indicates that no endpoint-level override is set for this bucket.
				Rps *int `json:"rps,omitempty"`
			} `json:"limits,omitempty"`
		} `json:"data,omitempty"`

		// Error A field containing an error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParsePatchV0EndpointsByIdRateLimitsResponse

func ParsePatchV0EndpointsByIdRateLimitsResponse(rsp *http.Response) (*PatchV0EndpointsByIdRateLimitsResponse, error)

ParsePatchV0EndpointsByIdRateLimitsResponse parses an HTTP response from a PatchV0EndpointsByIdRateLimitsWithResponse call

func (PatchV0EndpointsByIdRateLimitsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchV0EndpointsByIdRateLimitsResponse) GetBody

GetBody returns the raw response body bytes

func (PatchV0EndpointsByIdRateLimitsResponse) GetJSON200

func (r PatchV0EndpointsByIdRateLimitsResponse) GetJSON200() *struct {
	// Data The data object which contains the following fields:
	Data *struct {
		// Limits The limits object which contains the following fields:
		Limits *struct {
			// Rpd The maximum number of requests allowed per day. A value of -1 indicates that no endpoint-level override is set for this bucket.
			Rpd *int `json:"rpd,omitempty"`

			// Rpm The maximum number of requests allowed per minute. A value of -1 indicates that no endpoint-level override is set for this bucket.
			Rpm *int `json:"rpm,omitempty"`

			// Rps The maximum number of requests allowed per second. A value of -1 indicates that no endpoint-level override is set for this bucket.
			Rps *int `json:"rps,omitempty"`
		} `json:"limits,omitempty"`
	} `json:"data,omitempty"`

	// Error A field containing an error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchV0EndpointsByIdRateLimitsResponse) Status

Status returns HTTPResponse.Status

func (PatchV0EndpointsByIdRateLimitsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchV0EndpointsByIdResponse

type PatchV0EndpointsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data Indicates whether the updation is done or not
		Data *bool `json:"data,omitempty"`

		// Error Contains error information, if any
		Error *string `json:"error,omitempty"`
	}
}

func ParsePatchV0EndpointsByIdResponse

func ParsePatchV0EndpointsByIdResponse(rsp *http.Response) (*PatchV0EndpointsByIdResponse, error)

ParsePatchV0EndpointsByIdResponse parses an HTTP response from a PatchV0EndpointsByIdWithResponse call

func (PatchV0EndpointsByIdResponse) ContentType

func (r PatchV0EndpointsByIdResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchV0EndpointsByIdResponse) GetBody

func (r PatchV0EndpointsByIdResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchV0EndpointsByIdResponse) GetJSON200

func (r PatchV0EndpointsByIdResponse) GetJSON200() *struct {
	// Data Indicates whether the updation is done or not
	Data *bool `json:"data,omitempty"`

	// Error Contains error information, if any
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchV0EndpointsByIdResponse) Status

Status returns HTTPResponse.Status

func (PatchV0EndpointsByIdResponse) StatusCode

func (r PatchV0EndpointsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchV0EndpointsByIdSecurityOptionsJSONBody

type PatchV0EndpointsByIdSecurityOptionsJSONBody struct {
	// Options The options object which contains the following fields:
	Options *struct {
		// Cors Configures Cross-Origin Resource Sharing (CORS) policies to control how resources can be accessed by external domains. Possible values includes 'enabled' or 'disabled'
		Cors *string `json:"cors,omitempty"`

		// DomainMasks Configures the masking or restriction of specific domains. Possible values includes 'enabled' or 'disabled'
		DomainMasks *string `json:"domainMasks,omitempty"`

		// Hsts The HTTP Strict Transport Security (HSTS). Possible values includes 'enabled' or 'disabled'
		Hsts *string `json:"hsts,omitempty"`

		// Ips Specifies IP address-based restrictions or permissions. Possible values includes 'enabled' or 'disabled'
		Ips *string `json:"ips,omitempty"`

		// Jwts Configures JSON Web Tokens (JWTs) for secure authentication and authorization. Possible values includes 'enabled' or 'disabled'
		Jwts *string `json:"jwts,omitempty"`

		// Referrers The URL or domain that is allowed to access the specific API endpoint. Possible values includes 'enabled' or 'disabled'
		Referrers *string `json:"referrers,omitempty"`

		// Tokens Controls the token-based authentication mechanism. Possible values includes 'enabled' or 'disabled'
		Tokens *string `json:"tokens,omitempty"`
	} `json:"options,omitempty"`
}

PatchV0EndpointsByIdSecurityOptionsJSONBody defines parameters for PatchV0EndpointsByIdSecurityOptions.

type PatchV0EndpointsByIdSecurityOptionsJSONRequestBody

type PatchV0EndpointsByIdSecurityOptionsJSONRequestBody PatchV0EndpointsByIdSecurityOptionsJSONBody

PatchV0EndpointsByIdSecurityOptionsJSONRequestBody defines body for PatchV0EndpointsByIdSecurityOptions for application/json ContentType.

type PatchV0EndpointsByIdSecurityOptionsResponse

type PatchV0EndpointsByIdSecurityOptionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Data *[]struct {
			Option *string `json:"option,omitempty"`
			Status *string `json:"status,omitempty"`
		} `json:"data,omitempty"`

		// Error A field containing an error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParsePatchV0EndpointsByIdSecurityOptionsResponse

func ParsePatchV0EndpointsByIdSecurityOptionsResponse(rsp *http.Response) (*PatchV0EndpointsByIdSecurityOptionsResponse, error)

ParsePatchV0EndpointsByIdSecurityOptionsResponse parses an HTTP response from a PatchV0EndpointsByIdSecurityOptionsWithResponse call

func (PatchV0EndpointsByIdSecurityOptionsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchV0EndpointsByIdSecurityOptionsResponse) GetBody

GetBody returns the raw response body bytes

func (PatchV0EndpointsByIdSecurityOptionsResponse) GetJSON200

func (r PatchV0EndpointsByIdSecurityOptionsResponse) GetJSON200() *struct {
	Data *[]struct {
		Option *string `json:"option,omitempty"`
		Status *string `json:"status,omitempty"`
	} `json:"data,omitempty"`

	// Error A field containing an error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchV0EndpointsByIdSecurityOptionsResponse) Status

Status returns HTTPResponse.Status

func (PatchV0EndpointsByIdSecurityOptionsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchV0EndpointsByIdStatusJSONBody

type PatchV0EndpointsByIdStatusJSONBody struct {
	// Status The new status to apply to the endpoint. Accepted values are 'active' and 'paused'
	Status string `json:"status"`
}

PatchV0EndpointsByIdStatusJSONBody defines parameters for PatchV0EndpointsByIdStatus.

type PatchV0EndpointsByIdStatusJSONRequestBody

type PatchV0EndpointsByIdStatusJSONRequestBody PatchV0EndpointsByIdStatusJSONBody

PatchV0EndpointsByIdStatusJSONRequestBody defines body for PatchV0EndpointsByIdStatus for application/json ContentType.

type PatchV0EndpointsByIdStatusResponse

type PatchV0EndpointsByIdStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The updated status of the endpoint (either 'active' or 'paused')
		Data *string `json:"data,omitempty"`

		// Error Contains error details if the request failed; null if successful
		Error *string `json:"error,omitempty"`
	}
}

func ParsePatchV0EndpointsByIdStatusResponse

func ParsePatchV0EndpointsByIdStatusResponse(rsp *http.Response) (*PatchV0EndpointsByIdStatusResponse, error)

ParsePatchV0EndpointsByIdStatusResponse parses an HTTP response from a PatchV0EndpointsByIdStatusWithResponse call

func (PatchV0EndpointsByIdStatusResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchV0EndpointsByIdStatusResponse) GetBody

GetBody returns the raw response body bytes

func (PatchV0EndpointsByIdStatusResponse) GetJSON200

func (r PatchV0EndpointsByIdStatusResponse) GetJSON200() *struct {
	// Data The updated status of the endpoint (either 'active' or 'paused')
	Data *string `json:"data,omitempty"`

	// Error Contains error details if the request failed; null if successful
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchV0EndpointsByIdStatusResponse) Status

Status returns HTTPResponse.Status

func (PatchV0EndpointsByIdStatusResponse) StatusCode

func (r PatchV0EndpointsByIdStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchV0EndpointsTagsByIdJSONBody

type PatchV0EndpointsTagsByIdJSONBody struct {
	// Label The new label for the tag
	Label string `json:"label"`
}

PatchV0EndpointsTagsByIdJSONBody defines parameters for PatchV0EndpointsTagsById.

type PatchV0EndpointsTagsByIdJSONRequestBody

type PatchV0EndpointsTagsByIdJSONRequestBody PatchV0EndpointsTagsByIdJSONBody

PatchV0EndpointsTagsByIdJSONRequestBody defines body for PatchV0EndpointsTagsById for application/json ContentType.

type PatchV0EndpointsTagsByIdResponse

type PatchV0EndpointsTagsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data Contains the updated tag details
		Data *struct {
			// Id The unique identifier of the tag
			Id *int `json:"id,omitempty"`

			// Label The updated label/name of the tag
			Label *string `json:"label,omitempty"`

			// UsageCount The number of endpoints currently using this tag
			UsageCount *int `json:"usage_count,omitempty"`
		} `json:"data,omitempty"`

		// Error Contains error details if the request failed; null if successful
		Error *string `json:"error,omitempty"`
	}
}

func ParsePatchV0EndpointsTagsByIdResponse

func ParsePatchV0EndpointsTagsByIdResponse(rsp *http.Response) (*PatchV0EndpointsTagsByIdResponse, error)

ParsePatchV0EndpointsTagsByIdResponse parses an HTTP response from a PatchV0EndpointsTagsByIdWithResponse call

func (PatchV0EndpointsTagsByIdResponse) ContentType

func (r PatchV0EndpointsTagsByIdResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchV0EndpointsTagsByIdResponse) GetBody

func (r PatchV0EndpointsTagsByIdResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchV0EndpointsTagsByIdResponse) GetJSON200

func (r PatchV0EndpointsTagsByIdResponse) GetJSON200() *struct {
	// Data Contains the updated tag details
	Data *struct {
		// Id The unique identifier of the tag
		Id *int `json:"id,omitempty"`

		// Label The updated label/name of the tag
		Label *string `json:"label,omitempty"`

		// UsageCount The number of endpoints currently using this tag
		UsageCount *int `json:"usage_count,omitempty"`
	} `json:"data,omitempty"`

	// Error Contains error details if the request failed; null if successful
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchV0EndpointsTagsByIdResponse) Status

Status returns HTTPResponse.Status

func (PatchV0EndpointsTagsByIdResponse) StatusCode

func (r PatchV0EndpointsTagsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchV0TeamsByIdEndpointsJSONBody

type PatchV0TeamsByIdEndpointsJSONBody struct {
	// EndpointIds An array of endpoint IDs to assign to the team. Pass an empty array to unassign all endpoints
	EndpointIds []interface{} `json:"endpoint_ids"`
}

PatchV0TeamsByIdEndpointsJSONBody defines parameters for PatchV0TeamsByIdEndpoints.

type PatchV0TeamsByIdEndpointsJSONRequestBody

type PatchV0TeamsByIdEndpointsJSONRequestBody PatchV0TeamsByIdEndpointsJSONBody

PatchV0TeamsByIdEndpointsJSONRequestBody defines body for PatchV0TeamsByIdEndpoints for application/json ContentType.

type PatchV0TeamsByIdEndpointsResponse

type PatchV0TeamsByIdEndpointsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The response object containing the following fields:
		Data *struct {
			// Success Indicates whether the operation was successful
			Success *bool `json:"success,omitempty"`
		} `json:"data,omitempty"`

		// Error An error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParsePatchV0TeamsByIdEndpointsResponse

func ParsePatchV0TeamsByIdEndpointsResponse(rsp *http.Response) (*PatchV0TeamsByIdEndpointsResponse, error)

ParsePatchV0TeamsByIdEndpointsResponse parses an HTTP response from a PatchV0TeamsByIdEndpointsWithResponse call

func (PatchV0TeamsByIdEndpointsResponse) ContentType

func (r PatchV0TeamsByIdEndpointsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchV0TeamsByIdEndpointsResponse) GetBody

GetBody returns the raw response body bytes

func (PatchV0TeamsByIdEndpointsResponse) GetJSON200

func (r PatchV0TeamsByIdEndpointsResponse) GetJSON200() *struct {
	// Data The response object containing the following fields:
	Data *struct {
		// Success Indicates whether the operation was successful
		Success *bool `json:"success,omitempty"`
	} `json:"data,omitempty"`

	// Error An error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchV0TeamsByIdEndpointsResponse) Status

Status returns HTTPResponse.Status

func (PatchV0TeamsByIdEndpointsResponse) StatusCode

func (r PatchV0TeamsByIdEndpointsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchV0ToolingAccessJSONBody

type PatchV0ToolingAccessJSONBody struct {
	// Enabled Set to true to enable (provision/reactivate) Tooling Access or false to disable it
	Enabled bool `json:"enabled"`
}

PatchV0ToolingAccessJSONBody defines parameters for PatchV0ToolingAccess.

type PatchV0ToolingAccessJSONRequestBody

type PatchV0ToolingAccessJSONRequestBody PatchV0ToolingAccessJSONBody

PatchV0ToolingAccessJSONRequestBody defines body for PatchV0ToolingAccess for application/json ContentType.

type PatchV0ToolingAccessResponse

type PatchV0ToolingAccessResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data An object which contains the following fields:
		Data *struct {
			// Enabled Whether Tooling Access is enabled after the update
			Enabled *bool `json:"enabled,omitempty"`

			// EndpointUrl The URL of the endpoint provisioned for Tooling Access
			EndpointUrl *string `json:"endpoint_url,omitempty"`
		} `json:"data,omitempty"`

		// Error An error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParsePatchV0ToolingAccessResponse

func ParsePatchV0ToolingAccessResponse(rsp *http.Response) (*PatchV0ToolingAccessResponse, error)

ParsePatchV0ToolingAccessResponse parses an HTTP response from a PatchV0ToolingAccessWithResponse call

func (PatchV0ToolingAccessResponse) ContentType

func (r PatchV0ToolingAccessResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchV0ToolingAccessResponse) GetBody

func (r PatchV0ToolingAccessResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchV0ToolingAccessResponse) GetJSON200

func (r PatchV0ToolingAccessResponse) GetJSON200() *struct {
	// Data An object which contains the following fields:
	Data *struct {
		// Enabled Whether Tooling Access is enabled after the update
		Enabled *bool `json:"enabled,omitempty"`

		// EndpointUrl The URL of the endpoint provisioned for Tooling Access
		EndpointUrl *string `json:"endpoint_url,omitempty"`
	} `json:"data,omitempty"`

	// Error An error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchV0ToolingAccessResponse) Status

Status returns HTTPResponse.Status

func (PatchV0ToolingAccessResponse) StatusCode

func (r PatchV0ToolingAccessResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV0EndpointsBulkStatusJSONBody

type PostV0EndpointsBulkStatusJSONBody struct {
	// Ids An array of endpoint IDs to update
	Ids []interface{} `json:"ids"`

	// Status The status to apply. Accepted values: active, paused
	Status string `json:"status"`
}

PostV0EndpointsBulkStatusJSONBody defines parameters for PostV0EndpointsBulkStatus.

type PostV0EndpointsBulkStatusJSONRequestBody

type PostV0EndpointsBulkStatusJSONRequestBody PostV0EndpointsBulkStatusJSONBody

PostV0EndpointsBulkStatusJSONRequestBody defines body for PostV0EndpointsBulkStatus for application/json ContentType.

type PostV0EndpointsBulkStatusResponse

type PostV0EndpointsBulkStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data Contains the result of the bulk status update
		Data *struct {
			// FailedCount The number of endpoints that failed to update
			FailedCount *int `json:"failed_count,omitempty"`

			// Results An array of result objects for each endpoint
			Results *[]struct {
				// Id The endpoint ID
				Id *string `json:"id,omitempty"`

				// Success Whether the status update succeeded for this endpoint
				Success *bool `json:"success,omitempty"`
			} `json:"results,omitempty"`

			// Total The total number of endpoints in the request
			Total *int `json:"total,omitempty"`

			// UpdatedCount The number of endpoints successfully updated
			UpdatedCount *int `json:"updated_count,omitempty"`
		} `json:"data,omitempty"`
	}
}

func ParsePostV0EndpointsBulkStatusResponse

func ParsePostV0EndpointsBulkStatusResponse(rsp *http.Response) (*PostV0EndpointsBulkStatusResponse, error)

ParsePostV0EndpointsBulkStatusResponse parses an HTTP response from a PostV0EndpointsBulkStatusWithResponse call

func (PostV0EndpointsBulkStatusResponse) ContentType

func (r PostV0EndpointsBulkStatusResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV0EndpointsBulkStatusResponse) GetBody

GetBody returns the raw response body bytes

func (PostV0EndpointsBulkStatusResponse) GetJSON200

func (r PostV0EndpointsBulkStatusResponse) GetJSON200() *struct {
	// Data Contains the result of the bulk status update
	Data *struct {
		// FailedCount The number of endpoints that failed to update
		FailedCount *int `json:"failed_count,omitempty"`

		// Results An array of result objects for each endpoint
		Results *[]struct {
			// Id The endpoint ID
			Id *string `json:"id,omitempty"`

			// Success Whether the status update succeeded for this endpoint
			Success *bool `json:"success,omitempty"`
		} `json:"results,omitempty"`

		// Total The total number of endpoints in the request
		Total *int `json:"total,omitempty"`

		// UpdatedCount The number of endpoints successfully updated
		UpdatedCount *int `json:"updated_count,omitempty"`
	} `json:"data,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV0EndpointsBulkStatusResponse) Status

Status returns HTTPResponse.Status

func (PostV0EndpointsBulkStatusResponse) StatusCode

func (r PostV0EndpointsBulkStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV0EndpointsBulkTagsJSONBody

type PostV0EndpointsBulkTagsJSONBody struct {
	// Ids An array of endpoint IDs to tag
	Ids []interface{} `json:"ids"`

	// Label The tag label to add to the endpoints
	Label string `json:"label"`
}

PostV0EndpointsBulkTagsJSONBody defines parameters for PostV0EndpointsBulkTags.

type PostV0EndpointsBulkTagsJSONRequestBody

type PostV0EndpointsBulkTagsJSONRequestBody PostV0EndpointsBulkTagsJSONBody

PostV0EndpointsBulkTagsJSONRequestBody defines body for PostV0EndpointsBulkTags for application/json ContentType.

type PostV0EndpointsBulkTagsResponse

type PostV0EndpointsBulkTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data Contains the result of the bulk tag operation
		Data *struct {
			// FailedCount The number of endpoints that failed to update
			FailedCount *int `json:"failed_count,omitempty"`

			// Results An array of result objects for each endpoint
			Results *[]struct {
				// Id The endpoint ID
				Id *string `json:"id,omitempty"`

				// Success Whether the tag was successfully added to this endpoint
				Success *bool `json:"success,omitempty"`
			} `json:"results,omitempty"`

			// Tag The tag that was added to the endpoints
			Tag *struct {
				// Label The label/name of the tag
				Label *string `json:"label,omitempty"`

				// TagId The unique identifier of the tag
				TagId *int `json:"tag_id,omitempty"`
			} `json:"tag,omitempty"`

			// Total The total number of endpoints in the request
			Total *int `json:"total,omitempty"`

			// UpdatedCount The number of endpoints successfully updated
			UpdatedCount *int `json:"updated_count,omitempty"`
		} `json:"data,omitempty"`
	}
}

func ParsePostV0EndpointsBulkTagsResponse

func ParsePostV0EndpointsBulkTagsResponse(rsp *http.Response) (*PostV0EndpointsBulkTagsResponse, error)

ParsePostV0EndpointsBulkTagsResponse parses an HTTP response from a PostV0EndpointsBulkTagsWithResponse call

func (PostV0EndpointsBulkTagsResponse) ContentType

func (r PostV0EndpointsBulkTagsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV0EndpointsBulkTagsResponse) GetBody

func (r PostV0EndpointsBulkTagsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostV0EndpointsBulkTagsResponse) GetJSON200

func (r PostV0EndpointsBulkTagsResponse) GetJSON200() *struct {
	// Data Contains the result of the bulk tag operation
	Data *struct {
		// FailedCount The number of endpoints that failed to update
		FailedCount *int `json:"failed_count,omitempty"`

		// Results An array of result objects for each endpoint
		Results *[]struct {
			// Id The endpoint ID
			Id *string `json:"id,omitempty"`

			// Success Whether the tag was successfully added to this endpoint
			Success *bool `json:"success,omitempty"`
		} `json:"results,omitempty"`

		// Tag The tag that was added to the endpoints
		Tag *struct {
			// Label The label/name of the tag
			Label *string `json:"label,omitempty"`

			// TagId The unique identifier of the tag
			TagId *int `json:"tag_id,omitempty"`
		} `json:"tag,omitempty"`

		// Total The total number of endpoints in the request
		Total *int `json:"total,omitempty"`

		// UpdatedCount The number of endpoints successfully updated
		UpdatedCount *int `json:"updated_count,omitempty"`
	} `json:"data,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV0EndpointsBulkTagsResponse) Status

Status returns HTTPResponse.Status

func (PostV0EndpointsBulkTagsResponse) StatusCode

func (r PostV0EndpointsBulkTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV0EndpointsByIdDisableMultichainResponse

type PostV0EndpointsByIdDisableMultichainResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data Returns true when multichain is successfully disabled
		Data *bool `json:"data,omitempty"`

		// Error Contains error details if the request failed; null if successful
		Error *string `json:"error,omitempty"`
	}
}

func ParsePostV0EndpointsByIdDisableMultichainResponse

func ParsePostV0EndpointsByIdDisableMultichainResponse(rsp *http.Response) (*PostV0EndpointsByIdDisableMultichainResponse, error)

ParsePostV0EndpointsByIdDisableMultichainResponse parses an HTTP response from a PostV0EndpointsByIdDisableMultichainWithResponse call

func (PostV0EndpointsByIdDisableMultichainResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV0EndpointsByIdDisableMultichainResponse) GetBody

GetBody returns the raw response body bytes

func (PostV0EndpointsByIdDisableMultichainResponse) GetJSON200

func (r PostV0EndpointsByIdDisableMultichainResponse) GetJSON200() *struct {
	// Data Returns true when multichain is successfully disabled
	Data *bool `json:"data,omitempty"`

	// Error Contains error details if the request failed; null if successful
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV0EndpointsByIdDisableMultichainResponse) Status

Status returns HTTPResponse.Status

func (PostV0EndpointsByIdDisableMultichainResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV0EndpointsByIdEnableMultichainResponse

type PostV0EndpointsByIdEnableMultichainResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data Returns true when multichain is successfully enabled
		Data *bool `json:"data,omitempty"`

		// Error Contains error details if the request failed; null if successful
		Error *string `json:"error,omitempty"`
	}
}

func ParsePostV0EndpointsByIdEnableMultichainResponse

func ParsePostV0EndpointsByIdEnableMultichainResponse(rsp *http.Response) (*PostV0EndpointsByIdEnableMultichainResponse, error)

ParsePostV0EndpointsByIdEnableMultichainResponse parses an HTTP response from a PostV0EndpointsByIdEnableMultichainWithResponse call

func (PostV0EndpointsByIdEnableMultichainResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV0EndpointsByIdEnableMultichainResponse) GetBody

GetBody returns the raw response body bytes

func (PostV0EndpointsByIdEnableMultichainResponse) GetJSON200

func (r PostV0EndpointsByIdEnableMultichainResponse) GetJSON200() *struct {
	// Data Returns true when multichain is successfully enabled
	Data *bool `json:"data,omitempty"`

	// Error Contains error details if the request failed; null if successful
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV0EndpointsByIdEnableMultichainResponse) Status

Status returns HTTPResponse.Status

func (PostV0EndpointsByIdEnableMultichainResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV0EndpointsByIdMethodRateLimitsJSONBody

type PostV0EndpointsByIdMethodRateLimitsJSONBody struct {
	// Interval Specifies the time interval for the rate limit; valid values include second, minute or hour
	Interval string `json:"interval"`

	// Methods An array of method names to which the rate limiter applies
	Methods []string `json:"methods"`

	// Rate  Specifies the maximum number of requests allowed for the specified methods within the defined interval
	Rate int `json:"rate"`
}

PostV0EndpointsByIdMethodRateLimitsJSONBody defines parameters for PostV0EndpointsByIdMethodRateLimits.

type PostV0EndpointsByIdMethodRateLimitsJSONRequestBody

type PostV0EndpointsByIdMethodRateLimitsJSONRequestBody PostV0EndpointsByIdMethodRateLimitsJSONBody

PostV0EndpointsByIdMethodRateLimitsJSONRequestBody defines body for PostV0EndpointsByIdMethodRateLimits for application/json ContentType.

type PostV0EndpointsByIdMethodRateLimitsResponse

type PostV0EndpointsByIdMethodRateLimitsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the following fields:
		Data *struct {
			// Created The timestamp when the rate limiter was created in second
			Created *string `json:"created,omitempty"`

			// Id A unique identifier for the rate limiter
			Id *string `json:"id,omitempty"`

			// Interval The time interval for the rate limit
			Interval *string `json:"interval,omitempty"`

			// Methods A list of methods the rate limiter applies to
			Methods *[]string `json:"methods,omitempty"`

			// Rate The maximum number of requests allowed within the specified interval
			Rate *int `json:"rate,omitempty"`

			// Status The current status of the rate limiter
			Status *string `json:"status,omitempty"`
		} `json:"data,omitempty"`

		// Error A field containing an error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParsePostV0EndpointsByIdMethodRateLimitsResponse

func ParsePostV0EndpointsByIdMethodRateLimitsResponse(rsp *http.Response) (*PostV0EndpointsByIdMethodRateLimitsResponse, error)

ParsePostV0EndpointsByIdMethodRateLimitsResponse parses an HTTP response from a PostV0EndpointsByIdMethodRateLimitsWithResponse call

func (PostV0EndpointsByIdMethodRateLimitsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV0EndpointsByIdMethodRateLimitsResponse) GetBody

GetBody returns the raw response body bytes

func (PostV0EndpointsByIdMethodRateLimitsResponse) GetJSON200

func (r PostV0EndpointsByIdMethodRateLimitsResponse) GetJSON200() *struct {
	// Data The data object which contains the following fields:
	Data *struct {
		// Created The timestamp when the rate limiter was created in second
		Created *string `json:"created,omitempty"`

		// Id A unique identifier for the rate limiter
		Id *string `json:"id,omitempty"`

		// Interval The time interval for the rate limit
		Interval *string `json:"interval,omitempty"`

		// Methods A list of methods the rate limiter applies to
		Methods *[]string `json:"methods,omitempty"`

		// Rate The maximum number of requests allowed within the specified interval
		Rate *int `json:"rate,omitempty"`

		// Status The current status of the rate limiter
		Status *string `json:"status,omitempty"`
	} `json:"data,omitempty"`

	// Error A field containing an error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV0EndpointsByIdMethodRateLimitsResponse) Status

Status returns HTTPResponse.Status

func (PostV0EndpointsByIdMethodRateLimitsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV0EndpointsByIdSecurityDomainMasksJSONBody

type PostV0EndpointsByIdSecurityDomainMasksJSONBody struct {
	// DomainMask The domain mask that you will use to mask your endpoint
	DomainMask string `json:"domain_mask"`
}

PostV0EndpointsByIdSecurityDomainMasksJSONBody defines parameters for PostV0EndpointsByIdSecurityDomainMasks.

type PostV0EndpointsByIdSecurityDomainMasksJSONRequestBody

type PostV0EndpointsByIdSecurityDomainMasksJSONRequestBody PostV0EndpointsByIdSecurityDomainMasksJSONBody

PostV0EndpointsByIdSecurityDomainMasksJSONRequestBody defines body for PostV0EndpointsByIdSecurityDomainMasks for application/json ContentType.

type PostV0EndpointsByIdSecurityDomainMasksResponse

type PostV0EndpointsByIdSecurityDomainMasksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the following fields:
		Data *struct {
			// DomainMask The domain mask that you used to mask your endpoint
			DomainMask *string `json:"domain_mask,omitempty"`

			// Id A unique identifier for the domain mask
			Id *string `json:"id,omitempty"`
		} `json:"data,omitempty"`

		// Error A field containing an error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParsePostV0EndpointsByIdSecurityDomainMasksResponse

func ParsePostV0EndpointsByIdSecurityDomainMasksResponse(rsp *http.Response) (*PostV0EndpointsByIdSecurityDomainMasksResponse, error)

ParsePostV0EndpointsByIdSecurityDomainMasksResponse parses an HTTP response from a PostV0EndpointsByIdSecurityDomainMasksWithResponse call

func (PostV0EndpointsByIdSecurityDomainMasksResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV0EndpointsByIdSecurityDomainMasksResponse) GetBody

GetBody returns the raw response body bytes

func (PostV0EndpointsByIdSecurityDomainMasksResponse) GetJSON200

func (r PostV0EndpointsByIdSecurityDomainMasksResponse) GetJSON200() *struct {
	// Data The data object which contains the following fields:
	Data *struct {
		// DomainMask The domain mask that you used to mask your endpoint
		DomainMask *string `json:"domain_mask,omitempty"`

		// Id A unique identifier for the domain mask
		Id *string `json:"id,omitempty"`
	} `json:"data,omitempty"`

	// Error A field containing an error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV0EndpointsByIdSecurityDomainMasksResponse) Status

Status returns HTTPResponse.Status

func (PostV0EndpointsByIdSecurityDomainMasksResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV0EndpointsByIdSecurityIpsJSONBody

type PostV0EndpointsByIdSecurityIpsJSONBody struct {
	// Ip The specific IP address that is allowed to access the API endpoint. Only requests originating from this IP address will be permitted
	Ip string `json:"ip"`
}

PostV0EndpointsByIdSecurityIpsJSONBody defines parameters for PostV0EndpointsByIdSecurityIps.

type PostV0EndpointsByIdSecurityIpsJSONRequestBody

type PostV0EndpointsByIdSecurityIpsJSONRequestBody PostV0EndpointsByIdSecurityIpsJSONBody

PostV0EndpointsByIdSecurityIpsJSONRequestBody defines body for PostV0EndpointsByIdSecurityIps for application/json ContentType.

type PostV0EndpointsByIdSecurityIpsResponse

type PostV0EndpointsByIdSecurityIpsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the following fields:
		Data *struct {
			// Id A unique identifier for the IP rule
			Id *string `json:"id,omitempty"`

			// Ip The IP address that is allowed to access the API endpoint
			Ip *string `json:"ip,omitempty"`
		} `json:"data,omitempty"`

		// Error A field containing an error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParsePostV0EndpointsByIdSecurityIpsResponse

func ParsePostV0EndpointsByIdSecurityIpsResponse(rsp *http.Response) (*PostV0EndpointsByIdSecurityIpsResponse, error)

ParsePostV0EndpointsByIdSecurityIpsResponse parses an HTTP response from a PostV0EndpointsByIdSecurityIpsWithResponse call

func (PostV0EndpointsByIdSecurityIpsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV0EndpointsByIdSecurityIpsResponse) GetBody

GetBody returns the raw response body bytes

func (PostV0EndpointsByIdSecurityIpsResponse) GetJSON200

func (r PostV0EndpointsByIdSecurityIpsResponse) GetJSON200() *struct {
	// Data The data object which contains the following fields:
	Data *struct {
		// Id A unique identifier for the IP rule
		Id *string `json:"id,omitempty"`

		// Ip The IP address that is allowed to access the API endpoint
		Ip *string `json:"ip,omitempty"`
	} `json:"data,omitempty"`

	// Error A field containing an error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV0EndpointsByIdSecurityIpsResponse) Status

Status returns HTTPResponse.Status

func (PostV0EndpointsByIdSecurityIpsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV0EndpointsByIdSecurityJwtsJSONBody

type PostV0EndpointsByIdSecurityJwtsJSONBody struct {
	// Kid The key identifier (KID) associated with the public key
	Kid *string `json:"kid,omitempty"`

	// Name A human-readable name for the JWT configuration
	Name *string `json:"name,omitempty"`

	// PublicKey The public key used to verify the JWT token
	PublicKey *string `json:"public_key,omitempty"`
}

PostV0EndpointsByIdSecurityJwtsJSONBody defines parameters for PostV0EndpointsByIdSecurityJwts.

type PostV0EndpointsByIdSecurityJwtsJSONRequestBody

type PostV0EndpointsByIdSecurityJwtsJSONRequestBody PostV0EndpointsByIdSecurityJwtsJSONBody

PostV0EndpointsByIdSecurityJwtsJSONRequestBody defines body for PostV0EndpointsByIdSecurityJwts for application/json ContentType.

type PostV0EndpointsByIdSecurityJwtsResponse

type PostV0EndpointsByIdSecurityJwtsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the following fields:
		Data *struct {
			// Id A unique identifier for the JWT configuration
			Id *string `json:"id,omitempty"`

			// Kid The key identifier (KID) associated with the public key
			Kid *string `json:"kid,omitempty"`

			// Name A human-readable name for the JWT configuration
			Name *string `json:"name,omitempty"`

			// PublicKey The public key used to verify the JWT token
			PublicKey *string `json:"public_key,omitempty"`
		} `json:"data,omitempty"`

		// Error A field containing an error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParsePostV0EndpointsByIdSecurityJwtsResponse

func ParsePostV0EndpointsByIdSecurityJwtsResponse(rsp *http.Response) (*PostV0EndpointsByIdSecurityJwtsResponse, error)

ParsePostV0EndpointsByIdSecurityJwtsResponse parses an HTTP response from a PostV0EndpointsByIdSecurityJwtsWithResponse call

func (PostV0EndpointsByIdSecurityJwtsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV0EndpointsByIdSecurityJwtsResponse) GetBody

GetBody returns the raw response body bytes

func (PostV0EndpointsByIdSecurityJwtsResponse) GetJSON200

func (r PostV0EndpointsByIdSecurityJwtsResponse) GetJSON200() *struct {
	// Data The data object which contains the following fields:
	Data *struct {
		// Id A unique identifier for the JWT configuration
		Id *string `json:"id,omitempty"`

		// Kid The key identifier (KID) associated with the public key
		Kid *string `json:"kid,omitempty"`

		// Name A human-readable name for the JWT configuration
		Name *string `json:"name,omitempty"`

		// PublicKey The public key used to verify the JWT token
		PublicKey *string `json:"public_key,omitempty"`
	} `json:"data,omitempty"`

	// Error A field containing an error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV0EndpointsByIdSecurityJwtsResponse) Status

Status returns HTTPResponse.Status

func (PostV0EndpointsByIdSecurityJwtsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV0EndpointsByIdSecurityReferrersJSONBody

type PostV0EndpointsByIdSecurityReferrersJSONBody struct {
	// Referrer The URL or domain that is allowed to access the specific API endpoint. Only requests coming from this referrer will be permitted
	Referrer string `json:"referrer"`
}

PostV0EndpointsByIdSecurityReferrersJSONBody defines parameters for PostV0EndpointsByIdSecurityReferrers.

type PostV0EndpointsByIdSecurityReferrersJSONRequestBody

type PostV0EndpointsByIdSecurityReferrersJSONRequestBody PostV0EndpointsByIdSecurityReferrersJSONBody

PostV0EndpointsByIdSecurityReferrersJSONRequestBody defines body for PostV0EndpointsByIdSecurityReferrers for application/json ContentType.

type PostV0EndpointsByIdSecurityReferrersResponse

type PostV0EndpointsByIdSecurityReferrersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the following fields:
		Data *struct {
			// Id A unique identifier for the referrer
			Id *string `json:"id,omitempty"`

			// Referrer The URL or domain that is allowed to access the specific API endpoint. Only requests coming from this referrer will be permitted
			Referrer *string `json:"referrer,omitempty"`
		} `json:"data,omitempty"`

		// Error A field containing an error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParsePostV0EndpointsByIdSecurityReferrersResponse

func ParsePostV0EndpointsByIdSecurityReferrersResponse(rsp *http.Response) (*PostV0EndpointsByIdSecurityReferrersResponse, error)

ParsePostV0EndpointsByIdSecurityReferrersResponse parses an HTTP response from a PostV0EndpointsByIdSecurityReferrersWithResponse call

func (PostV0EndpointsByIdSecurityReferrersResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV0EndpointsByIdSecurityReferrersResponse) GetBody

GetBody returns the raw response body bytes

func (PostV0EndpointsByIdSecurityReferrersResponse) GetJSON200

func (r PostV0EndpointsByIdSecurityReferrersResponse) GetJSON200() *struct {
	// Data The data object which contains the following fields:
	Data *struct {
		// Id A unique identifier for the referrer
		Id *string `json:"id,omitempty"`

		// Referrer The URL or domain that is allowed to access the specific API endpoint. Only requests coming from this referrer will be permitted
		Referrer *string `json:"referrer,omitempty"`
	} `json:"data,omitempty"`

	// Error A field containing an error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV0EndpointsByIdSecurityReferrersResponse) Status

Status returns HTTPResponse.Status

func (PostV0EndpointsByIdSecurityReferrersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV0EndpointsByIdSecurityRequestFiltersJSONBody

type PostV0EndpointsByIdSecurityRequestFiltersJSONBody struct {
	// Method An array of method names to whitelist
	Method *[]string `json:"method,omitempty"`
}

PostV0EndpointsByIdSecurityRequestFiltersJSONBody defines parameters for PostV0EndpointsByIdSecurityRequestFilters.

type PostV0EndpointsByIdSecurityRequestFiltersJSONRequestBody

type PostV0EndpointsByIdSecurityRequestFiltersJSONRequestBody PostV0EndpointsByIdSecurityRequestFiltersJSONBody

PostV0EndpointsByIdSecurityRequestFiltersJSONRequestBody defines body for PostV0EndpointsByIdSecurityRequestFilters for application/json ContentType.

type PostV0EndpointsByIdSecurityRequestFiltersResponse

type PostV0EndpointsByIdSecurityRequestFiltersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data Contains the created request filter details
		Data *struct {
			// Id The unique identifier (UUID) of the newly created request filter
			Id *string `json:"id,omitempty"`
		} `json:"data,omitempty"`

		// Error Contains error details if the request failed; null if successful
		Error *string `json:"error,omitempty"`
	}
}

func ParsePostV0EndpointsByIdSecurityRequestFiltersResponse

func ParsePostV0EndpointsByIdSecurityRequestFiltersResponse(rsp *http.Response) (*PostV0EndpointsByIdSecurityRequestFiltersResponse, error)

ParsePostV0EndpointsByIdSecurityRequestFiltersResponse parses an HTTP response from a PostV0EndpointsByIdSecurityRequestFiltersWithResponse call

func (PostV0EndpointsByIdSecurityRequestFiltersResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV0EndpointsByIdSecurityRequestFiltersResponse) GetBody

GetBody returns the raw response body bytes

func (PostV0EndpointsByIdSecurityRequestFiltersResponse) GetJSON200

func (r PostV0EndpointsByIdSecurityRequestFiltersResponse) GetJSON200() *struct {
	// Data Contains the created request filter details
	Data *struct {
		// Id The unique identifier (UUID) of the newly created request filter
		Id *string `json:"id,omitempty"`
	} `json:"data,omitempty"`

	// Error Contains error details if the request failed; null if successful
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV0EndpointsByIdSecurityRequestFiltersResponse) Status

Status returns HTTPResponse.Status

func (PostV0EndpointsByIdSecurityRequestFiltersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV0EndpointsByIdSecurityTokensResponse

type PostV0EndpointsByIdSecurityTokensResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the following fields:
		Data *struct {
			// Id A unique identifier for the token
			Id *string `json:"id,omitempty"`

			// Token The generated token string used for authentication
			Token *string `json:"token,omitempty"`
		} `json:"data,omitempty"`

		// Error A field containing an error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParsePostV0EndpointsByIdSecurityTokensResponse

func ParsePostV0EndpointsByIdSecurityTokensResponse(rsp *http.Response) (*PostV0EndpointsByIdSecurityTokensResponse, error)

ParsePostV0EndpointsByIdSecurityTokensResponse parses an HTTP response from a PostV0EndpointsByIdSecurityTokensWithResponse call

func (PostV0EndpointsByIdSecurityTokensResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV0EndpointsByIdSecurityTokensResponse) GetBody

GetBody returns the raw response body bytes

func (PostV0EndpointsByIdSecurityTokensResponse) GetJSON200

func (r PostV0EndpointsByIdSecurityTokensResponse) GetJSON200() *struct {
	// Data The data object which contains the following fields:
	Data *struct {
		// Id A unique identifier for the token
		Id *string `json:"id,omitempty"`

		// Token The generated token string used for authentication
		Token *string `json:"token,omitempty"`
	} `json:"data,omitempty"`

	// Error A field containing an error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV0EndpointsByIdSecurityTokensResponse) Status

Status returns HTTPResponse.Status

func (PostV0EndpointsByIdSecurityTokensResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV0EndpointsByIdTagsJSONBody

type PostV0EndpointsByIdTagsJSONBody struct {
	// Label The label/name for the new tag
	Label string `json:"label"`
}

PostV0EndpointsByIdTagsJSONBody defines parameters for PostV0EndpointsByIdTags.

type PostV0EndpointsByIdTagsJSONRequestBody

type PostV0EndpointsByIdTagsJSONRequestBody PostV0EndpointsByIdTagsJSONBody

PostV0EndpointsByIdTagsJSONRequestBody defines body for PostV0EndpointsByIdTags for application/json ContentType.

type PostV0EndpointsByIdTagsResponse

type PostV0EndpointsByIdTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the following fields:
		Data *struct {
			// Tags An array containing the newly created tag
			Tags *[]struct {
				// AccountId The account identifier associated with the tag
				AccountId *int `json:"account_id,omitempty"`

				// CreatedAt The timestamp when the tag was created
				CreatedAt *string `json:"created_at,omitempty"`

				// EndpointId The endpoint identifier associated with the tag
				EndpointId *int `json:"endpoint_id,omitempty"`

				// Id The unique identifier for the endpoint-tag relationship
				Id *int `json:"id,omitempty"`

				// Label The label/name of the newly created tag
				Label *string `json:"label,omitempty"`

				// TagId The unique identifier for the newly created tag
				TagId *int `json:"tag_id,omitempty"`

				// UpdatedAt The timestamp when the tag was last updated
				UpdatedAt *string `json:"updated_at,omitempty"`
			} `json:"tags,omitempty"`
		} `json:"data,omitempty"`

		// Error Contains error information, if any
		Error *string `json:"error,omitempty"`
	}
}

func ParsePostV0EndpointsByIdTagsResponse

func ParsePostV0EndpointsByIdTagsResponse(rsp *http.Response) (*PostV0EndpointsByIdTagsResponse, error)

ParsePostV0EndpointsByIdTagsResponse parses an HTTP response from a PostV0EndpointsByIdTagsWithResponse call

func (PostV0EndpointsByIdTagsResponse) ContentType

func (r PostV0EndpointsByIdTagsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV0EndpointsByIdTagsResponse) GetBody

func (r PostV0EndpointsByIdTagsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostV0EndpointsByIdTagsResponse) GetJSON200

func (r PostV0EndpointsByIdTagsResponse) GetJSON200() *struct {
	// Data The data object which contains the following fields:
	Data *struct {
		// Tags An array containing the newly created tag
		Tags *[]struct {
			// AccountId The account identifier associated with the tag
			AccountId *int `json:"account_id,omitempty"`

			// CreatedAt The timestamp when the tag was created
			CreatedAt *string `json:"created_at,omitempty"`

			// EndpointId The endpoint identifier associated with the tag
			EndpointId *int `json:"endpoint_id,omitempty"`

			// Id The unique identifier for the endpoint-tag relationship
			Id *int `json:"id,omitempty"`

			// Label The label/name of the newly created tag
			Label *string `json:"label,omitempty"`

			// TagId The unique identifier for the newly created tag
			TagId *int `json:"tag_id,omitempty"`

			// UpdatedAt The timestamp when the tag was last updated
			UpdatedAt *string `json:"updated_at,omitempty"`
		} `json:"tags,omitempty"`
	} `json:"data,omitempty"`

	// Error Contains error information, if any
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV0EndpointsByIdTagsResponse) Status

Status returns HTTPResponse.Status

func (PostV0EndpointsByIdTagsResponse) StatusCode

func (r PostV0EndpointsByIdTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV0EndpointsJSONBody

type PostV0EndpointsJSONBody struct {
	// Chain The chain name for which the endpoint is to be created
	Chain string `json:"chain"`

	// Network The chain network for which the endpoint is to be created
	Network string `json:"network"`
}

PostV0EndpointsJSONBody defines parameters for PostV0Endpoints.

type PostV0EndpointsJSONRequestBody

type PostV0EndpointsJSONRequestBody PostV0EndpointsJSONBody

PostV0EndpointsJSONRequestBody defines body for PostV0Endpoints for application/json ContentType.

type PostV0EndpointsResponse

type PostV0EndpointsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The data object which contains the following fields:
		Data *struct {
			// Chain The blockchain the endpoint is associated with
			Chain *string `json:"chain,omitempty"`

			// HttpUrl The HTTP URL to access the newly created endpoint
			HttpUrl *string `json:"http_url,omitempty"`

			// Id A unique identifier for the created endpoint
			Id *string `json:"id,omitempty"`

			// Label A descriptive label for the endpoint
			Label *string `json:"label,omitempty"`

			// Network The specific network of the blockchain
			Network *string `json:"network,omitempty"`

			// RateLimits The rate_limits object which contains the following fields:
			RateLimits *struct {
				// Account The account-level rate limit
				Account *int `json:"account,omitempty"`

				// RateLimitByIp Specifies if rate limiting is applied per IP
				RateLimitByIp *bool `json:"rate_limit_by_ip,omitempty"`

				// Rpd Requests per day limit
				Rpd *int `json:"rpd,omitempty"`

				// Rpm Requests per minute limit
				Rpm *int `json:"rpm,omitempty"`

				// Rps Requests per second limit
				Rps *int `json:"rps,omitempty"`
			} `json:"rate_limits,omitempty"`

			// Security The security object which contains the following fields:
			Security *struct {
				// DomainMasks An array of domain-based security configurations
				DomainMasks *[]struct {
					// Domain The allowed domain for accessing the endpoint
					Domain *string `json:"domain,omitempty"`

					// Id A unique identifier for the domain mask
					Id *string `json:"id,omitempty"`
				} `json:"domainMasks,omitempty"`

				// Ips An array of IP-based security configurations
				Ips *[]struct {
					// Id A unique identifier for the IP configuration
					Id *string `json:"id,omitempty"`

					// Ip The allowed IP address for accessing the endpoint
					Ip *string `json:"ip,omitempty"`
				} `json:"ips,omitempty"`

				// Jwts An array of JSON Web Token (JWT) configurations
				Jwts *[]struct {
					// Id A unique identifier for the JWT
					Id *string `json:"id,omitempty"`

					// Kid A unique key identifier for the JWT public key
					Kid *string `json:"kid,omitempty"`

					// Name The name of the JWT
					Name *string `json:"name,omitempty"`

					// PublicKey The public key used in the JWT
					PublicKey *string `json:"public_key,omitempty"`
				} `json:"jwts,omitempty"`

				// Options A list of security options available for the endpoint
				Options *struct {
					// Cors Indicates whether Cross-Origin Resource Sharing (CORS) is enabled
					Cors *bool `json:"cors,omitempty"`

					// DebugAuthErrors Indicates whether detailed authentication error debugging is enabled
					DebugAuthErrors *bool `json:"debugAuthErrors,omitempty"`

					// DomainMasks Indicates whether domain mask security is enabled
					DomainMasks *bool `json:"domainMasks,omitempty"`

					// EnforceChainNetwork Indicates whether the specified chain and network are enforced for the endpoint
					EnforceChainNetwork *bool `json:"enforceChainNetwork,omitempty"`

					// Hosts Indicates whether host-based security is enabled
					Hosts *bool `json:"hosts,omitempty"`

					// Hsts Indicates whether HTTP Strict Transport Security (HSTS) is enforced
					Hsts           *bool `json:"hsts,omitempty"`
					IpCustomHeader *struct {
						Value *string `json:"value,omitempty"`
					} `json:"ipCustomHeader,omitempty"`

					// Ips Indicates whether IP-based security is enabled
					Ips *bool `json:"ips,omitempty"`

					// Jwts Indicates whether JWT-based security is enabled
					Jwts *bool `json:"jwts,omitempty"`

					// Referrers Indicates whether referrer-based security is enable
					Referrers *bool `json:"referrers,omitempty"`

					// RequestFilters Indicates whether request filters are applied
					RequestFilters *bool `json:"requestFilters,omitempty"`

					// Tokens Indicates whether token-based security is enabled
					Tokens *bool `json:"tokens,omitempty"`

					// ValidHosts Indicates whether only valid hosts are allowed
					ValidHosts *bool `json:"validHosts,omitempty"`
				} `json:"options,omitempty"`

				// Referrers An array of referrer-based security configurations
				Referrers *[]struct {
					// Id A unique identifier for the referrer.
					Id *string `json:"id,omitempty"`

					// Referrer The referrer URL allowed to access the endpoint
					Referrer *string `json:"referrer,omitempty"`
				} `json:"referrers,omitempty"`

				// Tokens An array of token-based security configurations
				Tokens *[]struct {
					// Id A unique identifier for the token
					Id *string `json:"id,omitempty"`

					// Token The actual token value used for authentication
					Token *string `json:"token,omitempty"`
				} `json:"tokens,omitempty"`
			} `json:"security,omitempty"`

			// WssUrl The WebSocket URL to access the newly created endpoint
			WssUrl *string `json:"wss_url,omitempty"`
		} `json:"data,omitempty"`

		// Error Contains error information, if any
		Error *string `json:"error,omitempty"`
	}
}

func ParsePostV0EndpointsResponse

func ParsePostV0EndpointsResponse(rsp *http.Response) (*PostV0EndpointsResponse, error)

ParsePostV0EndpointsResponse parses an HTTP response from a PostV0EndpointsWithResponse call

func (PostV0EndpointsResponse) ContentType

func (r PostV0EndpointsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV0EndpointsResponse) GetBody

func (r PostV0EndpointsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostV0EndpointsResponse) GetJSON200

func (r PostV0EndpointsResponse) GetJSON200() *struct {
	// Data The data object which contains the following fields:
	Data *struct {
		// Chain The blockchain the endpoint is associated with
		Chain *string `json:"chain,omitempty"`

		// HttpUrl The HTTP URL to access the newly created endpoint
		HttpUrl *string `json:"http_url,omitempty"`

		// Id A unique identifier for the created endpoint
		Id *string `json:"id,omitempty"`

		// Label A descriptive label for the endpoint
		Label *string `json:"label,omitempty"`

		// Network The specific network of the blockchain
		Network *string `json:"network,omitempty"`

		// RateLimits The rate_limits object which contains the following fields:
		RateLimits *struct {
			// Account The account-level rate limit
			Account *int `json:"account,omitempty"`

			// RateLimitByIp Specifies if rate limiting is applied per IP
			RateLimitByIp *bool `json:"rate_limit_by_ip,omitempty"`

			// Rpd Requests per day limit
			Rpd *int `json:"rpd,omitempty"`

			// Rpm Requests per minute limit
			Rpm *int `json:"rpm,omitempty"`

			// Rps Requests per second limit
			Rps *int `json:"rps,omitempty"`
		} `json:"rate_limits,omitempty"`

		// Security The security object which contains the following fields:
		Security *struct {
			// DomainMasks An array of domain-based security configurations
			DomainMasks *[]struct {
				// Domain The allowed domain for accessing the endpoint
				Domain *string `json:"domain,omitempty"`

				// Id A unique identifier for the domain mask
				Id *string `json:"id,omitempty"`
			} `json:"domainMasks,omitempty"`

			// Ips An array of IP-based security configurations
			Ips *[]struct {
				// Id A unique identifier for the IP configuration
				Id *string `json:"id,omitempty"`

				// Ip The allowed IP address for accessing the endpoint
				Ip *string `json:"ip,omitempty"`
			} `json:"ips,omitempty"`

			// Jwts An array of JSON Web Token (JWT) configurations
			Jwts *[]struct {
				// Id A unique identifier for the JWT
				Id *string `json:"id,omitempty"`

				// Kid A unique key identifier for the JWT public key
				Kid *string `json:"kid,omitempty"`

				// Name The name of the JWT
				Name *string `json:"name,omitempty"`

				// PublicKey The public key used in the JWT
				PublicKey *string `json:"public_key,omitempty"`
			} `json:"jwts,omitempty"`

			// Options A list of security options available for the endpoint
			Options *struct {
				// Cors Indicates whether Cross-Origin Resource Sharing (CORS) is enabled
				Cors *bool `json:"cors,omitempty"`

				// DebugAuthErrors Indicates whether detailed authentication error debugging is enabled
				DebugAuthErrors *bool `json:"debugAuthErrors,omitempty"`

				// DomainMasks Indicates whether domain mask security is enabled
				DomainMasks *bool `json:"domainMasks,omitempty"`

				// EnforceChainNetwork Indicates whether the specified chain and network are enforced for the endpoint
				EnforceChainNetwork *bool `json:"enforceChainNetwork,omitempty"`

				// Hosts Indicates whether host-based security is enabled
				Hosts *bool `json:"hosts,omitempty"`

				// Hsts Indicates whether HTTP Strict Transport Security (HSTS) is enforced
				Hsts           *bool `json:"hsts,omitempty"`
				IpCustomHeader *struct {
					Value *string `json:"value,omitempty"`
				} `json:"ipCustomHeader,omitempty"`

				// Ips Indicates whether IP-based security is enabled
				Ips *bool `json:"ips,omitempty"`

				// Jwts Indicates whether JWT-based security is enabled
				Jwts *bool `json:"jwts,omitempty"`

				// Referrers Indicates whether referrer-based security is enable
				Referrers *bool `json:"referrers,omitempty"`

				// RequestFilters Indicates whether request filters are applied
				RequestFilters *bool `json:"requestFilters,omitempty"`

				// Tokens Indicates whether token-based security is enabled
				Tokens *bool `json:"tokens,omitempty"`

				// ValidHosts Indicates whether only valid hosts are allowed
				ValidHosts *bool `json:"validHosts,omitempty"`
			} `json:"options,omitempty"`

			// Referrers An array of referrer-based security configurations
			Referrers *[]struct {
				// Id A unique identifier for the referrer.
				Id *string `json:"id,omitempty"`

				// Referrer The referrer URL allowed to access the endpoint
				Referrer *string `json:"referrer,omitempty"`
			} `json:"referrers,omitempty"`

			// Tokens An array of token-based security configurations
			Tokens *[]struct {
				// Id A unique identifier for the token
				Id *string `json:"id,omitempty"`

				// Token The actual token value used for authentication
				Token *string `json:"token,omitempty"`
			} `json:"tokens,omitempty"`
		} `json:"security,omitempty"`

		// WssUrl The WebSocket URL to access the newly created endpoint
		WssUrl *string `json:"wss_url,omitempty"`
	} `json:"data,omitempty"`

	// Error Contains error information, if any
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV0EndpointsResponse) Status

func (r PostV0EndpointsResponse) Status() string

Status returns HTTPResponse.Status

func (PostV0EndpointsResponse) StatusCode

func (r PostV0EndpointsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV0TeamsByIdMembersByUserIdResendInviteResponse

type PostV0TeamsByIdMembersByUserIdResendInviteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The response object containing the following fields:
		Data *struct {
			// Message A message confirming the invitation was resent successfully
			Message *string `json:"message,omitempty"`
		} `json:"data,omitempty"`

		// Error An error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParsePostV0TeamsByIdMembersByUserIdResendInviteResponse

func ParsePostV0TeamsByIdMembersByUserIdResendInviteResponse(rsp *http.Response) (*PostV0TeamsByIdMembersByUserIdResendInviteResponse, error)

ParsePostV0TeamsByIdMembersByUserIdResendInviteResponse parses an HTTP response from a PostV0TeamsByIdMembersByUserIdResendInviteWithResponse call

func (PostV0TeamsByIdMembersByUserIdResendInviteResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV0TeamsByIdMembersByUserIdResendInviteResponse) GetBody

GetBody returns the raw response body bytes

func (PostV0TeamsByIdMembersByUserIdResendInviteResponse) GetJSON200

func (r PostV0TeamsByIdMembersByUserIdResendInviteResponse) GetJSON200() *struct {
	// Data The response object containing the following fields:
	Data *struct {
		// Message A message confirming the invitation was resent successfully
		Message *string `json:"message,omitempty"`
	} `json:"data,omitempty"`

	// Error An error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV0TeamsByIdMembersByUserIdResendInviteResponse) Status

Status returns HTTPResponse.Status

func (PostV0TeamsByIdMembersByUserIdResendInviteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV0TeamsByIdMembersJSONBody

type PostV0TeamsByIdMembersJSONBody struct {
	// Email The email address of the user to invite
	Email string `json:"email"`

	// FullName The full name of the user to invite (required only for new users)
	FullName *string `json:"full_name,omitempty"`

	// Role The role to assign to the invited user. Valid values: admin, viewer, billing. Required only for new users
	Role *string `json:"role,omitempty"`
}

PostV0TeamsByIdMembersJSONBody defines parameters for PostV0TeamsByIdMembers.

type PostV0TeamsByIdMembersJSONRequestBody

type PostV0TeamsByIdMembersJSONRequestBody PostV0TeamsByIdMembersJSONBody

PostV0TeamsByIdMembersJSONRequestBody defines body for PostV0TeamsByIdMembers for application/json ContentType.

type PostV0TeamsByIdMembersResponse

type PostV0TeamsByIdMembersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The invited user object containing the following fields:
		Data *struct {
			// Email The email address of the invited user
			Email *string `json:"email,omitempty"`

			// FullName The full name of the invited user
			FullName *string `json:"full_name,omitempty"`

			// Id A unique identifier for the invited user
			Id *int `json:"id,omitempty"`

			// Role The role assigned to the invited user (admin, viewer, or billing)
			Role *string `json:"role,omitempty"`

			// Status The status of the invitation (e.g., Active, Pending)
			Status *string `json:"status,omitempty"`
		} `json:"data,omitempty"`

		// Error An error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParsePostV0TeamsByIdMembersResponse

func ParsePostV0TeamsByIdMembersResponse(rsp *http.Response) (*PostV0TeamsByIdMembersResponse, error)

ParsePostV0TeamsByIdMembersResponse parses an HTTP response from a PostV0TeamsByIdMembersWithResponse call

func (PostV0TeamsByIdMembersResponse) ContentType

func (r PostV0TeamsByIdMembersResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV0TeamsByIdMembersResponse) GetBody

func (r PostV0TeamsByIdMembersResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostV0TeamsByIdMembersResponse) GetJSON200

func (r PostV0TeamsByIdMembersResponse) GetJSON200() *struct {
	// Data The invited user object containing the following fields:
	Data *struct {
		// Email The email address of the invited user
		Email *string `json:"email,omitempty"`

		// FullName The full name of the invited user
		FullName *string `json:"full_name,omitempty"`

		// Id A unique identifier for the invited user
		Id *int `json:"id,omitempty"`

		// Role The role assigned to the invited user (admin, viewer, or billing)
		Role *string `json:"role,omitempty"`

		// Status The status of the invitation (e.g., Active, Pending)
		Status *string `json:"status,omitempty"`
	} `json:"data,omitempty"`

	// Error An error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV0TeamsByIdMembersResponse) Status

Status returns HTTPResponse.Status

func (PostV0TeamsByIdMembersResponse) StatusCode

func (r PostV0TeamsByIdMembersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV0TeamsJSONBody

type PostV0TeamsJSONBody struct {
	// Name The name for the new team
	Name string `json:"name"`
}

PostV0TeamsJSONBody defines parameters for PostV0Teams.

type PostV0TeamsJSONRequestBody

type PostV0TeamsJSONRequestBody PostV0TeamsJSONBody

PostV0TeamsJSONRequestBody defines body for PostV0Teams for application/json ContentType.

type PostV0TeamsResponse

type PostV0TeamsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data The created team object containing the following fields:
		Data *struct {
			// DefaultRole The default role assigned to new team members (admin, viewer, or billing)
			DefaultRole *string `json:"default_role,omitempty"`

			// Id A unique identifier for the created team
			Id *int `json:"id,omitempty"`

			// MembersCount The number of members in the team
			MembersCount *int `json:"members_count,omitempty"`

			// Name The name of the created team
			Name *string `json:"name,omitempty"`
		} `json:"data,omitempty"`

		// Error An error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParsePostV0TeamsResponse

func ParsePostV0TeamsResponse(rsp *http.Response) (*PostV0TeamsResponse, error)

ParsePostV0TeamsResponse parses an HTTP response from a PostV0TeamsWithResponse call

func (PostV0TeamsResponse) ContentType

func (r PostV0TeamsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV0TeamsResponse) GetBody

func (r PostV0TeamsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostV0TeamsResponse) GetJSON200

func (r PostV0TeamsResponse) GetJSON200() *struct {
	// Data The created team object containing the following fields:
	Data *struct {
		// DefaultRole The default role assigned to new team members (admin, viewer, or billing)
		DefaultRole *string `json:"default_role,omitempty"`

		// Id A unique identifier for the created team
		Id *int `json:"id,omitempty"`

		// MembersCount The number of members in the team
		MembersCount *int `json:"members_count,omitempty"`

		// Name The name of the created team
		Name *string `json:"name,omitempty"`
	} `json:"data,omitempty"`

	// Error An error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV0TeamsResponse) Status

func (r PostV0TeamsResponse) Status() string

Status returns HTTPResponse.Status

func (PostV0TeamsResponse) StatusCode

func (r PostV0TeamsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV0ToolingAccessTokenResponse

type PostV0ToolingAccessTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Data An object which contains the following fields:
		Data *struct {
			// EndpointUrl The URL of the Tooling Access endpoint the token authenticates against
			EndpointUrl *string `json:"endpoint_url,omitempty"`

			// ExpiresAt The timestamp when the token expires
			ExpiresAt *string `json:"expires_at,omitempty"`

			// Token The short-lived ES256 JWT used to authenticate RPC calls
			Token *string `json:"token,omitempty"`
		} `json:"data,omitempty"`

		// Error An error message if any issue occurs
		Error *string `json:"error,omitempty"`
	}
}

func ParsePostV0ToolingAccessTokenResponse

func ParsePostV0ToolingAccessTokenResponse(rsp *http.Response) (*PostV0ToolingAccessTokenResponse, error)

ParsePostV0ToolingAccessTokenResponse parses an HTTP response from a PostV0ToolingAccessTokenWithResponse call

func (PostV0ToolingAccessTokenResponse) ContentType

func (r PostV0ToolingAccessTokenResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV0ToolingAccessTokenResponse) GetBody

func (r PostV0ToolingAccessTokenResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostV0ToolingAccessTokenResponse) GetJSON200

func (r PostV0ToolingAccessTokenResponse) GetJSON200() *struct {
	// Data An object which contains the following fields:
	Data *struct {
		// EndpointUrl The URL of the Tooling Access endpoint the token authenticates against
		EndpointUrl *string `json:"endpoint_url,omitempty"`

		// ExpiresAt The timestamp when the token expires
		ExpiresAt *string `json:"expires_at,omitempty"`

		// Token The short-lived ES256 JWT used to authenticate RPC calls
		Token *string `json:"token,omitempty"`
	} `json:"data,omitempty"`

	// Error An error message if any issue occurs
	Error *string `json:"error,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV0ToolingAccessTokenResponse) Status

Status returns HTTPResponse.Status

func (PostV0ToolingAccessTokenResponse) StatusCode

func (r PostV0ToolingAccessTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdJSONBody

type PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdJSONBody struct {
	// Method An array of method names to whitelist
	Method *[]string `json:"method,omitempty"`
}

PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdJSONBody defines parameters for PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterId.

type PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdJSONRequestBody

type PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdJSONRequestBody PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdJSONBody

PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdJSONRequestBody defines body for PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterId for application/json ContentType.

type PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse

type PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse

func ParsePutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse(rsp *http.Response) (*PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse, error)

ParsePutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse parses an HTTP response from a PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdWithResponse call

func (PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse) GetBody

GetBody returns the raw response body bytes

func (PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse) Status

Status returns HTTPResponse.Status

func (PutV0EndpointsByIdSecurityRequestFiltersByRequestFilterIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL