/// <summary>
        /// Parses the response.
        /// </summary>
        /// <param name="reader">The reader.</param>
        /// <returns>Response object.</returns>
        internal override object ParseResponse(EwsServiceXmlReader reader)
        {
            GetInboxRulesResponse response = new GetInboxRulesResponse();

            response.LoadFromXml(reader, XmlElementNames.GetInboxRulesResponse);
            return(response);
        }
        /// <summary>
        /// Executes this request.
        /// </summary>
        /// <returns>Service response.</returns>
        internal async Task <GetInboxRulesResponse> Execute(CancellationToken token)
        {
            GetInboxRulesResponse serviceResponse = (GetInboxRulesResponse)await this.InternalExecuteAsync(token).ConfigureAwait(false);

            serviceResponse.ThrowIfNecessary();
            return(serviceResponse);
        }