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,
107 void setCustomValidator(
const customValidator &customValidator );
119 QString description()
const;
124 static QString typeName(
const Type type );
129 QString name()
const;
134 void setDescription(
const QString &description );
151 void setHidden(
bool hidden );
155 bool mRequired =
false;
156 Type mType = Type::String;
157 customValidator mCustomValidator =
nullptr;
158 QString mDescription;
159 QVariant mDefaultValue;
160 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.