management

package
v4.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: GPL-3.0 Imports: 11 Imported by: 0

README

OpenAPI Management Bindings

This package contains generated Go model and client bindings for selected management OpenAPI operations. The source contract is server/openapi/openapi.yaml, and generation is limited by server/openapi/oapi-management-bindings.yaml to OpenAPI export, async, cache, brute-force, runtime config, and OIDC session administration endpoint tags.

The production-supported boundary for downstream callers is server/openapi/client. Use this generated package for the DTOs and generated response wrappers that boundary exposes.

The generated files are committed so normal builds do not require generator access at compile time.

Generator

This package is generated with:

github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen v2.7.0

The project keeps the generator as a vendored tool dependency. oapi-codegen v2.7.0 warns that OpenAPI 3.1 support is not complete, so generation stays narrow and is guarded by adapter, smoke, and supported-boundary tests. Gin route registration, runtime request validation, and special protocol clients stay hand-owned by Nauthilus.

Regenerating

From the repository root:

make generate-openapi-bindings

The package-local go:generate directive is equivalent:

go generate ./server/openapi/generated/management

Check that committed generated files are in sync:

make generate-openapi-bindings-check

After regenerating, run:

GOEXPERIMENT=runtimesecret GOCACHE=/tmp/nauthilus-go-cache go test ./server/openapi ./server/openapi/client ./server/openapi/generated/management ./server/handler/cache ./server/handler/bruteforce
GOEXPERIMENT=runtimesecret GOCACHE=/tmp/nauthilus-go-cache make guardrails

Documentation

Overview

Package management 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.

Package management contains generated OpenAPI model and client bindings for selected management API operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeleteOIDCSessionRequest

func NewDeleteOIDCSessionRequest(server string, userId string, token string) (*http.Request, error)

NewDeleteOIDCSessionRequest constructs an http.Request for the DeleteOIDCSession method

func NewDeleteOIDCSessionsRequest

func NewDeleteOIDCSessionsRequest(server string, userId string) (*http.Request, error)

NewDeleteOIDCSessionsRequest constructs an http.Request for the DeleteOIDCSessions method

func NewDeleteReputationOverrideRequest

func NewDeleteReputationOverrideRequest(server string, body DeleteReputationOverrideJSONRequestBody) (*http.Request, error)

NewDeleteReputationOverrideRequest calls the generic DeleteReputationOverride builder with application/json body

func NewDeleteReputationOverrideRequestWithBody

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

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

func NewEnqueueBruteForceRuleFlushRequest

func NewEnqueueBruteForceRuleFlushRequest(server string, body EnqueueBruteForceRuleFlushJSONRequestBody) (*http.Request, error)

NewEnqueueBruteForceRuleFlushRequest calls the generic EnqueueBruteForceRuleFlush builder with application/json body

func NewEnqueueBruteForceRuleFlushRequestWithBody

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

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

func NewEnqueueUserCacheFlushRequest

func NewEnqueueUserCacheFlushRequest(server string, body EnqueueUserCacheFlushJSONRequestBody) (*http.Request, error)

NewEnqueueUserCacheFlushRequest calls the generic EnqueueUserCacheFlush builder with application/json body

func NewEnqueueUserCacheFlushRequestWithBody

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

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

func NewEvaluatePolicyDecisionRequest

func NewEvaluatePolicyDecisionRequest(server string, body EvaluatePolicyDecisionJSONRequestBody) (*http.Request, error)

NewEvaluatePolicyDecisionRequest calls the generic EvaluatePolicyDecision builder with application/json body

func NewEvaluatePolicyDecisionRequestWithBody

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

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

func NewFlushBruteForceRuleRequest

func NewFlushBruteForceRuleRequest(server string, body FlushBruteForceRuleJSONRequestBody) (*http.Request, error)

NewFlushBruteForceRuleRequest calls the generic FlushBruteForceRule builder with application/json body

func NewFlushBruteForceRuleRequestWithBody

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

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

func NewFlushUserCacheRequest

func NewFlushUserCacheRequest(server string, body FlushUserCacheJSONRequestBody) (*http.Request, error)

NewFlushUserCacheRequest calls the generic FlushUserCache builder with application/json body

func NewFlushUserCacheRequestWithBody

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

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

func NewGetAsyncJobStatusRequest

func NewGetAsyncJobStatusRequest(server string, jobId string) (*http.Request, error)

NewGetAsyncJobStatusRequest constructs an http.Request for the GetAsyncJobStatus method

func NewGetOpenAPIJSONRequest

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

NewGetOpenAPIJSONRequest constructs an http.Request for the GetOpenAPIJSON method

func NewGetOpenAPIYAMLRequest

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

NewGetOpenAPIYAMLRequest constructs an http.Request for the GetOpenAPIYAML method

func NewListBruteForceEntriesRequest

func NewListBruteForceEntriesRequest(server string, params *ListBruteForceEntriesParams) (*http.Request, error)

NewListBruteForceEntriesRequest constructs an http.Request for the ListBruteForceEntries method

func NewListFilteredBruteForceEntriesRequest

func NewListFilteredBruteForceEntriesRequest(server string, params *ListFilteredBruteForceEntriesParams, body ListFilteredBruteForceEntriesJSONRequestBody) (*http.Request, error)

NewListFilteredBruteForceEntriesRequest calls the generic ListFilteredBruteForceEntries builder with application/json body

func NewListFilteredBruteForceEntriesRequestWithBody

func NewListFilteredBruteForceEntriesRequestWithBody(server string, params *ListFilteredBruteForceEntriesParams, contentType string, body io.Reader) (*http.Request, error)

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

func NewListOIDCSessionsRequest

func NewListOIDCSessionsRequest(server string, userId string) (*http.Request, error)

NewListOIDCSessionsRequest constructs an http.Request for the ListOIDCSessions method

func NewLookupReputationRequest

func NewLookupReputationRequest(server string, body LookupReputationJSONRequestBody) (*http.Request, error)

NewLookupReputationRequest calls the generic LookupReputation builder with application/json body

func NewLookupReputationRequestWithBody

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

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

func NewManageReputationAllocationRequest

func NewManageReputationAllocationRequest(server string, body ManageReputationAllocationJSONRequestBody) (*http.Request, error)

NewManageReputationAllocationRequest calls the generic ManageReputationAllocation builder with application/json body

func NewManageReputationAllocationRequestWithBody

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

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

func NewPutReputationOverrideRequest

func NewPutReputationOverrideRequest(server string, body PutReputationOverrideJSONRequestBody) (*http.Request, error)

NewPutReputationOverrideRequest calls the generic PutReputationOverride builder with application/json body

func NewPutReputationOverrideRequestWithBody

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

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

Types

type AsyncAccepted

type AsyncAccepted = AsyncAcceptedResult

AsyncAccepted defines model for AsyncAccepted.

type AsyncAcceptedPayload

type AsyncAcceptedPayload struct {
	JobId string `json:"jobId"`

	// Status The initial state returned immediately after the job is accepted.
	Status AsyncAcceptedPayloadStatus `json:"status"`
}

AsyncAcceptedPayload defines model for AsyncAcceptedPayload.

type AsyncAcceptedPayloadStatus

type AsyncAcceptedPayloadStatus string

AsyncAcceptedPayloadStatus The initial state returned immediately after the job is accepted.

const (
	AsyncAcceptedStatusQueued AsyncAcceptedPayloadStatus = "QUEUED"
)

Defines values for AsyncAcceptedPayloadStatus.

func (AsyncAcceptedPayloadStatus) Valid

func (e AsyncAcceptedPayloadStatus) Valid() bool

Valid indicates whether the value is a known member of the AsyncAcceptedPayloadStatus enum.

type AsyncAcceptedResult

type AsyncAcceptedResult struct {
	Object    string               `json:"object"`
	Operation string               `json:"operation"`
	Result    AsyncAcceptedPayload `json:"result"`
	Session   string               `json:"session"`
}

AsyncAcceptedResult defines model for AsyncAcceptedResult.

type AsyncJobStatusPayload

type AsyncJobStatusPayload struct {
	CreatedAt   *string `json:"createdAt,omitempty"`
	Error       *string `json:"error,omitempty"`
	FinishedAt  *string `json:"finishedAt,omitempty"`
	JobId       *string `json:"jobId,omitempty"`
	ResultCount *string `json:"resultCount,omitempty"`
	StartedAt   *string `json:"startedAt,omitempty"`

	// Status Current async job lifecycle state.
	Status *AsyncJobStatusPayloadStatus `json:"status,omitempty"`
	Type   *string                      `json:"type,omitempty"`
}

AsyncJobStatusPayload defines model for AsyncJobStatusPayload.

type AsyncJobStatusPayloadStatus

type AsyncJobStatusPayloadStatus string

AsyncJobStatusPayloadStatus Current async job lifecycle state.

const (
	AsyncJobStatusDone       AsyncJobStatusPayloadStatus = "DONE"
	AsyncJobStatusError      AsyncJobStatusPayloadStatus = "ERROR"
	AsyncJobStatusInProgress AsyncJobStatusPayloadStatus = "INPROGRESS"
	AsyncJobStatusQueued     AsyncJobStatusPayloadStatus = "QUEUED"
)

Defines values for AsyncJobStatusPayloadStatus.

func (AsyncJobStatusPayloadStatus) Valid

Valid indicates whether the value is a known member of the AsyncJobStatusPayloadStatus enum.

type AsyncJobStatusResult

type AsyncJobStatusResult struct {
	Object    string                `json:"object"`
	Operation string                `json:"operation"`
	Result    AsyncJobStatusPayload `json:"result"`
	Session   string                `json:"session"`
}

AsyncJobStatusResult defines model for AsyncJobStatusResult.

type BruteForceFilterRequest

type BruteForceFilterRequest struct {
	Accounts    *[]string `json:"accounts,omitempty"`
	IpAddresses *[]string `json:"ip_addresses,omitempty"`
}

BruteForceFilterRequest defines model for BruteForceFilterRequest.

type BruteForceFlushPayload

type BruteForceFlushPayload struct {
	IpAddress   *string   `json:"ip_address,omitempty"`
	OidcCid     *string   `json:"oidc_cid,omitempty"`
	Protocol    *string   `json:"protocol,omitempty"`
	RemovedKeys *[]string `json:"removed_keys,omitempty"`
	RuleName    *string   `json:"rule_name,omitempty"`
	Status      *string   `json:"status,omitempty"`
}

BruteForceFlushPayload defines model for BruteForceFlushPayload.

type BruteForceFlushRequest

type BruteForceFlushRequest struct {
	IpAddress string  `json:"ip_address"`
	OidcCid   *string `json:"oidc_cid,omitempty"`
	Protocol  *string `json:"protocol,omitempty"`
	RuleName  string  `json:"rule_name"`
}

BruteForceFlushRequest defines model for BruteForceFlushRequest.

type BruteForceFlushResult

type BruteForceFlushResult struct {
	Object    string                 `json:"object"`
	Operation string                 `json:"operation"`
	Result    BruteForceFlushPayload `json:"result"`
	Session   string                 `json:"session"`
}

BruteForceFlushResult defines model for BruteForceFlushResult.

type BruteForceListResult

type BruteForceListResult struct {
	Object    string        `json:"object"`
	Operation string        `json:"operation"`
	Result    []interface{} `json:"result"`
	Session   string        `json:"session"`
}

BruteForceListResult defines model for BruteForceListResult.

type CacheFlushPayload

type CacheFlushPayload struct {
	RemovedKeys *[]string `json:"removed_keys,omitempty"`
	Status      *string   `json:"status,omitempty"`
	User        *string   `json:"user,omitempty"`
}

CacheFlushPayload defines model for CacheFlushPayload.

type CacheFlushRequest

type CacheFlushRequest struct {
	User string `json:"user"`
}

CacheFlushRequest defines model for CacheFlushRequest.

type CacheFlushResult

type CacheFlushResult struct {
	Object    string            `json:"object"`
	Operation string            `json:"operation"`
	Result    CacheFlushPayload `json:"result"`
	Session   string            `json:"session"`
}

CacheFlushResult defines model for CacheFlushResult.

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

