59 String = QMetaType::Type::QString,
60 Integer = QMetaType::Type::LongLong,
61 Double = QMetaType::Type::Double,
62 Boolean = QMetaType::Type::Bool,
63 List = QMetaType::Type::QStringList,
109 void setCustomValidator(
const customValidator &customValidator );
121 QString description()
const;
126 static QString typeName(
const Type type );
131 QString name()
const;
136 void setDescription(
const QString &description );
153 void setHidden(
bool hidden );
157 bool mRequired =
false;
158 Type mType = Type::String;
159 customValidator mCustomValidator =
nullptr;
160 QString mDescription;
161 QVariant mDefaultValue;
162 bool mHidden =
false;
Encapsulates the resources for a particular client request.
QgsServerQueryStringParameter(const QString name, bool required=false, Type type=QgsServerQueryStringParameter::Type::String, const QString &description=QString(), const QVariant &defaultValue=QVariant())
Constructs a QgsServerQueryStringParameter object.