/// <summary> /// XML fragment representation of this object /// </summary> /// <returns>XML fragment for this object.</returns> /// <remarks> /// Name for outer tag expected to be set by calling method. /// This fragment returns inner properties representation only /// </remarks> protected internal String ToXMLFragment() { StringBuilder xml = new StringBuilder(); if (IsSetReportRequestInfo()) { ReportRequestInfo reportRequestInfo = this.ReportRequestInfo; xml.Append("<ReportRequestInfo>"); xml.Append(reportRequestInfo.ToXMLFragment()); xml.Append("</ReportRequestInfo>"); } return(xml.ToString()); }
/// <summary> /// Sets the ReportRequestInfo property /// </summary> /// <param name="reportRequestInfo">ReportRequestInfo property</param> /// <returns>this instance</returns> public RequestReportResult WithReportRequestInfo(ReportRequestInfo reportRequestInfo) { this.reportRequestInfoField = reportRequestInfo; return this; }
/// <summary> /// Sets the ReportRequestInfo property /// </summary> /// <param name="reportRequestInfo">ReportRequestInfo property</param> /// <returns>this instance</returns> public RequestReportResult WithReportRequestInfo(ReportRequestInfo reportRequestInfo) { this.reportRequestInfoField = reportRequestInfo; return(this); }