/// <summary>
        /// Executes this request.
        /// </summary>
        /// <returns>Service response.</returns>
        internal async Task <GetPeopleInsightsResponse> Execute()
        {
            GetPeopleInsightsResponse serviceResponse = (GetPeopleInsightsResponse)await this.InternalExecuteAsync().ConfigureAwait(false);

            serviceResponse.ThrowIfNecessary();
            return(serviceResponse);
        }
        /// <summary>
        /// Executes this request.
        /// </summary>
        /// <returns>Service response.</returns>
        internal GetPeopleInsightsResponse Execute()
        {
            GetPeopleInsightsResponse serviceResponse = (GetPeopleInsightsResponse)this.InternalExecute();

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

            response.LoadFromXml(reader, XmlElementNames.GetPeopleInsightsResponse);
            return(response);
        }
 /// <summary>
 /// Parses the response.
 /// </summary>
 /// <param name="reader">The reader.</param>
 /// <returns>Response object.</returns>
 internal override object ParseResponse(EwsServiceXmlReader reader)
 {
     GetPeopleInsightsResponse response = new GetPeopleInsightsResponse();
     response.LoadFromXml(reader, XmlElementNames.GetPeopleInsightsResponse);
     return response;
 }