func (c *Client) DeleteOIDCSession(ctx context.Context, userId string, token string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteOIDCSession Delete one OIDC session for a user.

Corresponds with DELETE /api/v1/oidc/sessions/{user_id}/{token} (the `DeleteOIDCSession` operationId).

func (*Client) DeleteOIDCSessions

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

DeleteOIDCSessions Delete all OIDC sessions for a user.

Corresponds with DELETE /api/v1/oidc/sessions/{user_id} (the `DeleteOIDCSessions` operationId).

func (*Client) DeleteReputationOverride

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

DeleteReputationOverride Remove one selected operator override revision.

Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.

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

Corresponds with DELETE /api/v1/custom/reputation/override (the `DeleteReputationOverride` operationId).

func (*Client) DeleteReputationOverrideWithBody

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

DeleteReputationOverrideWithBody Remove one selected operator override revision.

Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.

Takes any type of body and a specified content type.

Corresponds with DELETE /api/v1/custom/reputation/override (the `DeleteReputationOverride` operationId).

func (*Client) EnqueueBruteForceRuleFlush

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

EnqueueBruteForceRuleFlush Enqueue an asynchronous brute-force rule flush.

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

Corresponds with DELETE /api/v1/bruteforce/flush/async (the `EnqueueBruteForceRuleFlush` operationId).

func (*Client) EnqueueBruteForceRuleFlushWithBody

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

EnqueueBruteForceRuleFlushWithBody Enqueue an asynchronous brute-force rule flush.

Takes any type of body and a specified content type.

Corresponds with DELETE /api/v1/bruteforce/flush/async (the `EnqueueBruteForceRuleFlush` operationId).

func (*Client) EnqueueUserCacheFlush

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

EnqueueUserCacheFlush Enqueue an asynchronous user cache flush.

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

Corresponds with DELETE /api/v1/cache/flush/async (the `EnqueueUserCacheFlush` operationId).

func (*Client) EnqueueUserCacheFlushWithBody

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

EnqueueUserCacheFlushWithBody Enqueue an asynchronous user cache flush.

Takes any type of body and a specified content type.

Corresponds with DELETE /api/v1/cache/flush/async (the `EnqueueUserCacheFlush` operationId).

func (*Client) EvaluatePolicyDecision

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

EvaluatePolicyDecision Evaluate one Policy decision.

Evaluates exactly one admitted Policy request. Responses are never cacheable and do not expose retry, replay, cache, or outcome-reporting controls.

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

Corresponds with POST /api/v1/policy/decisions (the `EvaluatePolicyDecision` operationId).

func (*Client) EvaluatePolicyDecisionWithBody

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

EvaluatePolicyDecisionWithBody Evaluate one Policy decision.

Evaluates exactly one admitted Policy request. Responses are never cacheable and do not expose retry, replay, cache, or outcome-reporting controls.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/policy/decisions (the `EvaluatePolicyDecision` operationId).

func (*Client) FlushBruteForceRule

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

FlushBruteForceRule Flush brute-force data for a configured rule.

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

Corresponds with DELETE /api/v1/bruteforce/flush (the `FlushBruteForceRule` operationId).

func (*Client) FlushBruteForceRuleWithBody

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

FlushBruteForceRuleWithBody Flush brute-force data for a configured rule.

Takes any type of body and a specified content type.

Corresponds with DELETE /api/v1/bruteforce/flush (the `FlushBruteForceRule` operationId).

func (*Client) FlushUserCache

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

FlushUserCache Flush authentication cache entries for a user.

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

Corresponds with DELETE /api/v1/cache/flush (the `FlushUserCache` operationId).

func (*Client) FlushUserCacheWithBody

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

FlushUserCacheWithBody Flush authentication cache entries for a user.

Takes any type of body and a specified content type.

Corresponds with DELETE /api/v1/cache/flush (the `FlushUserCache` operationId).

func (*Client) GetAsyncJobStatus

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

GetAsyncJobStatus Get the status of an asynchronous backchannel job.

Corresponds with GET /api/v1/async/jobs/{jobId} (the `GetAsyncJobStatus` operationId).

func (*Client) GetOpenAPIJSON

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

GetOpenAPIJSON Get the OpenAPI document as JSON.

Corresponds with GET /api/v1/openapi.json (the `GetOpenAPIJSON` operationId).

func (*Client) GetOpenAPIYAML

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

GetOpenAPIYAML Get the OpenAPI document as YAML.

Corresponds with GET /api/v1/openapi.yaml (the `GetOpenAPIYAML` operationId).

func (*Client) ListBruteForceEntries

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

ListBruteForceEntries List active brute-force bans and blocked accounts.

Corresponds with GET /api/v1/bruteforce/list (the `ListBruteForceEntries` operationId).

func (*Client) ListFilteredBruteForceEntries

func (c *Client) ListFilteredBruteForceEntries(ctx context.Context, params *ListFilteredBruteForceEntriesParams, body ListFilteredBruteForceEntriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ListFilteredBruteForceEntries List active brute-force data with optional account and IP filters.

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

Corresponds with POST /api/v1/bruteforce/list (the `ListFilteredBruteForceEntries` operationId).

func (*Client) ListFilteredBruteForceEntriesWithBody

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

ListFilteredBruteForceEntriesWithBody List active brute-force data with optional account and IP filters.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/bruteforce/list (the `ListFilteredBruteForceEntries` operationId).

func (*Client) ListOIDCSessions

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

ListOIDCSessions List active OIDC sessions for a user.

Corresponds with GET /api/v1/oidc/sessions/{user_id} (the `ListOIDCSessions` operationId).

func (*Client) LookupReputation

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

LookupReputation Inspect one exact reputation subject.

Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.

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

Corresponds with POST /api/v1/custom/reputation/lookup (the `LookupReputation` operationId).

func (*Client) LookupReputationWithBody

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

LookupReputationWithBody Inspect one exact reputation subject.

Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/custom/reputation/lookup (the `LookupReputation` operationId).

func (*Client) ManageReputationAllocation

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

ManageReputationAllocation Inspect or fence the current allocation generation.

Requires backchannel bearer nauthilus:admin. Status reads the primary and all 16 shard fences without mutation. Drain requires audit fields and fences writers before starting the retained maximum event lifetime. Retry uses the identical audit fields and actor; a different in-progress change conflicts. After a process restart, allocation_maintenance must be explicitly enabled with the original key and generation to retain administration without activating writers. Status and retry remain available while writers are unready. Do not rotate before every shard is fenced and observed_at is at least drained_at plus retention. This API never changes keys, generations, retention or learned evidence.

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

Corresponds with POST /api/v1/custom/reputation/allocation (the `ManageReputationAllocation` operationId).

func (*Client) ManageReputationAllocationWithBody

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

ManageReputationAllocationWithBody Inspect or fence the current allocation generation.

Requires backchannel bearer nauthilus:admin. Status reads the primary and all 16 shard fences without mutation. Drain requires audit fields and fences writers before starting the retained maximum event lifetime. Retry uses the identical audit fields and actor; a different in-progress change conflicts. After a process restart, allocation_maintenance must be explicitly enabled with the original key and generation to retain administration without activating writers. Status and retry remain available while writers are unready. Do not rotate before every shard is fenced and observed_at is at least drained_at plus retention. This API never changes keys, generations, retention or learned evidence.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/custom/reputation/allocation (the `ManageReputationAllocation` operationId).

func (*Client) PutReputationOverride

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

PutReputationOverride Create or replace one audited operator override.

Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.

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

Corresponds with PUT /api/v1/custom/reputation/override (the `PutReputationOverride` operationId).

func (*Client) PutReputationOverrideWithBody

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

PutReputationOverrideWithBody Create or replace one audited operator override.

Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/custom/reputation/override (the `PutReputationOverride` operationId).

type ClientInterface

type ClientInterface interface {

	// GetAsyncJobStatus Get the status of an asynchronous backchannel job.
	//
	// Corresponds with GET /api/v1/async/jobs/{jobId} (the `GetAsyncJobStatus` operationId).
	GetAsyncJobStatus(ctx context.Context, jobId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FlushBruteForceRuleWithBody Flush brute-force data for a configured rule.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with DELETE /api/v1/bruteforce/flush (the `FlushBruteForceRule` operationId).
	FlushBruteForceRuleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FlushBruteForceRule Flush brute-force data for a configured rule.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with DELETE /api/v1/bruteforce/flush (the `FlushBruteForceRule` operationId).
	FlushBruteForceRule(ctx context.Context, body FlushBruteForceRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EnqueueBruteForceRuleFlushWithBody Enqueue an asynchronous brute-force rule flush.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with DELETE /api/v1/bruteforce/flush/async (the `EnqueueBruteForceRuleFlush` operationId).
	EnqueueBruteForceRuleFlushWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EnqueueBruteForceRuleFlush Enqueue an asynchronous brute-force rule flush.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with DELETE /api/v1/bruteforce/flush/async (the `EnqueueBruteForceRuleFlush` operationId).
	EnqueueBruteForceRuleFlush(ctx context.Context, body EnqueueBruteForceRuleFlushJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListBruteForceEntries List active brute-force bans and blocked accounts.
	//
	// Corresponds with GET /api/v1/bruteforce/list (the `ListBruteForceEntries` operationId).
	ListBruteForceEntries(ctx context.Context, params *ListBruteForceEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListFilteredBruteForceEntriesWithBody List active brute-force data with optional account and IP filters.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/bruteforce/list (the `ListFilteredBruteForceEntries` operationId).
	ListFilteredBruteForceEntriesWithBody(ctx context.Context, params *ListFilteredBruteForceEntriesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListFilteredBruteForceEntries List active brute-force data with optional account and IP filters.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/bruteforce/list (the `ListFilteredBruteForceEntries` operationId).
	ListFilteredBruteForceEntries(ctx context.Context, params *ListFilteredBruteForceEntriesParams, body ListFilteredBruteForceEntriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FlushUserCacheWithBody Flush authentication cache entries for a user.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with DELETE /api/v1/cache/flush (the `FlushUserCache` operationId).
	FlushUserCacheWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FlushUserCache Flush authentication cache entries for a user.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with DELETE /api/v1/cache/flush (the `FlushUserCache` operationId).
	FlushUserCache(ctx context.Context, body FlushUserCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EnqueueUserCacheFlushWithBody Enqueue an asynchronous user cache flush.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with DELETE /api/v1/cache/flush/async (the `EnqueueUserCacheFlush` operationId).
	EnqueueUserCacheFlushWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EnqueueUserCacheFlush Enqueue an asynchronous user cache flush.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with DELETE /api/v1/cache/flush/async (the `EnqueueUserCacheFlush` operationId).
	EnqueueUserCacheFlush(ctx context.Context, body EnqueueUserCacheFlushJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManageReputationAllocationWithBody Inspect or fence the current allocation generation.
	//
	// Requires backchannel bearer nauthilus:admin. Status reads the primary and all 16 shard fences without mutation. Drain requires audit fields and fences writers before starting the retained maximum event lifetime. Retry uses the identical audit fields and actor; a different in-progress change conflicts. After a process restart, allocation_maintenance must be explicitly enabled with the original key and generation to retain administration without activating writers. Status and retry remain available while writers are unready. Do not rotate before every shard is fenced and observed_at is at least drained_at plus retention. This API never changes keys, generations, retention or learned evidence.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/custom/reputation/allocation (the `ManageReputationAllocation` operationId).
	ManageReputationAllocationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManageReputationAllocation Inspect or fence the current allocation generation.
	//
	// Requires backchannel bearer nauthilus:admin. Status reads the primary and all 16 shard fences without mutation. Drain requires audit fields and fences writers before starting the retained maximum event lifetime. Retry uses the identical audit fields and actor; a different in-progress change conflicts. After a process restart, allocation_maintenance must be explicitly enabled with the original key and generation to retain administration without activating writers. Status and retry remain available while writers are unready. Do not rotate before every shard is fenced and observed_at is at least drained_at plus retention. This API never changes keys, generations, retention or learned evidence.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/custom/reputation/allocation (the `ManageReputationAllocation` operationId).
	ManageReputationAllocation(ctx context.Context, body ManageReputationAllocationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LookupReputationWithBody Inspect one exact reputation subject.
	//
	// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/custom/reputation/lookup (the `LookupReputation` operationId).
	LookupReputationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LookupReputation Inspect one exact reputation subject.
	//
	// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/custom/reputation/lookup (the `LookupReputation` operationId).
	LookupReputation(ctx context.Context, body LookupReputationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteReputationOverrideWithBody Remove one selected operator override revision.
	//
	// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with DELETE /api/v1/custom/reputation/override (the `DeleteReputationOverride` operationId).
	DeleteReputationOverrideWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteReputationOverride Remove one selected operator override revision.
	//
	// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with DELETE /api/v1/custom/reputation/override (the `DeleteReputationOverride` operationId).
	DeleteReputationOverride(ctx context.Context, body DeleteReputationOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutReputationOverrideWithBody Create or replace one audited operator override.
	//
	// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/custom/reputation/override (the `PutReputationOverride` operationId).
	PutReputationOverrideWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutReputationOverride Create or replace one audited operator override.
	//
	// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/custom/reputation/override (the `PutReputationOverride` operationId).
	PutReputationOverride(ctx context.Context, body PutReputationOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteOIDCSessions Delete all OIDC sessions for a user.
	//
	// Corresponds with DELETE /api/v1/oidc/sessions/{user_id} (the `DeleteOIDCSessions` operationId).
	DeleteOIDCSessions(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListOIDCSessions List active OIDC sessions for a user.
	//
	// Corresponds with GET /api/v1/oidc/sessions/{user_id} (the `ListOIDCSessions` operationId).
	ListOIDCSessions(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteOIDCSession Delete one OIDC session for a user.
	//
	// Corresponds with DELETE /api/v1/oidc/sessions/{user_id}/{token} (the `DeleteOIDCSession` operationId).
	DeleteOIDCSession(ctx context.Context, userId string, token string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOpenAPIJSON Get the OpenAPI document as JSON.
	//
	// Corresponds with GET /api/v1/openapi.json (the `GetOpenAPIJSON` operationId).
	GetOpenAPIJSON(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOpenAPIYAML Get the OpenAPI document as YAML.
	//
	// Corresponds with GET /api/v1/openapi.yaml (the `GetOpenAPIYAML` operationId).
	GetOpenAPIYAML(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EvaluatePolicyDecisionWithBody Evaluate one Policy decision.
	//
	// Evaluates exactly one admitted Policy request. Responses are never cacheable and do not expose retry, replay, cache, or outcome-reporting controls.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/policy/decisions (the `EvaluatePolicyDecision` operationId).
	EvaluatePolicyDecisionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EvaluatePolicyDecision Evaluate one Policy decision.
	//
	// Evaluates exactly one admitted Policy request. Responses are never cacheable and do not expose retry, replay, cache, or outcome-reporting controls.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/policy/decisions (the `EvaluatePolicyDecision` operationId).
	EvaluatePolicyDecision(ctx context.Context, body EvaluatePolicyDecisionJSONRequestBody, 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) DeleteOIDCSessionWithResponse

func (c *ClientWithResponses) DeleteOIDCSessionWithResponse(ctx context.Context, userId string, token string, reqEditors ...RequestEditorFn) (*DeleteOIDCSessionResponse, error)

DeleteOIDCSessionWithResponse Delete one OIDC session for a user.

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

Corresponds with DELETE /api/v1/oidc/sessions/{user_id}/{token} (the `DeleteOIDCSession` operationId).

func (*ClientWithResponses) DeleteOIDCSessionsWithResponse

func (c *ClientWithResponses) DeleteOIDCSessionsWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*DeleteOIDCSessionsResponse, error)

DeleteOIDCSessionsWithResponse Delete all OIDC sessions for a user.

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

Corresponds with DELETE /api/v1/oidc/sessions/{user_id} (the `DeleteOIDCSessions` operationId).

func (*ClientWithResponses) DeleteReputationOverrideWithBodyWithResponse

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

DeleteReputationOverrideWithBodyWithResponse Remove one selected operator override revision.

Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.

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 /api/v1/custom/reputation/override (the `DeleteReputationOverride` operationId).

func (*ClientWithResponses) DeleteReputationOverrideWithResponse

func (c *ClientWithResponses) DeleteReputationOverrideWithResponse(ctx context.Context, body DeleteReputationOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteReputationOverrideResponse, error)

DeleteReputationOverrideWithResponse Remove one selected operator override revision.

Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.

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

Corresponds with DELETE /api/v1/custom/reputation/override (the `DeleteReputationOverride` operationId).

func (*ClientWithResponses) EnqueueBruteForceRuleFlushWithBodyWithResponse

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

EnqueueBruteForceRuleFlushWithBodyWithResponse Enqueue an asynchronous brute-force rule flush.

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 /api/v1/bruteforce/flush/async (the `EnqueueBruteForceRuleFlush` operationId).

func (*ClientWithResponses) EnqueueBruteForceRuleFlushWithResponse

func (c *ClientWithResponses) EnqueueBruteForceRuleFlushWithResponse(ctx context.Context, body EnqueueBruteForceRuleFlushJSONRequestBody, reqEditors ...RequestEditorFn) (*EnqueueBruteForceRuleFlushResponse, error)

EnqueueBruteForceRuleFlushWithResponse Enqueue an asynchronous brute-force rule flush.

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

Corresponds with DELETE /api/v1/bruteforce/flush/async (the `EnqueueBruteForceRuleFlush` operationId).

func (*ClientWithResponses) EnqueueUserCacheFlushWithBodyWithResponse

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

EnqueueUserCacheFlushWithBodyWithResponse Enqueue an asynchronous user cache flush.

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 /api/v1/cache/flush/async (the `EnqueueUserCacheFlush` operationId).

func (*ClientWithResponses) EnqueueUserCacheFlushWithResponse

func (c *ClientWithResponses) EnqueueUserCacheFlushWithResponse(ctx context.Context, body EnqueueUserCacheFlushJSONRequestBody, reqEditors ...RequestEditorFn) (*EnqueueUserCacheFlushResponse, error)

EnqueueUserCacheFlushWithResponse Enqueue an asynchronous user cache flush.

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

Corresponds with DELETE /api/v1/cache/flush/async (the `EnqueueUserCacheFlush` operationId).

func (*ClientWithResponses) EvaluatePolicyDecisionWithBodyWithResponse

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

EvaluatePolicyDecisionWithBodyWithResponse Evaluate one Policy decision.

Evaluates exactly one admitted Policy request. Responses are never cacheable and do not expose retry, replay, cache, or outcome-reporting controls.

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 /api/v1/policy/decisions (the `EvaluatePolicyDecision` operationId).

func (*ClientWithResponses) EvaluatePolicyDecisionWithResponse

func (c *ClientWithResponses) EvaluatePolicyDecisionWithResponse(ctx context.Context, body EvaluatePolicyDecisionJSONRequestBody, reqEditors ...RequestEditorFn) (*EvaluatePolicyDecisionResponse, error)

EvaluatePolicyDecisionWithResponse Evaluate one Policy decision.

Evaluates exactly one admitted Policy request. Responses are never cacheable and do not expose retry, replay, cache, or outcome-reporting controls.

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

Corresponds with POST /api/v1/policy/decisions (the `EvaluatePolicyDecision` operationId).

func (*ClientWithResponses) FlushBruteForceRuleWithBodyWithResponse

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

FlushBruteForceRuleWithBodyWithResponse Flush brute-force data for a configured rule.

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 /api/v1/bruteforce/flush (the `FlushBruteForceRule` operationId).

func (*ClientWithResponses) FlushBruteForceRuleWithResponse

func (c *ClientWithResponses) FlushBruteForceRuleWithResponse(ctx context.Context, body FlushBruteForceRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*FlushBruteForceRuleResponse, error)

FlushBruteForceRuleWithResponse Flush brute-force data for a configured rule.

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

Corresponds with DELETE /api/v1/bruteforce/flush (the `FlushBruteForceRule` operationId).

func (*ClientWithResponses) FlushUserCacheWithBodyWithResponse

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

FlushUserCacheWithBodyWithResponse Flush authentication cache entries for a user.

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 /api/v1/cache/flush (the `FlushUserCache` operationId).

func (*ClientWithResponses) FlushUserCacheWithResponse

func (c *ClientWithResponses) FlushUserCacheWithResponse(ctx context.Context, body FlushUserCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*FlushUserCacheResponse, error)

FlushUserCacheWithResponse Flush authentication cache entries for a user.

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

Corresponds with DELETE /api/v1/cache/flush (the `FlushUserCache` operationId).

func (*ClientWithResponses) GetAsyncJobStatusWithResponse

func (c *ClientWithResponses) GetAsyncJobStatusWithResponse(ctx context.Context, jobId string, reqEditors ...RequestEditorFn) (*GetAsyncJobStatusResponse, error)

GetAsyncJobStatusWithResponse Get the status of an asynchronous backchannel job.

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

Corresponds with GET /api/v1/async/jobs/{jobId} (the `GetAsyncJobStatus` operationId).

func (*ClientWithResponses) GetOpenAPIJSONWithResponse

func (c *ClientWithResponses) GetOpenAPIJSONWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenAPIJSONResponse, error)

GetOpenAPIJSONWithResponse Get the OpenAPI document as JSON.

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

Corresponds with GET /api/v1/openapi.json (the `GetOpenAPIJSON` operationId).

func (*ClientWithResponses) GetOpenAPIYAMLWithResponse

func (c *ClientWithResponses) GetOpenAPIYAMLWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenAPIYAMLResponse, error)

GetOpenAPIYAMLWithResponse Get the OpenAPI document as YAML.

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

Corresponds with GET /api/v1/openapi.yaml (the `GetOpenAPIYAML` operationId).

func (*ClientWithResponses) ListBruteForceEntriesWithResponse

func (c *ClientWithResponses) ListBruteForceEntriesWithResponse(ctx context.Context, params *ListBruteForceEntriesParams, reqEditors ...RequestEditorFn) (*ListBruteForceEntriesResponse, error)

ListBruteForceEntriesWithResponse List active brute-force bans and blocked accounts.

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

Corresponds with GET /api/v1/bruteforce/list (the `ListBruteForceEntries` operationId).

func (*ClientWithResponses) ListFilteredBruteForceEntriesWithBodyWithResponse

func (c *ClientWithResponses) ListFilteredBruteForceEntriesWithBodyWithResponse(ctx context.Context, params *ListFilteredBruteForceEntriesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ListFilteredBruteForceEntriesResponse, error)

ListFilteredBruteForceEntriesWithBodyWithResponse List active brute-force data with optional account and IP filters.

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 /api/v1/bruteforce/list (the `ListFilteredBruteForceEntries` operationId).

func (*ClientWithResponses) ListFilteredBruteForceEntriesWithResponse

ListFilteredBruteForceEntriesWithResponse List active brute-force data with optional account and IP filters.

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

Corresponds with POST /api/v1/bruteforce/list (the `ListFilteredBruteForceEntries` operationId).

func (*ClientWithResponses) ListOIDCSessionsWithResponse

func (c *ClientWithResponses) ListOIDCSessionsWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*ListOIDCSessionsResponse, error)

ListOIDCSessionsWithResponse List active OIDC sessions for a user.

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

Corresponds with GET /api/v1/oidc/sessions/{user_id} (the `ListOIDCSessions` operationId).

func (*ClientWithResponses) LookupReputationWithBodyWithResponse

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

LookupReputationWithBodyWithResponse Inspect one exact reputation subject.

Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.

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 /api/v1/custom/reputation/lookup (the `LookupReputation` operationId).

func (*ClientWithResponses) LookupReputationWithResponse

func (c *ClientWithResponses) LookupReputationWithResponse(ctx context.Context, body LookupReputationJSONRequestBody, reqEditors ...RequestEditorFn) (*LookupReputationResponse, error)

LookupReputationWithResponse Inspect one exact reputation subject.

Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.

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

Corresponds with POST /api/v1/custom/reputation/lookup (the `LookupReputation` operationId).

func (*ClientWithResponses) ManageReputationAllocationWithBodyWithResponse

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

ManageReputationAllocationWithBodyWithResponse Inspect or fence the current allocation generation.

Requires backchannel bearer nauthilus:admin. Status reads the primary and all 16 shard fences without mutation. Drain requires audit fields and fences writers before starting the retained maximum event lifetime. Retry uses the identical audit fields and actor; a different in-progress change conflicts. After a process restart, allocation_maintenance must be explicitly enabled with the original key and generation to retain administration without activating writers. Status and retry remain available while writers are unready. Do not rotate before every shard is fenced and observed_at is at least drained_at plus retention. This API never changes keys, generations, retention or learned evidence.

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 /api/v1/custom/reputation/allocation (the `ManageReputationAllocation` operationId).

func (*ClientWithResponses) ManageReputationAllocationWithResponse

func (c *ClientWithResponses) ManageReputationAllocationWithResponse(ctx context.Context, body ManageReputationAllocationJSONRequestBody, reqEditors ...RequestEditorFn) (*ManageReputationAllocationResponse, error)

ManageReputationAllocationWithResponse Inspect or fence the current allocation generation.

Requires backchannel bearer nauthilus:admin. Status reads the primary and all 16 shard fences without mutation. Drain requires audit fields and fences writers before starting the retained maximum event lifetime. Retry uses the identical audit fields and actor; a different in-progress change conflicts. After a process restart, allocation_maintenance must be explicitly enabled with the original key and generation to retain administration without activating writers. Status and retry remain available while writers are unready. Do not rotate before every shard is fenced and observed_at is at least drained_at plus retention. This API never changes keys, generations, retention or learned evidence.

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

Corresponds with POST /api/v1/custom/reputation/allocation (the `ManageReputationAllocation` operationId).

func (*ClientWithResponses) PutReputationOverrideWithBodyWithResponse

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

PutReputationOverrideWithBodyWithResponse Create or replace one audited operator override.

Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.

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 /api/v1/custom/reputation/override (the `PutReputationOverride` operationId).

func (*ClientWithResponses) PutReputationOverrideWithResponse

func (c *ClientWithResponses) PutReputationOverrideWithResponse(ctx context.Context, body PutReputationOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*PutReputationOverrideResponse, error)

PutReputationOverrideWithResponse Create or replace one audited operator override.

Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.

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

Corresponds with PUT /api/v1/custom/reputation/override (the `PutReputationOverride` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// GetAsyncJobStatusWithResponse Get the status of an asynchronous backchannel job.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/async/jobs/{jobId} (the `GetAsyncJobStatus` operationId).
	GetAsyncJobStatusWithResponse(ctx context.Context, jobId string, reqEditors ...RequestEditorFn) (*GetAsyncJobStatusResponse, error)

	// FlushBruteForceRuleWithBodyWithResponse Flush brute-force data for a configured rule.
	//
	// 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 /api/v1/bruteforce/flush (the `FlushBruteForceRule` operationId).
	FlushBruteForceRuleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FlushBruteForceRuleResponse, error)

	// FlushBruteForceRuleWithResponse Flush brute-force data for a configured rule.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/bruteforce/flush (the `FlushBruteForceRule` operationId).
	FlushBruteForceRuleWithResponse(ctx context.Context, body FlushBruteForceRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*FlushBruteForceRuleResponse, error)

	// EnqueueBruteForceRuleFlushWithBodyWithResponse Enqueue an asynchronous brute-force rule flush.
	//
	// 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 /api/v1/bruteforce/flush/async (the `EnqueueBruteForceRuleFlush` operationId).
	EnqueueBruteForceRuleFlushWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnqueueBruteForceRuleFlushResponse, error)

	// EnqueueBruteForceRuleFlushWithResponse Enqueue an asynchronous brute-force rule flush.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/bruteforce/flush/async (the `EnqueueBruteForceRuleFlush` operationId).
	EnqueueBruteForceRuleFlushWithResponse(ctx context.Context, body EnqueueBruteForceRuleFlushJSONRequestBody, reqEditors ...RequestEditorFn) (*EnqueueBruteForceRuleFlushResponse, error)

	// ListBruteForceEntriesWithResponse List active brute-force bans and blocked accounts.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/bruteforce/list (the `ListBruteForceEntries` operationId).
	ListBruteForceEntriesWithResponse(ctx context.Context, params *ListBruteForceEntriesParams, reqEditors ...RequestEditorFn) (*ListBruteForceEntriesResponse, error)

	// ListFilteredBruteForceEntriesWithBodyWithResponse List active brute-force data with optional account and IP filters.
	//
	// 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 /api/v1/bruteforce/list (the `ListFilteredBruteForceEntries` operationId).
	ListFilteredBruteForceEntriesWithBodyWithResponse(ctx context.Context, params *ListFilteredBruteForceEntriesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ListFilteredBruteForceEntriesResponse, error)

	// ListFilteredBruteForceEntriesWithResponse List active brute-force data with optional account and IP filters.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/bruteforce/list (the `ListFilteredBruteForceEntries` operationId).
	ListFilteredBruteForceEntriesWithResponse(ctx context.Context, params *ListFilteredBruteForceEntriesParams, body ListFilteredBruteForceEntriesJSONRequestBody, reqEditors ...RequestEditorFn) (*ListFilteredBruteForceEntriesResponse, error)

	// FlushUserCacheWithBodyWithResponse Flush authentication cache entries for a user.
	//
	// 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 /api/v1/cache/flush (the `FlushUserCache` operationId).
	FlushUserCacheWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FlushUserCacheResponse, error)

	// FlushUserCacheWithResponse Flush authentication cache entries for a user.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/cache/flush (the `FlushUserCache` operationId).
	FlushUserCacheWithResponse(ctx context.Context, body FlushUserCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*FlushUserCacheResponse, error)

	// EnqueueUserCacheFlushWithBodyWithResponse Enqueue an asynchronous user cache flush.
	//
	// 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 /api/v1/cache/flush/async (the `EnqueueUserCacheFlush` operationId).
	EnqueueUserCacheFlushWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnqueueUserCacheFlushResponse, error)

	// EnqueueUserCacheFlushWithResponse Enqueue an asynchronous user cache flush.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/cache/flush/async (the `EnqueueUserCacheFlush` operationId).
	EnqueueUserCacheFlushWithResponse(ctx context.Context, body EnqueueUserCacheFlushJSONRequestBody, reqEditors ...RequestEditorFn) (*EnqueueUserCacheFlushResponse, error)

	// ManageReputationAllocationWithBodyWithResponse Inspect or fence the current allocation generation.
	//
	// Requires backchannel bearer nauthilus:admin. Status reads the primary and all 16 shard fences without mutation. Drain requires audit fields and fences writers before starting the retained maximum event lifetime. Retry uses the identical audit fields and actor; a different in-progress change conflicts. After a process restart, allocation_maintenance must be explicitly enabled with the original key and generation to retain administration without activating writers. Status and retry remain available while writers are unready. Do not rotate before every shard is fenced and observed_at is at least drained_at plus retention. This API never changes keys, generations, retention or learned evidence.
	//
	// 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 /api/v1/custom/reputation/allocation (the `ManageReputationAllocation` operationId).
	ManageReputationAllocationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManageReputationAllocationResponse, error)

	// ManageReputationAllocationWithResponse Inspect or fence the current allocation generation.
	//
	// Requires backchannel bearer nauthilus:admin. Status reads the primary and all 16 shard fences without mutation. Drain requires audit fields and fences writers before starting the retained maximum event lifetime. Retry uses the identical audit fields and actor; a different in-progress change conflicts. After a process restart, allocation_maintenance must be explicitly enabled with the original key and generation to retain administration without activating writers. Status and retry remain available while writers are unready. Do not rotate before every shard is fenced and observed_at is at least drained_at plus retention. This API never changes keys, generations, retention or learned evidence.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/custom/reputation/allocation (the `ManageReputationAllocation` operationId).
	ManageReputationAllocationWithResponse(ctx context.Context, body ManageReputationAllocationJSONRequestBody, reqEditors ...RequestEditorFn) (*ManageReputationAllocationResponse, error)

	// LookupReputationWithBodyWithResponse Inspect one exact reputation subject.
	//
	// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
	//
	// 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 /api/v1/custom/reputation/lookup (the `LookupReputation` operationId).
	LookupReputationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LookupReputationResponse, error)

	// LookupReputationWithResponse Inspect one exact reputation subject.
	//
	// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/custom/reputation/lookup (the `LookupReputation` operationId).
	LookupReputationWithResponse(ctx context.Context, body LookupReputationJSONRequestBody, reqEditors ...RequestEditorFn) (*LookupReputationResponse, error)

	// DeleteReputationOverrideWithBodyWithResponse Remove one selected operator override revision.
	//
	// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
	//
	// 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 /api/v1/custom/reputation/override (the `DeleteReputationOverride` operationId).
	DeleteReputationOverrideWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteReputationOverrideResponse, error)

	// DeleteReputationOverrideWithResponse Remove one selected operator override revision.
	//
	// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/custom/reputation/override (the `DeleteReputationOverride` operationId).
	DeleteReputationOverrideWithResponse(ctx context.Context, body DeleteReputationOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteReputationOverrideResponse, error)

	// PutReputationOverrideWithBodyWithResponse Create or replace one audited operator override.
	//
	// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
	//
	// 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 /api/v1/custom/reputation/override (the `PutReputationOverride` operationId).
	PutReputationOverrideWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutReputationOverrideResponse, error)

	// PutReputationOverrideWithResponse Create or replace one audited operator override.
	//
	// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/custom/reputation/override (the `PutReputationOverride` operationId).
	PutReputationOverrideWithResponse(ctx context.Context, body PutReputationOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*PutReputationOverrideResponse, error)

	// DeleteOIDCSessionsWithResponse Delete all OIDC sessions for a user.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/oidc/sessions/{user_id} (the `DeleteOIDCSessions` operationId).
	DeleteOIDCSessionsWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*DeleteOIDCSessionsResponse, error)

	// ListOIDCSessionsWithResponse List active OIDC sessions for a user.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/oidc/sessions/{user_id} (the `ListOIDCSessions` operationId).
	ListOIDCSessionsWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*ListOIDCSessionsResponse, error)

	// DeleteOIDCSessionWithResponse Delete one OIDC session for a user.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/oidc/sessions/{user_id}/{token} (the `DeleteOIDCSession` operationId).
	DeleteOIDCSessionWithResponse(ctx context.Context, userId string, token string, reqEditors ...RequestEditorFn) (*DeleteOIDCSessionResponse, error)

	// GetOpenAPIJSONWithResponse Get the OpenAPI document as JSON.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/openapi.json (the `GetOpenAPIJSON` operationId).
	GetOpenAPIJSONWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenAPIJSONResponse, error)

	// GetOpenAPIYAMLWithResponse Get the OpenAPI document as YAML.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/openapi.yaml (the `GetOpenAPIYAML` operationId).
	GetOpenAPIYAMLWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenAPIYAMLResponse, error)

	// EvaluatePolicyDecisionWithBodyWithResponse Evaluate one Policy decision.
	//
	// Evaluates exactly one admitted Policy request. Responses are never cacheable and do not expose retry, replay, cache, or outcome-reporting controls.
	//
	// 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 /api/v1/policy/decisions (the `EvaluatePolicyDecision` operationId).
	EvaluatePolicyDecisionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvaluatePolicyDecisionResponse, error)

	// EvaluatePolicyDecisionWithResponse Evaluate one Policy decision.
	//
	// Evaluates exactly one admitted Policy request. Responses are never cacheable and do not expose retry, replay, cache, or outcome-reporting controls.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/policy/decisions (the `EvaluatePolicyDecision` operationId).
	EvaluatePolicyDecisionWithResponse(ctx context.Context, body EvaluatePolicyDecisionJSONRequestBody, reqEditors ...RequestEditorFn) (*EvaluatePolicyDecisionResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type DeleteOIDCSessionResponse

type DeleteOIDCSessionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *Error
}

func ParseDeleteOIDCSessionResponse

func ParseDeleteOIDCSessionResponse(rsp *http.Response) (*DeleteOIDCSessionResponse, error)

ParseDeleteOIDCSessionResponse parses an HTTP response from a DeleteOIDCSessionWithResponse call

func (DeleteOIDCSessionResponse) ContentType

func (r DeleteOIDCSessionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteOIDCSessionResponse) GetBody

func (r DeleteOIDCSessionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteOIDCSessionResponse) GetJSON400

func (r DeleteOIDCSessionResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteOIDCSessionResponse) GetJSON401

func (r DeleteOIDCSessionResponse) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteOIDCSessionResponse) GetJSON403

func (r DeleteOIDCSessionResponse) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteOIDCSessionResponse) GetJSON500

func (r DeleteOIDCSessionResponse) GetJSON500() *Error

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteOIDCSessionResponse) Status

func (r DeleteOIDCSessionResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteOIDCSessionResponse) StatusCode

func (r DeleteOIDCSessionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteOIDCSessionsResponse

type DeleteOIDCSessionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *Error
}

func ParseDeleteOIDCSessionsResponse

func ParseDeleteOIDCSessionsResponse(rsp *http.Response) (*DeleteOIDCSessionsResponse, error)

ParseDeleteOIDCSessionsResponse parses an HTTP response from a DeleteOIDCSessionsWithResponse call

func (DeleteOIDCSessionsResponse) ContentType

func (r DeleteOIDCSessionsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteOIDCSessionsResponse) GetBody

func (r DeleteOIDCSessionsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteOIDCSessionsResponse) GetJSON400

func (r DeleteOIDCSessionsResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteOIDCSessionsResponse) GetJSON401

func (r DeleteOIDCSessionsResponse) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteOIDCSessionsResponse) GetJSON403

