62 String = QVariant::String,
63 Integer = QVariant::LongLong,
64 Double = QVariant::Double,
65 Boolean = QVariant::Bool,
66 List = QVariant::StringList,
81 bool required =
false,
83 const QString &description = QString(),
84 const QVariant &defaultValue = QVariant() );
114 void setCustomValidator(
const customValidator &customValidator );
126 QString description()
const;
131 static QString
typeName(
const Type type );
136 QString name()
const;
141 void setDescription(
const QString &description );
158 void setHidden(
bool hidden );
163 bool mRequired =
false;
164 Type mType = Type::String;
165 customValidator mCustomValidator =
nullptr;
166 QString mDescription;
167 QVariant mDefaultValue;
168 bool mHidden =
false;
170 friend class TestQgsServerQueryStringParameter;
The QgsServerApiContext class encapsulates the resources for a particular client request: the request...