コード例 #1
0
        /// <summary>
        /// XML Representation for this object
        /// </summary>
        /// <returns>XML String</returns>

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

            xml.Append("<GetFeedSubmissionCountResponse xmlns=\"http://mws.amazonaws.com/doc/2009-01-01/\">");
            if (IsSetGetFeedSubmissionCountResult())
            {
                GetFeedSubmissionCountResult getFeedSubmissionCountResult = this.GetFeedSubmissionCountResult;
                xml.Append("<GetFeedSubmissionCountResult>");
                xml.Append(getFeedSubmissionCountResult.ToXMLFragment());
                xml.Append("</GetFeedSubmissionCountResult>");
            }
            if (IsSetResponseMetadata())
            {
                ResponseMetadata responseMetadata = this.ResponseMetadata;
                xml.Append("<ResponseMetadata>");
                xml.Append(responseMetadata.ToXMLFragment());
                xml.Append("</ResponseMetadata>");
            }
            xml.Append("</GetFeedSubmissionCountResponse>");
            return(xml.ToString());
        }
コード例 #2
0
 /// <summary>
 /// Sets the GetFeedSubmissionCountResult property
 /// </summary>
 /// <param name="getFeedSubmissionCountResult">GetFeedSubmissionCountResult property</param>
 /// <returns>this instance</returns>
 public GetFeedSubmissionCountResponse WithGetFeedSubmissionCountResult(GetFeedSubmissionCountResult getFeedSubmissionCountResult)
 {
     this.getFeedSubmissionCountResultField = getFeedSubmissionCountResult;
     return(this);
 }