func (r DeleteOIDCSessionsResponse) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteOIDCSessionsResponse) GetJSON500

func (r DeleteOIDCSessionsResponse) GetJSON500() *Error

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteOIDCSessionsResponse) Status

Status returns HTTPResponse.Status

func (DeleteOIDCSessionsResponse) StatusCode

func (r DeleteOIDCSessionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteReputationOverrideJSONRequestBody

type DeleteReputationOverrideJSONRequestBody = ReputationOverrideDeleteRequest

DeleteReputationOverrideJSONRequestBody defines body for DeleteReputationOverride for application/json ContentType.

type DeleteReputationOverrideResponse

type DeleteReputationOverrideResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReputationView
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ReputationManagementError
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ReputationManagementError
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ReputationManagementError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ReputationManagementError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ReputationManagementError
	// JSON413 the response for an HTTP 413 `application/json` response
	JSON413 *ReputationManagementError
	// JSON415 the response for an HTTP 415 `application/json` response
	JSON415 *ReputationManagementError
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ReputationManagementError
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *ReputationManagementError
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *ReputationManagementError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *DeleteReputationOverrideResponse200Headers
}

func ParseDeleteReputationOverrideResponse

func ParseDeleteReputationOverrideResponse(rsp *http.Response) (*DeleteReputationOverrideResponse, error)

