external

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalQuestion

type ExternalQuestion struct {
	types.QBase `bson:",inline"`

	// Defaults is the list of default values for the external question field.
	// Validations:
	// - optional
	Defaults []string `json:"defaults,omitempty" bson:"defaults,omitempty" validate:"omitempty"`

	// QuestionType is the type of the external question.
	QuestionType types.QuestionType `json:"questionType,omitempty" bson:"questionType,omitempty" validate:"required,questionType"`

	// ExternalType is the type of the external source.
	// Validations:
	// - required
	// - min length: 1
	ExternalType string `json:"externalType,omitempty" bson:"externalType,omitempty" validate:"required,min=1"`

	// Description is a description for the choice field.
	// Validations:
	// - optional
	Description *string `json:"description,omitempty" bson:"description,omitempty" validate:"omitempty"`

	// Src is the source of the external source.
	// Validations:
	// - optional
	Src *string `json:"src,omitempty" bson:"src,omitempty" validate:"omitempty"`
}

ExternalQuestion represents an external question type. Types: - types.QTypeExternalQuestion

Jump to

Keyboard shortcuts

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