[banshee/amazon] Fix the Amazon.ECS API to allow setting the RelationshipType in a ItemSearchRequest



commit c455756c46545c0777455da313d7be59822c7456
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Fri May 8 16:41:30 2009 -0500

    Fix the Amazon.ECS API to allow setting the RelationshipType in a ItemSearchRequest
---
 .../Amazon.ECS/Model/ItemSearchRequest.cs          |   26 ++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/src/Libraries/amazon-ecs-2007-07-16-cs-library/src/Amazon.ECS/Amazon.ECS/Model/ItemSearchRequest.cs b/src/Libraries/amazon-ecs-2007-07-16-cs-library/src/Amazon.ECS/Amazon.ECS/Model/ItemSearchRequest.cs
index 1530a9f..7a717c7 100644
--- a/src/Libraries/amazon-ecs-2007-07-16-cs-library/src/Amazon.ECS/Amazon.ECS/Model/ItemSearchRequest.cs
+++ b/src/Libraries/amazon-ecs-2007-07-16-cs-library/src/Amazon.ECS/Amazon.ECS/Model/ItemSearchRequest.cs
@@ -112,6 +112,8 @@ namespace Amazon.ECS.Model
 
         private String releaseDateField;
 
+        private String relationshipType;
+
 
         /// <summary>
         /// Gets and sets the Actor property.
@@ -1574,6 +1576,25 @@ namespace Amazon.ECS.Model
 
         }
 
+        [XmlElementAttribute(ElementName = "RelationshipType")]
+        public String RelationshipType
+        {
+            get { return this.relationshipType ; }
+            set { this.relationshipType= value; }
+        }
+
+        public ItemLookupRequest WithRelationshipType(String relationshipType)
+        {
+            this.relationshipType = relationshipType;
+            return this;
+        }
+
+        public Boolean IsSetRelationshipType()
+        {
+            return  this.relationshipType != null;
+
+        }
+
 
 
 
@@ -1735,6 +1756,11 @@ namespace Amazon.ECS.Model
                 xml.Append(EscapeXML(this.Publisher));
                 xml.Append("</Publisher>");
             }
+            if (IsSetRelationshipType ()) {
+                xml.Append("<RelationshipType>");
+                xml.Append(this.relationshipType);
+                xml.Append("</RelationshipType>");
+            }
             List<String> responseGroupList  =  this.ResponseGroup;
             foreach (String responseGroup in responseGroupList) { 
                 xml.Append("<ResponseGroup>");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]