Esempio n. 1
0
        /// <summary>
        /// XML Representation for this object
        /// </summary>
        /// <returns>XML String</returns>

        public String ToXML()
        {
            StringBuilder xml = new StringBuilder();

            xml.Append("<GetFeedSubmissionListResponse xmlns=\"http://mws.amazonaws.com/doc/2009-01-01/\">");
            if (IsSetGetFeedSubmissionListResult())
            {
                GetFeedSubmissionListResult getFeedSubmissionListResult = this.GetFeedSubmissionListResult;
                xml.Append("<GetFeedSubmissionListResult>");
                xml.Append(getFeedSubmissionListResult.ToXMLFragment());
                xml.Append("</GetFeedSubmissionListResult>");
            }
            if (IsSetResponseMetadata())
            {
                ResponseMetadata responseMetadata = this.ResponseMetadata;
                xml.Append("<ResponseMetadata>");
                xml.Append(responseMetadata.ToXMLFragment());
                xml.Append("</ResponseMetadata>");
            }
            xml.Append("</GetFeedSubmissionListResponse>");
            return(xml.ToString());
        }
Esempio n. 2
0
 /// <summary>
 /// Sets the GetFeedSubmissionListResult property
 /// </summary>
 /// <param name="getFeedSubmissionListResult">GetFeedSubmissionListResult property</param>
 /// <returns>this instance</returns>
 public GetFeedSubmissionListResponse WithGetFeedSubmissionListResult(GetFeedSubmissionListResult getFeedSubmissionListResult)
 {
     this.getFeedSubmissionListResultField = getFeedSubmissionListResult;
     return(this);
 }