/// <summary> /// XML Representation for this object /// </summary> /// <returns>XML String</returns> public String ToXML() { StringBuilder xml = new StringBuilder(); xml.Append("<CancelFeedSubmissionsResponse xmlns=\"http://mws.amazonaws.com/doc/2009-01-01/\">"); if (IsSetCancelFeedSubmissionsResult()) { CancelFeedSubmissionsResult cancelFeedSubmissionsResult = this.CancelFeedSubmissionsResult; xml.Append("<CancelFeedSubmissionsResult>"); xml.Append(cancelFeedSubmissionsResult.ToXMLFragment()); xml.Append("</CancelFeedSubmissionsResult>"); } if (IsSetResponseMetadata()) { ResponseMetadata responseMetadata = this.ResponseMetadata; xml.Append("<ResponseMetadata>"); xml.Append(responseMetadata.ToXMLFragment()); xml.Append("</ResponseMetadata>"); } xml.Append("</CancelFeedSubmissionsResponse>"); return(xml.ToString()); }
/// <summary> /// XML Representation for this object /// </summary> /// <returns>XML String</returns> public String ToXML() { StringBuilder xml = new StringBuilder(); xml.Append("<GetReportListResponse xmlns=\"http://mws.amazonaws.com/doc/2009-01-01/\">"); if (IsSetGetReportListResult()) { GetReportListResult getReportListResult = this.GetReportListResult; xml.Append("<GetReportListResult>"); xml.Append(getReportListResult.ToXMLFragment()); xml.Append("</GetReportListResult>"); } if (IsSetResponseMetadata()) { ResponseMetadata responseMetadata = this.ResponseMetadata; xml.Append("<ResponseMetadata>"); xml.Append(responseMetadata.ToXMLFragment()); xml.Append("</ResponseMetadata>"); } xml.Append("</GetReportListResponse>"); return(xml.ToString()); }
/// <summary> /// XML Representation for this object /// </summary> /// <returns>XML String</returns> public String ToXML() { StringBuilder xml = new StringBuilder(); xml.Append("<UpdateReportAcknowledgementsResponse xmlns=\"http://mws.amazonaws.com/doc/2009-01-01/\">"); if (IsSetUpdateReportAcknowledgementsResult()) { UpdateReportAcknowledgementsResult updateReportAcknowledgementsResult = this.UpdateReportAcknowledgementsResult; xml.Append("<UpdateReportAcknowledgementsResult>"); xml.Append(updateReportAcknowledgementsResult.ToXMLFragment()); xml.Append("</UpdateReportAcknowledgementsResult>"); } if (IsSetResponseMetadata()) { ResponseMetadata responseMetadata = this.ResponseMetadata; xml.Append("<ResponseMetadata>"); xml.Append(responseMetadata.ToXMLFragment()); xml.Append("</ResponseMetadata>"); } xml.Append("</UpdateReportAcknowledgementsResponse>"); return(xml.ToString()); }