diff --git a/src/Appwrite/Utopia/Response.php b/src/Appwrite/Utopia/Response.php index 06c9375d0f..3a890f9a5c 100644 --- a/src/Appwrite/Utopia/Response.php +++ b/src/Appwrite/Utopia/Response.php @@ -79,6 +79,7 @@ class Response extends SwooleResponse const MODEL_ATTRIBUTE_STRING = 'attributeString'; const MODEL_ATTRIBUTE_INTEGER= 'attributeInteger'; const MODEL_ATTRIBUTE_FLOAT= 'attributeFloat'; + const MODEL_ATTRIBUTE_BOOLEAN= 'attributeBoolean'; const MODEL_ATTRIBUTE_EMAIL= 'attributeEmail'; const MODEL_ATTRIBUTE_IP= 'attributeIp'; const MODEL_ATTRIBUTE_URL= 'attributeUrl'; diff --git a/src/Appwrite/Utopia/Response/Model/AttributeBoolean.php b/src/Appwrite/Utopia/Response/Model/AttributeBoolean.php new file mode 100644 index 0000000000..70c089e511 --- /dev/null +++ b/src/Appwrite/Utopia/Response/Model/AttributeBoolean.php @@ -0,0 +1,35 @@ +