
## GraphQueryBuilder class

Represents the builder of search expression based on search filters that used by MS Graph protocol.

The GraphQueryBuilder type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|GraphQueryBuilder()|Initializes a new instance of the [GraphQueryBuilder](/email/python-net/aspose.email.clients.graph/graphquerybuilder/) class.|
## Properties
| Name | Description |
| :- | :- |
|to|Gets the field that allows to find messages that contain the specified string in the envelope structure's TO field.|
|text|Gets the field that allows to find the messages that contain the specified string in the headers (subject, from, to, cc) and body of the message.|
|bcc|Gets the field that allows to find messages that contain the specified string in the envelope structure's BCC field.|
|body|Gets the field that allows to find messages that contain the specified string in the body of the message.|
|cc|Gets the field that allows to find messages that contain the specified string in the envelope structure's CC field.|
|from_address|Gets the field that allows to find messages that contain the specified string in the envelope structure's FROM field.|
|subject|Gets the field that allows to find messages that contain the specified string in the envelope structure's SUBJECT field.|
|default_encoding|Gets default encoding (charset) for query builder|
|internal_date|Gets the field that allows to find messages by internal date.|
|sent_date|Gets the field that allows to find messages by sent date.|
|is_read|Gets the field that allows to find unread items.|
## Methods
| Name | Description |
| :- | :- |
|either(query1, query2)|  |
|get_query()|  |

### See Also

* namespace [aspose.email.clients.graph](/email/python-net/aspose.email.clients.graph/)
* assembly [Aspose.Email](/email/python-net/)

