示例#1
0
        /// <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 (IsSetFeedSubmissionInfo())
            {
                FeedSubmissionInfo feedSubmissionInfo = this.FeedSubmissionInfo;
                xml.Append("<FeedSubmissionInfo>");
                xml.Append(feedSubmissionInfo.ToXMLFragment());
                xml.Append("</FeedSubmissionInfo>");
            }
            return(xml.ToString());
        }
示例#2
0
 /// <summary>
 /// Sets the FeedSubmissionInfo property
 /// </summary>
 /// <param name="feedSubmissionInfo">FeedSubmissionInfo property</param>
 /// <returns>this instance</returns>
 public SubmitFeedResult WithFeedSubmissionInfo(FeedSubmissionInfo feedSubmissionInfo)
 {
     this.feedSubmissionInfoField = feedSubmissionInfo;
     return(this);
 }