ParseDeleteReputationOverrideResponse parses an HTTP response from a DeleteReputationOverrideWithResponse call

func (DeleteReputationOverrideResponse) ContentType

func (r DeleteReputationOverrideResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteReputationOverrideResponse) GetBody

func (r DeleteReputationOverrideResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteReputationOverrideResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteReputationOverrideResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteReputationOverrideResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteReputationOverrideResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteReputationOverrideResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteReputationOverrideResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteReputationOverrideResponse) GetJSON413

GetJSON413 returns the response for an HTTP 413 `application/json` response

func (DeleteReputationOverrideResponse) GetJSON415

GetJSON415 returns the response for an HTTP 415 `application/json` response

func (DeleteReputationOverrideResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteReputationOverrideResponse) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (DeleteReputationOverrideResponse) GetJSON504

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (DeleteReputationOverrideResponse) Status

Status returns HTTPResponse.Status

func (DeleteReputationOverrideResponse) StatusCode

func (r DeleteReputationOverrideResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteReputationOverrideResponse200Headers

type DeleteReputationOverrideResponse200Headers struct {
	CacheControl *string
}

DeleteReputationOverrideResponse200Headers the declared response headers of an HTTP 200 response for DeleteReputationOverride

type EnqueueBruteForceRuleFlushJSONRequestBody

type EnqueueBruteForceRuleFlushJSONRequestBody = BruteForceFlushRequest

EnqueueBruteForceRuleFlushJSONRequestBody defines body for EnqueueBruteForceRuleFlush for application/json ContentType.

type EnqueueBruteForceRuleFlushResponse

type EnqueueBruteForceRuleFlushResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *AsyncAccepted
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *JSONValidationError
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *Error
}

func ParseEnqueueBruteForceRuleFlushResponse

func ParseEnqueueBruteForceRuleFlushResponse(rsp *http.Response) (*EnqueueBruteForceRuleFlushResponse, error)

ParseEnqueueBruteForceRuleFlushResponse parses an HTTP response from a EnqueueBruteForceRuleFlushWithResponse call

func (EnqueueBruteForceRuleFlushResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (EnqueueBruteForceRuleFlushResponse) GetBody

GetBody returns the raw response body bytes

func (EnqueueBruteForceRuleFlushResponse) GetJSON202

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (EnqueueBruteForceRuleFlushResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (EnqueueBruteForceRuleFlushResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (EnqueueBruteForceRuleFlushResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (EnqueueBruteForceRuleFlushResponse) GetJSON500

func (r EnqueueBruteForceRuleFlushResponse) GetJSON500() *Error

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (EnqueueBruteForceRuleFlushResponse) Status

Status returns HTTPResponse.Status

func (EnqueueBruteForceRuleFlushResponse) StatusCode

func (r EnqueueBruteForceRuleFlushResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EnqueueUserCacheFlushJSONRequestBody

type EnqueueUserCacheFlushJSONRequestBody = CacheFlushRequest

EnqueueUserCacheFlushJSONRequestBody defines body for EnqueueUserCacheFlush for application/json ContentType.

type EnqueueUserCacheFlushResponse

type EnqueueUserCacheFlushResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *AsyncAccepted
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *JSONValidationError
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *Error
}

func ParseEnqueueUserCacheFlushResponse

func ParseEnqueueUserCacheFlushResponse(rsp *http.Response) (*EnqueueUserCacheFlushResponse, error)

ParseEnqueueUserCacheFlushResponse parses an HTTP response from a EnqueueUserCacheFlushWithResponse call

func (EnqueueUserCacheFlushResponse) ContentType

func (r EnqueueUserCacheFlushResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (EnqueueUserCacheFlushResponse) GetBody

func (r EnqueueUserCacheFlushResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (EnqueueUserCacheFlushResponse) GetJSON202

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (EnqueueUserCacheFlushResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (EnqueueUserCacheFlushResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (EnqueueUserCacheFlushResponse) GetJSON403

func (r EnqueueUserCacheFlushResponse) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (EnqueueUserCacheFlushResponse) GetJSON500

func (r EnqueueUserCacheFlushResponse) GetJSON500() *Error

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (EnqueueUserCacheFlushResponse) Status

Status returns HTTPResponse.Status

func (EnqueueUserCacheFlushResponse) StatusCode

func (r EnqueueUserCacheFlushResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Error

type Error = ErrorResponse

Error defines model for Error.

type ErrorResponse

type ErrorResponse struct {
	Error string `json:"error"`
}

ErrorResponse defines model for ErrorResponse.

type EvaluatePolicyDecisionJSONRequestBody

type EvaluatePolicyDecisionJSONRequestBody = PolicyDecisionRequest

EvaluatePolicyDecisionJSONRequestBody defines body for EvaluatePolicyDecision for application/json ContentType.

type EvaluatePolicyDecisionResponse

type EvaluatePolicyDecisionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PolicyDecision
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *PolicyBadRequest
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *PolicyUnauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *PolicyForbidden
	// JSON413 the response for an HTTP 413 `application/json` response
	JSON413 *PolicyRequestTooLarge
	// JSON415 the response for an HTTP 415 `application/json` response
	JSON415 *PolicyUnsupportedMediaType
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *PolicyRateLimited
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *PolicyUnavailable
}

func ParseEvaluatePolicyDecisionResponse

func ParseEvaluatePolicyDecisionResponse(rsp *http.Response) (*EvaluatePolicyDecisionResponse, error)

ParseEvaluatePolicyDecisionResponse parses an HTTP response from a EvaluatePolicyDecisionWithResponse call

func (EvaluatePolicyDecisionResponse) ContentType

func (r EvaluatePolicyDecisionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (EvaluatePolicyDecisionResponse) GetBody

func (r EvaluatePolicyDecisionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (EvaluatePolicyDecisionResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (EvaluatePolicyDecisionResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (EvaluatePolicyDecisionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (EvaluatePolicyDecisionResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (EvaluatePolicyDecisionResponse) GetJSON413

GetJSON413 returns the response for an HTTP 413 `application/json` response

func (EvaluatePolicyDecisionResponse) GetJSON415

GetJSON415 returns the response for an HTTP 415 `application/json` response

func (EvaluatePolicyDecisionResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (EvaluatePolicyDecisionResponse) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (EvaluatePolicyDecisionResponse) Status

Status returns HTTPResponse.Status

func (EvaluatePolicyDecisionResponse) StatusCode

func (r EvaluatePolicyDecisionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FieldError

type FieldError struct {
	Field   *string `json:"field,omitempty"`
	Message *string `json:"message,omitempty"`
}

FieldError defines model for FieldError.

type FieldErrorResponse

type FieldErrorResponse struct {
	Errors []FieldError `json:"errors"`
}

FieldErrorResponse defines model for FieldErrorResponse.

type FlushBruteForceRuleJSONRequestBody

type FlushBruteForceRuleJSONRequestBody = BruteForceFlushRequest

FlushBruteForceRuleJSONRequestBody defines body for FlushBruteForceRule for application/json ContentType.

type FlushBruteForceRuleResponse

type FlushBruteForceRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BruteForceFlushResult
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *JSONValidationError
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *Error
}

func ParseFlushBruteForceRuleResponse

func ParseFlushBruteForceRuleResponse(rsp *http.Response) (*FlushBruteForceRuleResponse, error)

ParseFlushBruteForceRuleResponse parses an HTTP response from a FlushBruteForceRuleWithResponse call

func (FlushBruteForceRuleResponse) ContentType

func (r FlushBruteForceRuleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (FlushBruteForceRuleResponse) GetBody

func (r FlushBruteForceRuleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (FlushBruteForceRuleResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (FlushBruteForceRuleResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (FlushBruteForceRuleResponse) GetJSON401

func (r FlushBruteForceRuleResponse) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (FlushBruteForceRuleResponse) GetJSON403

func (r FlushBruteForceRuleResponse) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (FlushBruteForceRuleResponse) GetJSON500

func (r FlushBruteForceRuleResponse) GetJSON500() *Error

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (FlushBruteForceRuleResponse) Status

Status returns HTTPResponse.Status

func (FlushBruteForceRuleResponse) StatusCode

func (r FlushBruteForceRuleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FlushUserCacheJSONRequestBody

type FlushUserCacheJSONRequestBody = CacheFlushRequest

FlushUserCacheJSONRequestBody defines body for FlushUserCache for application/json ContentType.

type FlushUserCacheResponse

type FlushUserCacheResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CacheFlushResult
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *JSONValidationError
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *Error
}

func ParseFlushUserCacheResponse

func ParseFlushUserCacheResponse(rsp *http.Response) (*FlushUserCacheResponse, error)

ParseFlushUserCacheResponse parses an HTTP response from a FlushUserCacheWithResponse call

func (FlushUserCacheResponse) ContentType

func (r FlushUserCacheResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (FlushUserCacheResponse) GetBody

func (r FlushUserCacheResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (FlushUserCacheResponse) GetJSON200

func (r FlushUserCacheResponse) GetJSON200() *CacheFlushResult

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (FlushUserCacheResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (FlushUserCacheResponse) GetJSON401

func (r FlushUserCacheResponse) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (FlushUserCacheResponse) GetJSON403

func (r FlushUserCacheResponse) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (FlushUserCacheResponse) GetJSON500

func (r FlushUserCacheResponse) GetJSON500() *Error

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (FlushUserCacheResponse) Status

func (r FlushUserCacheResponse) Status() string

Status returns HTTPResponse.Status

func (FlushUserCacheResponse) StatusCode

func (r FlushUserCacheResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Forbidden

type Forbidden = ErrorResponse

Forbidden defines model for Forbidden.

type GetAsyncJobStatusResponse

type GetAsyncJobStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AsyncJobStatusResult
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *Error
}

func ParseGetAsyncJobStatusResponse

func ParseGetAsyncJobStatusResponse(rsp *http.Response) (*GetAsyncJobStatusResponse, error)

ParseGetAsyncJobStatusResponse parses an HTTP response from a GetAsyncJobStatusWithResponse call

func (GetAsyncJobStatusResponse) ContentType

func (r GetAsyncJobStatusResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAsyncJobStatusResponse) GetBody

func (r GetAsyncJobStatusResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAsyncJobStatusResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAsyncJobStatusResponse) GetJSON401

func (r GetAsyncJobStatusResponse) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAsyncJobStatusResponse) GetJSON404

func (r GetAsyncJobStatusResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetAsyncJobStatusResponse) GetJSON500

func (r GetAsyncJobStatusResponse) GetJSON500() *Error

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetAsyncJobStatusResponse) Status

func (r GetAsyncJobStatusResponse) Status() string

Status returns HTTPResponse.Status

func (GetAsyncJobStatusResponse) StatusCode

func (r GetAsyncJobStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOpenAPIJSONResponse

type GetOpenAPIJSONResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
}

func ParseGetOpenAPIJSONResponse

func ParseGetOpenAPIJSONResponse(rsp *http.Response) (*GetOpenAPIJSONResponse, error)

ParseGetOpenAPIJSONResponse parses an HTTP response from a GetOpenAPIJSONWithResponse call

func (GetOpenAPIJSONResponse) ContentType

func (r GetOpenAPIJSONResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetOpenAPIJSONResponse) GetBody

func (r GetOpenAPIJSONResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetOpenAPIJSONResponse) GetJSON200

func (r GetOpenAPIJSONResponse) GetJSON200() *map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetOpenAPIJSONResponse) Status

func (r GetOpenAPIJSONResponse) Status() string

Status returns HTTPResponse.Status

func (GetOpenAPIJSONResponse) StatusCode

func (r GetOpenAPIJSONResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOpenAPIYAMLResponse

type GetOpenAPIYAMLResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// YAML200 the response for an HTTP 200 `application/yaml` response
	YAML200 *string
}

func ParseGetOpenAPIYAMLResponse

func ParseGetOpenAPIYAMLResponse(rsp *http.Response) (*GetOpenAPIYAMLResponse, error)

ParseGetOpenAPIYAMLResponse parses an HTTP response from a GetOpenAPIYAMLWithResponse call

func (GetOpenAPIYAMLResponse) ContentType

func (r GetOpenAPIYAMLResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetOpenAPIYAMLResponse) GetBody

func (r GetOpenAPIYAMLResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetOpenAPIYAMLResponse) GetYAML200

func (r GetOpenAPIYAMLResponse) GetYAML200() *string

GetYAML200 returns the response for an HTTP 200 `application/yaml` response

func (GetOpenAPIYAMLResponse) Status

func (r GetOpenAPIYAMLResponse) Status() string

Status returns HTTPResponse.Status

func (GetOpenAPIYAMLResponse) StatusCode

func (r GetOpenAPIYAMLResponse) 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 JSONValidationError

type JSONValidationError struct {
	// contains filtered or unexported fields
}

JSONValidationError defines model for JSONValidationError.

func (JSONValidationError) AsErrorResponse

func (t JSONValidationError) AsErrorResponse() (ErrorResponse, error)

AsErrorResponse returns the union data inside the JSONValidationError as a ErrorResponse

func (JSONValidationError) AsFieldErrorResponse

func (t JSONValidationError) AsFieldErrorResponse() (FieldErrorResponse, error)

AsFieldErrorResponse returns the union data inside the JSONValidationError as a FieldErrorResponse

func (*JSONValidationError) FromErrorResponse

func (t *JSONValidationError) FromErrorResponse(v ErrorResponse) error

FromErrorResponse overwrites any union data inside the JSONValidationError as the provided ErrorResponse

func (*JSONValidationError) FromFieldErrorResponse

func (t *JSONValidationError) FromFieldErrorResponse(v FieldErrorResponse) error

FromFieldErrorResponse overwrites any union data inside the JSONValidationError as the provided FieldErrorResponse

func (JSONValidationError) MarshalJSON

func (t JSONValidationError) MarshalJSON() ([]byte, error)

func (*JSONValidationError) MergeErrorResponse

func (t *JSONValidationError) MergeErrorResponse(v ErrorResponse) error

MergeErrorResponse performs a merge with any union data inside the JSONValidationError, using the provided ErrorResponse

func (*JSONValidationError) MergeFieldErrorResponse

func (t *JSONValidationError) MergeFieldErrorResponse(v FieldErrorResponse) error

MergeFieldErrorResponse performs a merge with any union data inside the JSONValidationError, using the provided FieldErrorResponse

func (*JSONValidationError) UnmarshalJSON

func (t *JSONValidationError) UnmarshalJSON(b []byte) error

type ListBruteForceEntriesParams

type ListBruteForceEntriesParams struct {
	// Limit Maximum number of records to return per brute-force list section.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Zero-based offset for brute-force list paging.
	Offset *PageOffset `form:"offset,omitempty" json:"offset,omitempty"`
}

ListBruteForceEntriesParams defines parameters for ListBruteForceEntries.

type ListBruteForceEntriesResponse

type ListBruteForceEntriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BruteForceListResult
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *Error
}

func ParseListBruteForceEntriesResponse

func ParseListBruteForceEntriesResponse(rsp *http.Response) (*ListBruteForceEntriesResponse, error)

ParseListBruteForceEntriesResponse parses an HTTP response from a ListBruteForceEntriesWithResponse call

func (ListBruteForceEntriesResponse) ContentType

func (r ListBruteForceEntriesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListBruteForceEntriesResponse) GetBody

func (r ListBruteForceEntriesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListBruteForceEntriesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListBruteForceEntriesResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListBruteForceEntriesResponse) GetJSON403

func (r ListBruteForceEntriesResponse) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ListBruteForceEntriesResponse) GetJSON500

func (r ListBruteForceEntriesResponse) GetJSON500() *Error

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ListBruteForceEntriesResponse) Status

Status returns HTTPResponse.Status

func (ListBruteForceEntriesResponse) StatusCode

func (r ListBruteForceEntriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListFilteredBruteForceEntriesJSONRequestBody

type ListFilteredBruteForceEntriesJSONRequestBody = BruteForceFilterRequest

ListFilteredBruteForceEntriesJSONRequestBody defines body for ListFilteredBruteForceEntries for application/json ContentType.

type ListFilteredBruteForceEntriesParams

type ListFilteredBruteForceEntriesParams struct {
	// Limit Maximum number of records to return per brute-force list section.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Zero-based offset for brute-force list paging.
	Offset *PageOffset `form:"offset,omitempty" json:"offset,omitempty"`
}

ListFilteredBruteForceEntriesParams defines parameters for ListFilteredBruteForceEntries.

type ListFilteredBruteForceEntriesResponse

type ListFilteredBruteForceEntriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BruteForceListResult
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *JSONValidationError
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *Error
}

func ParseListFilteredBruteForceEntriesResponse

func ParseListFilteredBruteForceEntriesResponse(rsp *http.Response) (*ListFilteredBruteForceEntriesResponse, error)

ParseListFilteredBruteForceEntriesResponse parses an HTTP response from a ListFilteredBruteForceEntriesWithResponse call

func (ListFilteredBruteForceEntriesResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListFilteredBruteForceEntriesResponse) GetBody

GetBody returns the raw response body bytes

func (ListFilteredBruteForceEntriesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListFilteredBruteForceEntriesResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ListFilteredBruteForceEntriesResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListFilteredBruteForceEntriesResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ListFilteredBruteForceEntriesResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ListFilteredBruteForceEntriesResponse) Status

Status returns HTTPResponse.Status

func (ListFilteredBruteForceEntriesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListOIDCSessionsResponse

type ListOIDCSessionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OIDCSessions
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *Error
}

func ParseListOIDCSessionsResponse

func ParseListOIDCSessionsResponse(rsp *http.Response) (*ListOIDCSessionsResponse, error)

ParseListOIDCSessionsResponse parses an HTTP response from a ListOIDCSessionsWithResponse call

func (ListOIDCSessionsResponse) ContentType

func (r ListOIDCSessionsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListOIDCSessionsResponse) GetBody

func (r ListOIDCSessionsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListOIDCSessionsResponse) GetJSON200

func (r ListOIDCSessionsResponse) GetJSON200() *OIDCSessions

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListOIDCSessionsResponse) GetJSON400

func (r ListOIDCSessionsResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ListOIDCSessionsResponse) GetJSON401

func (r ListOIDCSessionsResponse) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListOIDCSessionsResponse) GetJSON403

func (r ListOIDCSessionsResponse) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ListOIDCSessionsResponse) GetJSON500

func (r ListOIDCSessionsResponse) GetJSON500() *Error

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ListOIDCSessionsResponse) Status

func (r ListOIDCSessionsResponse) Status() string

Status returns HTTPResponse.Status

func (ListOIDCSessionsResponse) StatusCode

func (r ListOIDCSessionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LookupReputationJSONRequestBody

type LookupReputationJSONRequestBody = ReputationLookupRequest

LookupReputationJSONRequestBody defines body for LookupReputation for application/json ContentType.

type LookupReputationResponse

type LookupReputationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReputationView
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ReputationManagementError
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ReputationManagementError
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ReputationManagementError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ReputationManagementError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ReputationManagementError
	// JSON413 the response for an HTTP 413 `application/json` response
	JSON413 *ReputationManagementError
	// JSON415 the response for an HTTP 415 `application/json` response
	JSON415 *ReputationManagementError
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ReputationManagementError
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *ReputationManagementError
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *ReputationManagementError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *LookupReputationResponse200Headers
}

func ParseLookupReputationResponse

func ParseLookupReputationResponse(rsp *http.Response) (*LookupReputationResponse, error)

ParseLookupReputationResponse parses an HTTP response from a LookupReputationWithResponse call

func (LookupReputationResponse) ContentType

func (r LookupReputationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (LookupReputationResponse) GetBody

func (r LookupReputationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (LookupReputationResponse) GetJSON200

func (r LookupReputationResponse) GetJSON200() *ReputationView

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (LookupReputationResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (LookupReputationResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (LookupReputationResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (LookupReputationResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (LookupReputationResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (LookupReputationResponse) GetJSON413

GetJSON413 returns the response for an HTTP 413 `application/json` response

func (LookupReputationResponse) GetJSON415

GetJSON415 returns the response for an HTTP 415 `application/json` response

func (LookupReputationResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (LookupReputationResponse) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (LookupReputationResponse) GetJSON504

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (LookupReputationResponse) Status

func (r LookupReputationResponse) Status() string

Status returns HTTPResponse.Status

func (LookupReputationResponse) StatusCode

func (r LookupReputationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LookupReputationResponse200Headers

type LookupReputationResponse200Headers struct {
	CacheControl *string
}

LookupReputationResponse200Headers the declared response headers of an HTTP 200 response for LookupReputation

type ManageReputationAllocationJSONRequestBody

type ManageReputationAllocationJSONRequestBody = ReputationAllocationRequest

ManageReputationAllocationJSONRequestBody defines body for ManageReputationAllocation for application/json ContentType.

type ManageReputationAllocationResponse

type ManageReputationAllocationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReputationAllocationView
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ReputationManagementError
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ReputationManagementError
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ReputationManagementError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ReputationManagementError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ReputationManagementError
	// JSON413 the response for an HTTP 413 `application/json` response
	JSON413 *ReputationManagementError
	// JSON415 the response for an HTTP 415 `application/json` response
	JSON415 *ReputationManagementError
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ReputationManagementError
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *ReputationManagementError
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *ReputationManagementError
}

func ParseManageReputationAllocationResponse

func ParseManageReputationAllocationResponse(rsp *http.Response) (*ManageReputationAllocationResponse, error)

ParseManageReputationAllocationResponse parses an HTTP response from a ManageReputationAllocationWithResponse call

func (ManageReputationAllocationResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ManageReputationAllocationResponse) GetBody

GetBody returns the raw response body bytes

func (ManageReputationAllocationResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ManageReputationAllocationResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ManageReputationAllocationResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ManageReputationAllocationResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ManageReputationAllocationResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ManageReputationAllocationResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (ManageReputationAllocationResponse) GetJSON413

GetJSON413 returns the response for an HTTP 413 `application/json` response

func (ManageReputationAllocationResponse) GetJSON415

GetJSON415 returns the response for an HTTP 415 `application/json` response

func (ManageReputationAllocationResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ManageReputationAllocationResponse) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (ManageReputationAllocationResponse) GetJSON504

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (ManageReputationAllocationResponse) Status

Status returns HTTPResponse.Status

func (ManageReputationAllocationResponse) StatusCode

func (r ManageReputationAllocationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type NotFound

type NotFound = ErrorResponse

NotFound defines model for NotFound.

type OIDCSessionSummary

type OIDCSessionSummary struct {
	AuthTime    time.Time `json:"auth_time"`
	ClientId    string    `json:"client_id"`
	DisplayName *string   `json:"display_name,omitempty"`

	// Id Stable non-secret session identifier derived from the stored token.
	Id           string    `json:"id"`
	MfaCompleted *bool     `json:"mfa_completed,omitempty"`
	MfaMethod    *string   `json:"mfa_method,omitempty"`
	RedirectUri  *string   `json:"redirect_uri,omitempty"`
	Scopes       *[]string `json:"scopes,omitempty"`
	UserId       string    `json:"user_id"`
	Username     *string   `json:"username,omitempty"`
}

OIDCSessionSummary defines model for OIDCSessionSummary.

type OIDCSessions

type OIDCSessions struct {
	Sessions []OIDCSessionSummary `json:"sessions"`
}

OIDCSessions defines model for OIDCSessions.

type PageLimit

type PageLimit = int

PageLimit defines model for PageLimit.

type PageOffset

type PageOffset = int

PageOffset defines model for PageOffset.

type PolicyAdvice

type PolicyAdvice struct {
	Id         string                 `json:"id"`
	Parameters PolicyResponseValueMap `json:"parameters"`
}

PolicyAdvice defines model for PolicyAdvice.

type PolicyBadRequest

type PolicyBadRequest = PolicyError

PolicyBadRequest defines model for PolicyBadRequest.

type PolicyDecision

type PolicyDecision = PolicyDecisionResponse

PolicyDecision defines model for PolicyDecision.

type PolicyDecisionRequest

type PolicyDecisionRequest struct {
	Attributes  *PolicyValueMap              `json:"attributes,omitempty"`
	Environment *PolicyEnvironment           `json:"environment,omitempty"`
	Options     *PolicyEvaluationOptions     `json:"options,omitempty"`
	RequestId   *string                      `json:"request_id,omitempty"`
	Resource    *PolicyEntity                `json:"resource,omitempty"`
	Subject     *PolicyEntity                `json:"subject,omitempty"`
	Target      PolicyTarget                 `json:"target"`
	Version     PolicyDecisionRequestVersion `json:"version"`
}

PolicyDecisionRequest defines model for PolicyDecisionRequest.

type PolicyDecisionRequestVersion

type PolicyDecisionRequestVersion string

PolicyDecisionRequestVersion defines model for PolicyDecisionRequest.Version.

const (
	N1 PolicyDecisionRequestVersion = "1"
)

Defines values for PolicyDecisionRequestVersion.

func (PolicyDecisionRequestVersion) Valid

Valid indicates whether the value is a known member of the PolicyDecisionRequestVersion enum.

type PolicyDecisionResponse

type PolicyDecisionResponse struct {
	Advice      *[]PolicyAdvice              `json:"advice,omitempty"`
	DecisionId  string                       `json:"decision_id"`
	Diagnostics *PolicyDiagnostics           `json:"diagnostics,omitempty"`
	Effect      PolicyDecisionResponseEffect `json:"effect"`
	Obligations *[]PolicyObligation          `json:"obligations,omitempty"`
	RequestId   string                       `json:"request_id"`
	Status      PolicyStatus                 `json:"status"`
}

PolicyDecisionResponse defines model for PolicyDecisionResponse.

type PolicyDecisionResponseEffect

type PolicyDecisionResponseEffect string

PolicyDecisionResponseEffect defines model for PolicyDecisionResponse.Effect.

const (
	Deny          PolicyDecisionResponseEffect = "deny"
	Indeterminate PolicyDecisionResponseEffect = "indeterminate"
	NotApplicable PolicyDecisionResponseEffect = "not_applicable"
	Permit        PolicyDecisionResponseEffect = "permit"
)

Defines values for PolicyDecisionResponseEffect.

func (PolicyDecisionResponseEffect) Valid

Valid indicates whether the value is a known member of the PolicyDecisionResponseEffect enum.

type PolicyDiagnostics

type PolicyDiagnostics struct {
	Entries PolicyResponseValueMap `json:"entries"`
}

PolicyDiagnostics defines model for PolicyDiagnostics.

type PolicyEntity

type PolicyEntity struct {
	Attributes *PolicyValueMap `json:"attributes,omitempty"`
	Id         *string         `json:"id,omitempty"`
	Type       *string         `json:"type,omitempty"`
}

PolicyEntity defines model for PolicyEntity.

type PolicyEnvironment

type PolicyEnvironment struct {
	Attributes *PolicyValueMap `json:"attributes,omitempty"`
	Instance   *string         `json:"instance,omitempty"`
	Protocol   *string         `json:"protocol,omitempty"`
	Service    *string         `json:"service,omitempty"`
}

PolicyEnvironment defines model for PolicyEnvironment.

type PolicyError

type PolicyError struct {
	Code    string                    `json:"code"`
	Details *[]PolicyValidationDetail `json:"details,omitempty"`
	Message string                    `json:"message"`
}

PolicyError defines model for PolicyError.

type PolicyEvaluationOptions

type PolicyEvaluationOptions struct {
	IncludeDiagnostics *bool `json:"include_diagnostics,omitempty"`
}

PolicyEvaluationOptions defines model for PolicyEvaluationOptions.

type PolicyForbidden

type PolicyForbidden = PolicyError

PolicyForbidden defines model for PolicyForbidden.

type PolicyObligation

type PolicyObligation struct {
	Id         string                 `json:"id"`
	Parameters PolicyResponseValueMap `json:"parameters"`
}

PolicyObligation defines model for PolicyObligation.

type PolicyRateLimited

type PolicyRateLimited = PolicyError

PolicyRateLimited defines model for PolicyRateLimited.

type PolicyRecord

type PolicyRecord struct {
	Fields []PolicyRecordField `json:"fields"`
}

PolicyRecord defines model for PolicyRecord.

type PolicyRecordField

type PolicyRecordField struct {
	Name  string                 `json:"name"`
	Value PolicyRecordFieldValue `json:"value"`
}

PolicyRecordField defines model for PolicyRecordField.

type PolicyRecordFieldValue

type PolicyRecordFieldValue struct {
	Boolean   *bool      `json:"boolean,omitempty"`
	Bytes     *[]byte    `json:"bytes,omitempty"`
	Double    *float64   `json:"double,omitempty"`
	Integer   *string    `json:"integer,omitempty"`
	String    *string    `json:"string,omitempty"`
	Strings   *[]string  `json:"strings,omitempty"`
	Timestamp *time.Time `json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

PolicyRecordFieldValue defines model for PolicyRecordFieldValue.

func (PolicyRecordFieldValue) AsPolicyRecordFieldValue0

func (t PolicyRecordFieldValue) AsPolicyRecordFieldValue0() (PolicyRecordFieldValue0, error)

AsPolicyRecordFieldValue0 returns the union data inside the PolicyRecordFieldValue as a PolicyRecordFieldValue0

func (PolicyRecordFieldValue) AsPolicyRecordFieldValue1

func (t PolicyRecordFieldValue) AsPolicyRecordFieldValue1() (PolicyRecordFieldValue1, error)

AsPolicyRecordFieldValue1 returns the union data inside the PolicyRecordFieldValue as a PolicyRecordFieldValue1

func (PolicyRecordFieldValue) AsPolicyRecordFieldValue2

func (t PolicyRecordFieldValue) AsPolicyRecordFieldValue2() (PolicyRecordFieldValue2, error)

AsPolicyRecordFieldValue2 returns the union data inside the PolicyRecordFieldValue as a PolicyRecordFieldValue2

func (PolicyRecordFieldValue) AsPolicyRecordFieldValue3

func (t PolicyRecordFieldValue) AsPolicyRecordFieldValue3() (PolicyRecordFieldValue3, error)

AsPolicyRecordFieldValue3 returns the union data inside the PolicyRecordFieldValue as a PolicyRecordFieldValue3

func (PolicyRecordFieldValue) AsPolicyRecordFieldValue4

func (t PolicyRecordFieldValue) AsPolicyRecordFieldValue4() (PolicyRecordFieldValue4, error)

AsPolicyRecordFieldValue4 returns the union data inside the PolicyRecordFieldValue as a PolicyRecordFieldValue4

func (PolicyRecordFieldValue) AsPolicyRecordFieldValue5

func (t PolicyRecordFieldValue) AsPolicyRecordFieldValue5() (PolicyRecordFieldValue5, error)

AsPolicyRecordFieldValue5 returns the union data inside the PolicyRecordFieldValue as a PolicyRecordFieldValue5

func (PolicyRecordFieldValue) AsPolicyRecordFieldValue6

func (t PolicyRecordFieldValue) AsPolicyRecordFieldValue6() (PolicyRecordFieldValue6, error)

AsPolicyRecordFieldValue6 returns the union data inside the PolicyRecordFieldValue as a PolicyRecordFieldValue6

func (*PolicyRecordFieldValue) FromPolicyRecordFieldValue0

func (t *PolicyRecordFieldValue) FromPolicyRecordFieldValue0(v PolicyRecordFieldValue0) error

FromPolicyRecordFieldValue0 overwrites any union data inside the PolicyRecordFieldValue as the provided PolicyRecordFieldValue0

func (*PolicyRecordFieldValue) FromPolicyRecordFieldValue1

func (t *PolicyRecordFieldValue) FromPolicyRecordFieldValue1(v PolicyRecordFieldValue1) error

FromPolicyRecordFieldValue1 overwrites any union data inside the PolicyRecordFieldValue as the provided PolicyRecordFieldValue1

func (*PolicyRecordFieldValue) FromPolicyRecordFieldValue2

func (t *PolicyRecordFieldValue) FromPolicyRecordFieldValue2(v PolicyRecordFieldValue2) error

FromPolicyRecordFieldValue2 overwrites any union data inside the PolicyRecordFieldValue as the provided PolicyRecordFieldValue2

func (*PolicyRecordFieldValue) FromPolicyRecordFieldValue3

func (t *PolicyRecordFieldValue) FromPolicyRecordFieldValue3(v PolicyRecordFieldValue3) error

FromPolicyRecordFieldValue3 overwrites any union data inside the PolicyRecordFieldValue as the provided PolicyRecordFieldValue3

func (*PolicyRecordFieldValue) FromPolicyRecordFieldValue4

func (t *PolicyRecordFieldValue) FromPolicyRecordFieldValue4(v PolicyRecordFieldValue4) error

FromPolicyRecordFieldValue4 overwrites any union data inside the PolicyRecordFieldValue as the provided PolicyRecordFieldValue4

func (*PolicyRecordFieldValue) FromPolicyRecordFieldValue5

func (t *PolicyRecordFieldValue) FromPolicyRecordFieldValue5(v PolicyRecordFieldValue5) error

FromPolicyRecordFieldValue5 overwrites any union data inside the PolicyRecordFieldValue as the provided PolicyRecordFieldValue5

func (*PolicyRecordFieldValue) FromPolicyRecordFieldValue6

func (t *PolicyRecordFieldValue) FromPolicyRecordFieldValue6(v PolicyRecordFieldValue6) error

FromPolicyRecordFieldValue6 overwrites any union data inside the PolicyRecordFieldValue as the provided PolicyRecordFieldValue6

func (PolicyRecordFieldValue) MarshalJSON

func (t PolicyRecordFieldValue) MarshalJSON() ([]byte, error)

func (*PolicyRecordFieldValue) MergePolicyRecordFieldValue0

func (t *PolicyRecordFieldValue) MergePolicyRecordFieldValue0(v PolicyRecordFieldValue0) error

MergePolicyRecordFieldValue0 performs a merge with any union data inside the PolicyRecordFieldValue, using the provided PolicyRecordFieldValue0

func (*PolicyRecordFieldValue) MergePolicyRecordFieldValue1

func (t *PolicyRecordFieldValue) MergePolicyRecordFieldValue1(v PolicyRecordFieldValue1) error

MergePolicyRecordFieldValue1 performs a merge with any union data inside the PolicyRecordFieldValue, using the provided PolicyRecordFieldValue1

func (*PolicyRecordFieldValue) MergePolicyRecordFieldValue2

func (t *PolicyRecordFieldValue) MergePolicyRecordFieldValue2(v PolicyRecordFieldValue2) error

MergePolicyRecordFieldValue2 performs a merge with any union data inside the PolicyRecordFieldValue, using the provided PolicyRecordFieldValue2

func (*PolicyRecordFieldValue) MergePolicyRecordFieldValue3

func (t *PolicyRecordFieldValue) MergePolicyRecordFieldValue3(v PolicyRecordFieldValue3) error

MergePolicyRecordFieldValue3 performs a merge with any union data inside the PolicyRecordFieldValue, using the provided PolicyRecordFieldValue3

func (*PolicyRecordFieldValue) MergePolicyRecordFieldValue4

func (t *PolicyRecordFieldValue) MergePolicyRecordFieldValue4(v PolicyRecordFieldValue4) error

MergePolicyRecordFieldValue4 performs a merge with any union data inside the PolicyRecordFieldValue, using the provided PolicyRecordFieldValue4

func (*PolicyRecordFieldValue) MergePolicyRecordFieldValue5

func (t *PolicyRecordFieldValue) MergePolicyRecordFieldValue5(v PolicyRecordFieldValue5) error

MergePolicyRecordFieldValue5 performs a merge with any union data inside the PolicyRecordFieldValue, using the provided PolicyRecordFieldValue5

func (*PolicyRecordFieldValue) MergePolicyRecordFieldValue6

func (t *PolicyRecordFieldValue) MergePolicyRecordFieldValue6(v PolicyRecordFieldValue6) error

MergePolicyRecordFieldValue6 performs a merge with any union data inside the PolicyRecordFieldValue, using the provided PolicyRecordFieldValue6

func (*PolicyRecordFieldValue) UnmarshalJSON

func (t *PolicyRecordFieldValue) UnmarshalJSON(b []byte) error

type PolicyRecordFieldValue0

type PolicyRecordFieldValue0 = interface{}

PolicyRecordFieldValue0 defines model for PolicyRecordFieldValue.0.

type PolicyRecordFieldValue1

type PolicyRecordFieldValue1 = interface{}

PolicyRecordFieldValue1 defines model for PolicyRecordFieldValue.1.

type PolicyRecordFieldValue2

type PolicyRecordFieldValue2 = interface{}

PolicyRecordFieldValue2 defines model for PolicyRecordFieldValue.2.

type PolicyRecordFieldValue3

type PolicyRecordFieldValue3 = interface{}

PolicyRecordFieldValue3 defines model for PolicyRecordFieldValue.3.

type PolicyRecordFieldValue4

type PolicyRecordFieldValue4 = interface{}

PolicyRecordFieldValue4 defines model for PolicyRecordFieldValue.4.

type PolicyRecordFieldValue5

type PolicyRecordFieldValue5 = interface{}

PolicyRecordFieldValue5 defines model for PolicyRecordFieldValue.5.

type PolicyRecordFieldValue6

type PolicyRecordFieldValue6 = interface{}

PolicyRecordFieldValue6 defines model for PolicyRecordFieldValue.6.

type PolicyRequestTooLarge

type PolicyRequestTooLarge = PolicyError

PolicyRequestTooLarge defines model for PolicyRequestTooLarge.

type PolicyResponseValue

type PolicyResponseValue = PolicyRecordFieldValue

PolicyResponseValue defines model for PolicyResponseValue.

type PolicyResponseValueMap

type PolicyResponseValueMap map[string]PolicyResponseValue

PolicyResponseValueMap defines model for PolicyResponseValueMap.

type PolicyStatus

type PolicyStatus struct {
	// Code Stable result code. effect_outcome_unknown is non-retryable. effect_replay_unsafe is non-retryable because an earlier non-idempotent effect already completed or was accepted before a later failure. effect_outcome_unknown_replay_safe permits retrying the complete Policy request with unchanged admitted idempotency keys and payload. The host never retries an effect within one request.
	Code    string                    `json:"code"`
	Details *[]PolicyValidationDetail `json:"details,omitempty"`
	Message string                    `json:"message"`

	// Retryable Whether the caller may retry; replay-safe unknown outcomes require the same complete request and idempotency keys.
	Retryable bool `json:"retryable"`
}

PolicyStatus defines model for PolicyStatus.

type PolicyTarget

type PolicyTarget struct {
	Action    string `json:"action"`
	Namespace string `json:"namespace"`
}

PolicyTarget defines model for PolicyTarget.

type PolicyUnauthorized

type PolicyUnauthorized = PolicyError

PolicyUnauthorized defines model for PolicyUnauthorized.

type PolicyUnavailable

type PolicyUnavailable = PolicyError

PolicyUnavailable defines model for PolicyUnavailable.

type PolicyUnsupportedMediaType

type PolicyUnsupportedMediaType = PolicyError

PolicyUnsupportedMediaType defines model for PolicyUnsupportedMediaType.

type PolicyValidationDetail

type PolicyValidationDetail struct {
	Field  string `json:"field"`
	Reason string `json:"reason"`
}

PolicyValidationDetail defines model for PolicyValidationDetail.

type PolicyValue

type PolicyValue struct {
	Boolean   *bool           `json:"boolean,omitempty"`
	Bytes     *[]byte         `json:"bytes,omitempty"`
	Double    *float64        `json:"double,omitempty"`
	Integer   *string         `json:"integer,omitempty"`
	Records   *[]PolicyRecord `json:"records,omitempty"`
	String    *string         `json:"string,omitempty"`
	Strings   *[]string       `json:"strings,omitempty"`
	Timestamp *time.Time      `json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

PolicyValue defines model for PolicyValue.

func (PolicyValue) AsPolicyValue0

func (t PolicyValue) AsPolicyValue0() (PolicyValue0, error)

AsPolicyValue0 returns the union data inside the PolicyValue as a PolicyValue0

func (PolicyValue) AsPolicyValue1

func (t PolicyValue) AsPolicyValue1() (PolicyValue1, error)

AsPolicyValue1 returns the union data inside the PolicyValue as a PolicyValue1

func (PolicyValue) AsPolicyValue2

func (t PolicyValue) AsPolicyValue2() (PolicyValue2, error)

AsPolicyValue2 returns the union data inside the PolicyValue as a PolicyValue2

func (PolicyValue) AsPolicyValue3

func (t PolicyValue) AsPolicyValue3() (PolicyValue3, error)

AsPolicyValue3 returns the union data inside the PolicyValue as a PolicyValue3

func (PolicyValue) AsPolicyValue4

func (t PolicyValue) AsPolicyValue4() (PolicyValue4, error)

AsPolicyValue4 returns the union data inside the PolicyValue as a PolicyValue4

func (PolicyValue) AsPolicyValue5

func (t PolicyValue) AsPolicyValue5() (PolicyValue5, error)

AsPolicyValue5 returns the union data inside the PolicyValue as a PolicyValue5

func (PolicyValue) AsPolicyValue6

func (t PolicyValue) AsPolicyValue6() (PolicyValue6, error)

AsPolicyValue6 returns the union data inside the PolicyValue as a PolicyValue6

func (PolicyValue) AsPolicyValue7

func (t PolicyValue) AsPolicyValue7() (PolicyValue7, error)

AsPolicyValue7 returns the union data inside the PolicyValue as a PolicyValue7

func (*PolicyValue) FromPolicyValue0

func (t *PolicyValue) FromPolicyValue0(v PolicyValue0) error

FromPolicyValue0 overwrites any union data inside the PolicyValue as the provided PolicyValue0

func (*PolicyValue) FromPolicyValue1

func (t *PolicyValue) FromPolicyValue1(v PolicyValue1) error

FromPolicyValue1 overwrites any union data inside the PolicyValue as the provided PolicyValue1

func (*PolicyValue) FromPolicyValue2

func (t *PolicyValue) FromPolicyValue2(v PolicyValue2) error

FromPolicyValue2 overwrites any union data inside the PolicyValue as the provided PolicyValue2

func (*PolicyValue) FromPolicyValue3

func (t *PolicyValue) FromPolicyValue3(v PolicyValue3) error

FromPolicyValue3 overwrites any union data inside the PolicyValue as the provided PolicyValue3

func (*PolicyValue) FromPolicyValue4

func (t *PolicyValue) FromPolicyValue4(v PolicyValue4) error

FromPolicyValue4 overwrites any union data inside the PolicyValue as the provided PolicyValue4

func (*PolicyValue) FromPolicyValue5

func (t *PolicyValue) FromPolicyValue5(v PolicyValue5) error

FromPolicyValue5 overwrites any union data inside the PolicyValue as the provided PolicyValue5

func (*PolicyValue) FromPolicyValue6

func (t *PolicyValue) FromPolicyValue6(v PolicyValue6) error

FromPolicyValue6 overwrites any union data inside the PolicyValue as the provided PolicyValue6

func (*PolicyValue) FromPolicyValue7

func (t *PolicyValue) FromPolicyValue7(v PolicyValue7) error

FromPolicyValue7 overwrites any union data inside the PolicyValue as the provided PolicyValue7

func (PolicyValue) MarshalJSON

func (t PolicyValue) MarshalJSON() ([]byte, error)

func (*PolicyValue) MergePolicyValue0

func (t *PolicyValue) MergePolicyValue0(v PolicyValue0) error

MergePolicyValue0 performs a merge with any union data inside the PolicyValue, using the provided PolicyValue0

func (*PolicyValue) MergePolicyValue1

func (t *PolicyValue) MergePolicyValue1(v PolicyValue1) error

MergePolicyValue1 performs a merge with any union data inside the PolicyValue, using the provided PolicyValue1

func (*PolicyValue) MergePolicyValue2

func (t *PolicyValue) MergePolicyValue2(v PolicyValue2) error

MergePolicyValue2 performs a merge with any union data inside the PolicyValue, using the provided PolicyValue2

func (*PolicyValue) MergePolicyValue3

func (t *PolicyValue) MergePolicyValue3(v PolicyValue3) error

MergePolicyValue3 performs a merge with any union data inside the PolicyValue, using the provided PolicyValue3

func (*PolicyValue) MergePolicyValue4

func (t *PolicyValue) MergePolicyValue4(v PolicyValue4) error

MergePolicyValue4 performs a merge with any union data inside the PolicyValue, using the provided PolicyValue4

func (*PolicyValue) MergePolicyValue5

func (t *PolicyValue) MergePolicyValue5(v PolicyValue5) error

MergePolicyValue5 performs a merge with any union data inside the PolicyValue, using the provided PolicyValue5

func (*PolicyValue) MergePolicyValue6

func (t *PolicyValue) MergePolicyValue6(v PolicyValue6) error

MergePolicyValue6 performs a merge with any union data inside the PolicyValue, using the provided PolicyValue6

func (*PolicyValue) MergePolicyValue7

func (t *PolicyValue) MergePolicyValue7(v PolicyValue7) error

MergePolicyValue7 performs a merge with any union data inside the PolicyValue, using the provided PolicyValue7

func (*PolicyValue) UnmarshalJSON

func (t *PolicyValue) UnmarshalJSON(b []byte) error

type PolicyValue0

type PolicyValue0 = interface{}

PolicyValue0 defines model for PolicyValue.0.

type PolicyValue1

type PolicyValue1 = interface{}

PolicyValue1 defines model for PolicyValue.1.

type PolicyValue2

type PolicyValue2 = interface{}

PolicyValue2 defines model for PolicyValue.2.

type PolicyValue3

type PolicyValue3 = interface{}

PolicyValue3 defines model for PolicyValue.3.

type PolicyValue4

type PolicyValue4 = interface{}

PolicyValue4 defines model for PolicyValue.4.

type PolicyValue5

type PolicyValue5 = interface{}

PolicyValue5 defines model for PolicyValue.5.

type PolicyValue6

type PolicyValue6 = interface{}

PolicyValue6 defines model for PolicyValue.6.

type PolicyValue7

type PolicyValue7 = interface{}

PolicyValue7 defines model for PolicyValue.7.

type PolicyValueMap

type PolicyValueMap map[string]PolicyValue

PolicyValueMap defines model for PolicyValueMap.

type PutReputationOverrideJSONRequestBody

type PutReputationOverrideJSONRequestBody = ReputationOverridePutRequest

PutReputationOverrideJSONRequestBody defines body for PutReputationOverride for application/json ContentType.

type PutReputationOverrideResponse

type PutReputationOverrideResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReputationView
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ReputationManagementError
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ReputationManagementError
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ReputationManagementError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ReputationManagementError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ReputationManagementError
	// JSON413 the response for an HTTP 413 `application/json` response
	JSON413 *ReputationManagementError
	// JSON415 the response for an HTTP 415 `application/json` response
	JSON415 *ReputationManagementError
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ReputationManagementError
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *ReputationManagementError
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *ReputationManagementError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *PutReputationOverrideResponse200Headers
}

func ParsePutReputationOverrideResponse

func ParsePutReputationOverrideResponse(rsp *http.Response) (*PutReputationOverrideResponse, error)

ParsePutReputationOverrideResponse parses an HTTP response from a PutReputationOverrideWithResponse call

func (PutReputationOverrideResponse) ContentType

func (r PutReputationOverrideResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutReputationOverrideResponse) GetBody

func (r PutReputationOverrideResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PutReputationOverrideResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PutReputationOverrideResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PutReputationOverrideResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PutReputationOverrideResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PutReputationOverrideResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PutReputationOverrideResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PutReputationOverrideResponse) GetJSON413

GetJSON413 returns the response for an HTTP 413 `application/json` response

func (PutReputationOverrideResponse) GetJSON415

GetJSON415 returns the response for an HTTP 415 `application/json` response

func (PutReputationOverrideResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PutReputationOverrideResponse) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PutReputationOverrideResponse) GetJSON504

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (PutReputationOverrideResponse) Status

Status returns HTTPResponse.Status

func (PutReputationOverrideResponse) StatusCode

func (r PutReputationOverrideResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutReputationOverrideResponse200Headers

type PutReputationOverrideResponse200Headers struct {
	CacheControl *string
}

PutReputationOverrideResponse200Headers the declared response headers of an HTTP 200 response for PutReputationOverride

type ReputationAllocationAudit

type ReputationAllocationAudit struct {
	AuditId string `json:"audit_id"`
	Creator string `json:"creator"`
	Origin  string `json:"origin"`
	Reason  string `json:"reason"`
}

ReputationAllocationAudit defines model for ReputationAllocationAudit.

type ReputationAllocationRequest

type ReputationAllocationRequest struct {
	// contains filtered or unexported fields
}

ReputationAllocationRequest defines model for ReputationAllocationRequest.

func (ReputationAllocationRequest) AsReputationAllocationRequest0

func (t ReputationAllocationRequest) AsReputationAllocationRequest0() (ReputationAllocationRequest0, error)

AsReputationAllocationRequest0 returns the union data inside the ReputationAllocationRequest as a ReputationAllocationRequest0

func (ReputationAllocationRequest) AsReputationAllocationRequest1

func (t ReputationAllocationRequest) AsReputationAllocationRequest1() (ReputationAllocationRequest1, error)

AsReputationAllocationRequest1 returns the union data inside the ReputationAllocationRequest as a ReputationAllocationRequest1

func (*ReputationAllocationRequest) FromReputationAllocationRequest0

func (t *ReputationAllocationRequest) FromReputationAllocationRequest0(v ReputationAllocationRequest0) error

FromReputationAllocationRequest0 overwrites any union data inside the ReputationAllocationRequest as the provided ReputationAllocationRequest0

func (*ReputationAllocationRequest) FromReputationAllocationRequest1

func (t *ReputationAllocationRequest) FromReputationAllocationRequest1(v ReputationAllocationRequest1) error

FromReputationAllocationRequest1 overwrites any union data inside the ReputationAllocationRequest as the provided ReputationAllocationRequest1

func (ReputationAllocationRequest) MarshalJSON

func (t ReputationAllocationRequest) MarshalJSON() ([]byte, error)

func (*ReputationAllocationRequest) MergeReputationAllocationRequest0

func (t *ReputationAllocationRequest) MergeReputationAllocationRequest0(v ReputationAllocationRequest0) error

MergeReputationAllocationRequest0 performs a merge with any union data inside the ReputationAllocationRequest, using the provided ReputationAllocationRequest0

func (*ReputationAllocationRequest) MergeReputationAllocationRequest1

func (t *ReputationAllocationRequest) MergeReputationAllocationRequest1(v ReputationAllocationRequest1) error

MergeReputationAllocationRequest1 performs a merge with any union data inside the ReputationAllocationRequest, using the provided ReputationAllocationRequest1

func (*ReputationAllocationRequest) UnmarshalJSON

func (t *ReputationAllocationRequest) UnmarshalJSON(b []byte) error

type ReputationAllocationRequest0

type ReputationAllocationRequest0 struct {
	Action ReputationAllocationRequest0Action `json:"action"`
}

ReputationAllocationRequest0 defines model for ReputationAllocationRequest.0.

type ReputationAllocationRequest0Action

type ReputationAllocationRequest0Action string

ReputationAllocationRequest0Action defines model for ReputationAllocationRequest.0.Action.

const (
	Status ReputationAllocationRequest0Action = "status"
)

Defines values for ReputationAllocationRequest0Action.

func (ReputationAllocationRequest0Action) Valid

Valid indicates whether the value is a known member of the ReputationAllocationRequest0Action enum.

type ReputationAllocationRequest1

type ReputationAllocationRequest1 struct {
	Action  ReputationAllocationRequest1Action `json:"action"`
	AuditId string                             `json:"audit_id"`
	Origin  string                             `json:"origin"`
	Reason  string                             `json:"reason"`
}

ReputationAllocationRequest1 defines model for ReputationAllocationRequest.1.

type ReputationAllocationRequest1Action

type ReputationAllocationRequest1Action string

ReputationAllocationRequest1Action defines model for ReputationAllocationRequest.1.Action.

const (
	Drain ReputationAllocationRequest1Action = "drain"
)

Defines values for ReputationAllocationRequest1Action.

func (ReputationAllocationRequest1Action) Valid

Valid indicates whether the value is a known member of the ReputationAllocationRequest1Action enum.

type ReputationAllocationView

type ReputationAllocationView struct {
	Audit          *ReputationAllocationAudit   `json:"audit,omitempty"`
	DrainedAt      float32                      `json:"drained_at"`
	FencedShards   int                          `json:"fenced_shards"`
	Generation     int                          `json:"generation"`
	Mode           ReputationAllocationViewMode `json:"mode"`
	NextGeneration int                          `json:"next_generation"`
	ObservedAt     float32                      `json:"observed_at"`
	Retention      float32                      `json:"retention"`
}

ReputationAllocationView defines model for ReputationAllocationView.

type ReputationAllocationViewMode

type ReputationAllocationViewMode string

ReputationAllocationViewMode defines model for ReputationAllocationView.Mode.

const (
	ReputationAllocationViewModeActive   ReputationAllocationViewMode = "active"
	ReputationAllocationViewModeDraining ReputationAllocationViewMode = "draining"
)

Defines values for ReputationAllocationViewMode.

func (ReputationAllocationViewMode) Valid

Valid indicates whether the value is a known member of the ReputationAllocationViewMode enum.

type ReputationAudit

type ReputationAudit struct {
	AuditId       string                   `json:"audit_id"`
	CreatedAt     float32                  `json:"created_at"`
	Creator       string                   `json:"creator"`
	Kind          ReputationAuditKind      `json:"kind"`
	Operation     ReputationAuditOperation `json:"operation"`
	Origin        string                   `json:"origin"`
	PreviousAudit string                   `json:"previous_audit"`
	Reason        string                   `json:"reason"`
	Schema        ReputationAuditSchema    `json:"schema"`
}

ReputationAudit defines model for ReputationAudit.

type ReputationAuditKind

type ReputationAuditKind string

ReputationAuditKind defines model for ReputationAudit.Kind.

const (
	ReputationAuditKindAccount   ReputationAuditKind = "account"
	ReputationAuditKindAsn       ReputationAuditKind = "asn"
	ReputationAuditKindDnsDomain ReputationAuditKind = "dns_domain"
	ReputationAuditKindIp        ReputationAuditKind = "ip"
	ReputationAuditKindNetwork   ReputationAuditKind = "network"
	ReputationAuditKindService   ReputationAuditKind = "service"
)

Defines values for ReputationAuditKind.

func (ReputationAuditKind) Valid

func (e ReputationAuditKind) Valid() bool

Valid indicates whether the value is a known member of the ReputationAuditKind enum.

type ReputationAuditOperation

type ReputationAuditOperation string

ReputationAuditOperation defines model for ReputationAudit.Operation.

const (
	OverrideDelete ReputationAuditOperation = "override_delete"
	OverridePut    ReputationAuditOperation = "override_put"
)

Defines values for ReputationAuditOperation.

func (ReputationAuditOperation) Valid

func (e ReputationAuditOperation) Valid() bool

Valid indicates whether the value is a known member of the ReputationAuditOperation enum.

type ReputationAuditSchema

type ReputationAuditSchema string

ReputationAuditSchema defines model for ReputationAudit.Schema.

const (
	ReputationOperatorAuditV1 ReputationAuditSchema = "reputation-operator-audit.v1"
)

Defines values for ReputationAuditSchema.

func (ReputationAuditSchema) Valid

func (e ReputationAuditSchema) Valid() bool

Valid indicates whether the value is a known member of the ReputationAuditSchema enum.

type ReputationEvidence

type ReputationEvidence struct {
	AuthoritativeAt float32                 `json:"authoritative_at"`
	Kind            ReputationEvidenceKind  `json:"kind"`
	LastChange      *ReputationAudit        `json:"last_change,omitempty"`
	ObservedAt      float32                 `json:"observed_at"`
	Override        *ReputationOverride     `json:"override,omitempty"`
	RiskAt          float32                 `json:"risk_at"`
	Slot            ReputationEvidenceSlot  `json:"slot"`
	SourceClasses   ReputationSourceClasses `json:"source_classes"`
	State           ReputationEvidenceState `json:"state"`
	TrustAt         float32                 `json:"trust_at"`
	UpdatedAt       float32                 `json:"updated_at"`
}

ReputationEvidence defines model for ReputationEvidence.

type ReputationEvidenceKind

type ReputationEvidenceKind string

ReputationEvidenceKind defines model for ReputationEvidence.Kind.

const (
	ReputationEvidenceKindAccount   ReputationEvidenceKind = "account"
	ReputationEvidenceKindAsn       ReputationEvidenceKind = "asn"
	ReputationEvidenceKindDnsDomain ReputationEvidenceKind = "dns_domain"
	ReputationEvidenceKindIp        ReputationEvidenceKind = "ip"
	ReputationEvidenceKindNetwork   ReputationEvidenceKind = "network"
	ReputationEvidenceKindService   ReputationEvidenceKind = "service"
)

Defines values for ReputationEvidenceKind.

func (ReputationEvidenceKind) Valid

func (e ReputationEvidenceKind) Valid() bool

Valid indicates whether the value is a known member of the ReputationEvidenceKind enum.

type ReputationEvidenceSlot

type ReputationEvidenceSlot string

ReputationEvidenceSlot defines model for ReputationEvidence.Slot.

const (
	ReputationEvidenceSlotActive   ReputationEvidenceSlot = "active"
	ReputationEvidenceSlotPrevious ReputationEvidenceSlot = "previous"
)

Defines values for ReputationEvidenceSlot.

func (ReputationEvidenceSlot) Valid

func (e ReputationEvidenceSlot) Valid() bool

Valid indicates whether the value is a known member of the ReputationEvidenceSlot enum.

type ReputationEvidenceState

type ReputationEvidenceState string

ReputationEvidenceState defines model for ReputationEvidence.State.

const (
	ReputationEvidenceStateFresh    ReputationEvidenceState = "fresh"
	ReputationEvidenceStateNotFound ReputationEvidenceState = "not_found"
)

Defines values for ReputationEvidenceState.

func (ReputationEvidenceState) Valid

func (e ReputationEvidenceState) Valid() bool

Valid indicates whether the value is a known member of the ReputationEvidenceState enum.

type ReputationLookupRequest

type ReputationLookupRequest struct {
	Kind    ReputationLookupRequestKind `json:"kind"`
	Subject string                      `json:"subject"`
}

ReputationLookupRequest defines model for ReputationLookupRequest.

type ReputationLookupRequestKind

type ReputationLookupRequestKind string

ReputationLookupRequestKind defines model for ReputationLookupRequest.Kind.

const (
	ReputationLookupRequestKindAccount   ReputationLookupRequestKind = "account"
	ReputationLookupRequestKindAsn       ReputationLookupRequestKind = "asn"
	ReputationLookupRequestKindDnsDomain ReputationLookupRequestKind = "dns_domain"
	ReputationLookupRequestKindIp        ReputationLookupRequestKind = "ip"
	ReputationLookupRequestKindNetwork   ReputationLookupRequestKind = "network"
	ReputationLookupRequestKindService   ReputationLookupRequestKind = "service"
)

Defines values for ReputationLookupRequestKind.

func (ReputationLookupRequestKind) Valid

Valid indicates whether the value is a known member of the ReputationLookupRequestKind enum.

type ReputationManagementError

type ReputationManagementError struct {
	Error string `json:"error"`
}

ReputationManagementError defines model for ReputationManagementError.

type ReputationOverride

type ReputationOverride struct {
	AuditId   string                 `json:"audit_id"`
	Band      ReputationOverrideBand `json:"band"`
	CreatedAt float32                `json:"created_at"`
	Creator   string                 `json:"creator"`
	ExpiresAt float32                `json:"expires_at"`
	Origin    string                 `json:"origin"`
	Reason    string                 `json:"reason"`
}

ReputationOverride defines model for ReputationOverride.

type ReputationOverrideBand

type ReputationOverrideBand string

ReputationOverrideBand defines model for ReputationOverride.Band.

const (
	ReputationOverrideBandBlocked ReputationOverrideBand = "blocked"
	ReputationOverrideBandNeutral ReputationOverrideBand = "neutral"
	ReputationOverrideBandTrusted ReputationOverrideBand = "trusted"
)

Defines values for ReputationOverrideBand.

func (ReputationOverrideBand) Valid

func (e ReputationOverrideBand) Valid() bool

Valid indicates whether the value is a known member of the ReputationOverrideBand enum.

type ReputationOverrideDeleteRequest

type ReputationOverrideDeleteRequest struct {
	AuditId       string                               `json:"audit_id"`
	Kind          ReputationOverrideDeleteRequestKind  `json:"kind"`
	Origin        string                               `json:"origin"`
	PreviousAudit string                               `json:"previous_audit"`
	Reason        string                               `json:"reason"`
	Slot          *ReputationOverrideDeleteRequestSlot `json:"slot,omitempty"`
	Subject       string                               `json:"subject"`
}

ReputationOverrideDeleteRequest defines model for ReputationOverrideDeleteRequest.

type ReputationOverrideDeleteRequestKind

type ReputationOverrideDeleteRequestKind string

ReputationOverrideDeleteRequestKind defines model for ReputationOverrideDeleteRequest.Kind.

const (
	ReputationOverrideDeleteRequestKindAccount   ReputationOverrideDeleteRequestKind = "account"
	ReputationOverrideDeleteRequestKindAsn       ReputationOverrideDeleteRequestKind = "asn"
	ReputationOverrideDeleteRequestKindDnsDomain ReputationOverrideDeleteRequestKind = "dns_domain"
	ReputationOverrideDeleteRequestKindIp        ReputationOverrideDeleteRequestKind = "ip"
	ReputationOverrideDeleteRequestKindNetwork   ReputationOverrideDeleteRequestKind = "network"
	ReputationOverrideDeleteRequestKindService   ReputationOverrideDeleteRequestKind = "service"
)

Defines values for ReputationOverrideDeleteRequestKind.

func (ReputationOverrideDeleteRequestKind) Valid

Valid indicates whether the value is a known member of the ReputationOverrideDeleteRequestKind enum.

type ReputationOverrideDeleteRequestSlot

type ReputationOverrideDeleteRequestSlot string

ReputationOverrideDeleteRequestSlot defines model for ReputationOverrideDeleteRequest.Slot.

const (
	ReputationOverrideDeleteRequestSlotActive   ReputationOverrideDeleteRequestSlot = "active"
	ReputationOverrideDeleteRequestSlotPrevious ReputationOverrideDeleteRequestSlot = "previous"
)

Defines values for ReputationOverrideDeleteRequestSlot.

func (ReputationOverrideDeleteRequestSlot) Valid

Valid indicates whether the value is a known member of the ReputationOverrideDeleteRequestSlot enum.

type ReputationOverridePutRequest

type ReputationOverridePutRequest struct {
	AuditId       string                            `json:"audit_id"`
	Band          ReputationOverridePutRequestBand  `json:"band"`
	Kind          ReputationOverridePutRequestKind  `json:"kind"`
	Origin        string                            `json:"origin"`
	PreviousAudit *string                           `json:"previous_audit,omitempty"`
	Reason        string                            `json:"reason"`
	Slot          *ReputationOverridePutRequestSlot `json:"slot,omitempty"`
	Subject       string                            `json:"subject"`
	TtlSeconds    int64                             `json:"ttl_seconds"`
}

ReputationOverridePutRequest defines model for ReputationOverridePutRequest.

type ReputationOverridePutRequestBand

type ReputationOverridePutRequestBand string

ReputationOverridePutRequestBand defines model for ReputationOverridePutRequest.Band.

const (
	ReputationOverridePutRequestBandBlocked ReputationOverridePutRequestBand = "blocked"
	ReputationOverridePutRequestBandNeutral ReputationOverridePutRequestBand = "neutral"
	ReputationOverridePutRequestBandTrusted ReputationOverridePutRequestBand = "trusted"
)

Defines values for ReputationOverridePutRequestBand.

func (ReputationOverridePutRequestBand) Valid

Valid indicates whether the value is a known member of the ReputationOverridePutRequestBand enum.

type ReputationOverridePutRequestKind

type ReputationOverridePutRequestKind string

ReputationOverridePutRequestKind defines model for ReputationOverridePutRequest.Kind.

const (
	ReputationOverridePutRequestKindAccount   ReputationOverridePutRequestKind = "account"
	ReputationOverridePutRequestKindAsn       ReputationOverridePutRequestKind = "asn"
	ReputationOverridePutRequestKindDnsDomain ReputationOverridePutRequestKind = "dns_domain"
	ReputationOverridePutRequestKindIp        ReputationOverridePutRequestKind = "ip"
	ReputationOverridePutRequestKindNetwork   ReputationOverridePutRequestKind = "network"
	ReputationOverridePutRequestKindService   ReputationOverridePutRequestKind = "service"
)

Defines values for ReputationOverridePutRequestKind.

func (ReputationOverridePutRequestKind) Valid

Valid indicates whether the value is a known member of the ReputationOverridePutRequestKind enum.

type ReputationOverridePutRequestSlot

type ReputationOverridePutRequestSlot string

ReputationOverridePutRequestSlot defines model for ReputationOverridePutRequest.Slot.

const (
	ReputationOverridePutRequestSlotActive   ReputationOverridePutRequestSlot = "active"
	ReputationOverridePutRequestSlotPrevious ReputationOverridePutRequestSlot = "previous"
)

Defines values for ReputationOverridePutRequestSlot.

func (ReputationOverridePutRequestSlot) Valid

Valid indicates whether the value is a known member of the ReputationOverridePutRequestSlot enum.

type ReputationProfile

type ReputationProfile struct {
	Band     ReputationProfileBand     `json:"band"`
	Details  *ReputationScores         `json:"details,omitempty"`
	Override ReputationProfileOverride `json:"override"`
	State    ReputationProfileState    `json:"state"`
}

ReputationProfile defines model for ReputationProfile.

type ReputationProfileBand

type ReputationProfileBand string

ReputationProfileBand defines model for ReputationProfile.Band.

const (
	ReputationProfileBandBlocked    ReputationProfileBand = "blocked"
	ReputationProfileBandNeutral    ReputationProfileBand = "neutral"
	ReputationProfileBandPositive   ReputationProfileBand = "positive"
	ReputationProfileBandSuspicious ReputationProfileBand = "suspicious"
	ReputationProfileBandTrusted    ReputationProfileBand = "trusted"
	ReputationProfileBandUnknown    ReputationProfileBand = "unknown"
)

Defines values for ReputationProfileBand.

func (ReputationProfileBand) Valid

func (e ReputationProfileBand) Valid() bool

Valid indicates whether the value is a known member of the ReputationProfileBand enum.

type ReputationProfileOverride

type ReputationProfileOverride string

ReputationProfileOverride defines model for ReputationProfile.Override.

const (
	ReputationProfileOverrideBlocked ReputationProfileOverride = "blocked"
	ReputationProfileOverrideNeutral ReputationProfileOverride = "neutral"
	ReputationProfileOverrideNone    ReputationProfileOverride = "none"
	ReputationProfileOverrideTrusted ReputationProfileOverride = "trusted"
)

Defines values for ReputationProfileOverride.

func (ReputationProfileOverride) Valid

func (e ReputationProfileOverride) Valid() bool

Valid indicates whether the value is a known member of the ReputationProfileOverride enum.

type ReputationProfileState

type ReputationProfileState string

ReputationProfileState defines model for ReputationProfile.State.

const (
	ReputationProfileStateFresh    ReputationProfileState = "fresh"
	ReputationProfileStateNotFound ReputationProfileState = "not_found"
)

Defines values for ReputationProfileState.

func (ReputationProfileState) Valid

func (e ReputationProfileState) Valid() bool

Valid indicates whether the value is a known member of the ReputationProfileState enum.

type ReputationScores

type ReputationScores struct {
	AgeSeconds      int64   `json:"age_seconds"`
	Confidence      float32 `json:"confidence"`
	RiskScore       float32 `json:"risk_score"`
	Samples         float32 `json:"samples"`
	SourceDiversity int     `json:"source_diversity"`
	TrustScore      float32 `json:"trust_score"`
}

ReputationScores defines model for ReputationScores.

type ReputationSourceClasses

type ReputationSourceClasses struct {
	Baseline    *[]string `json:"baseline,omitempty"`
	Fast        *[]string `json:"fast,omitempty"`
	Operational *[]string `json:"operational,omitempty"`
}

ReputationSourceClasses defines model for ReputationSourceClasses.

type ReputationView

type ReputationView struct {
	ConfigRevision string               `json:"config_revision"`
	Evidence       []ReputationEvidence `json:"evidence"`
	Kind           ReputationViewKind   `json:"kind"`
	ModelId        string               `json:"model_id"`
	ModelRevision  string               `json:"model_revision"`
	Profiles       struct {
		Baseline    ReputationProfile `json:"baseline"`
		Fast        ReputationProfile `json:"fast"`
		Operational ReputationProfile `json:"operational"`
	} `json:"profiles"`
	Schema         ReputationViewSchema `json:"schema"`
	VerifiedChange *ReputationAudit     `json:"verified_change,omitempty"`
}

ReputationView defines model for ReputationView.

type ReputationViewKind

type ReputationViewKind string

ReputationViewKind defines model for ReputationView.Kind.

const (
	ReputationViewKindAccount   ReputationViewKind = "account"
	ReputationViewKindAsn       ReputationViewKind = "asn"
	ReputationViewKindDnsDomain ReputationViewKind = "dns_domain"
	ReputationViewKindIp        ReputationViewKind = "ip"
	ReputationViewKindNetwork   ReputationViewKind = "network"
	ReputationViewKindService   ReputationViewKind = "service"
)

Defines values for ReputationViewKind.

func (ReputationViewKind) Valid

func (e ReputationViewKind) Valid() bool

Valid indicates whether the value is a known member of the ReputationViewKind enum.

type ReputationViewSchema

type ReputationViewSchema string

ReputationViewSchema defines model for ReputationView.Schema.

const (
	ReputationManagementV1 ReputationViewSchema = "reputation-management.v1"
)

Defines values for ReputationViewSchema.

func (ReputationViewSchema) Valid

func (e ReputationViewSchema) Valid() bool

Valid indicates whether the value is a known member of the ReputationViewSchema enum.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ResultEnvelope

type ResultEnvelope struct {
	Object    string      `json:"object"`
	Operation string      `json:"operation"`
	Result    interface{} `json:"result"`
	Session   string      `json:"session"`
}

ResultEnvelope defines model for ResultEnvelope.

type Unauthorized

type Unauthorized = ErrorResponse

Unauthorized defines model for Unauthorized.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL