models

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GeneralSettings added in v0.3.0

type GeneralSettings struct {
	DisplayName           *string `json:"displayName" validate:"omitempty,min=1,excludesall='<>&\""`
	Email                 *string `genericapi:"redact" json:"email" validate:"omitempty,email"`
	ErrorReportingConsent *bool   `json:"errorReportingConsent"`
	AnalyticsConsent      *bool   `json:"analyticsConsent"`
}

GeneralSettings defines basic settings for a Panther deployment.

type GetSettingsInput added in v0.3.0

type GetSettingsInput struct{}

GetSettingsInput retrieves general account settings.

type LambdaInput

type LambdaInput struct {
	GetSettings    *GetSettingsInput    `json:"getSettings"`
	UpdateSettings *UpdateSettingsInput `json:"updateSettings"`
}

LambdaInput is the request structure for the organization-api Lambda function.

type UpdateSettingsInput added in v0.3.0

type UpdateSettingsInput = GeneralSettings

UpdateSettingsInput modifies one or more settings.

Only non-nil fields are updated.

Jump to

Keyboard shortcuts

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