62 String = QMetaType::Type::QString,
63 Integer = QMetaType::Type::LongLong,
64 Double = QMetaType::Type::Double,
65 Boolean = QMetaType::Type::Bool,
66 List = QMetaType::Type::QStringList,
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...