/// <summary>
        /// XML Representation for this object
        /// </summary>
        /// <returns>XML String</returns>

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

            xml.Append("<ListInventorySupplyResponse xmlns=\"http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/\">");
            if (IsSetListInventorySupplyResult())
            {
                ListInventorySupplyResult listInventorySupplyResult = this.ListInventorySupplyResult;
                xml.Append("<ListInventorySupplyResult>");
                xml.Append(listInventorySupplyResult.ToXMLFragment());
                xml.Append("</ListInventorySupplyResult>");
            }
            if (IsSetResponseMetadata())
            {
                ResponseMetadata responseMetadata = this.ResponseMetadata;
                xml.Append("<ResponseMetadata>");
                xml.Append(responseMetadata.ToXMLFragment());
                xml.Append("</ResponseMetadata>");
            }
            xml.Append("</ListInventorySupplyResponse>");
            return(xml.ToString());
        }