60 String = QMetaType::Type::QString,
61 Integer = QMetaType::Type::LongLong,
62 Double = QMetaType::Type::Double,
63 Boolean = QMetaType::Type::Bool,
64 List = QMetaType::Type::QStringList,
108 void setCustomValidator(
const customValidator &customValidator );
120 QString description()
const;
125 static QString
typeName(
const Type type );
130 QString name()
const;
135 void setDescription(
const QString &description );
152 void setHidden(
bool hidden );
156 bool mRequired =
false;
157 Type mType = Type::String;
158 customValidator mCustomValidator =
nullptr;
159 QString mDescription;
160 QVariant mDefaultValue;
161 bool mHidden =
false;
163 friend class TestQgsServerQueryStringParameter;
The QgsServerApiContext class encapsulates the resources for a particular client request: the request...