Merge "Add debugging of REST call"
[policy/drools-applications.git] / controlloop / common / model-impl / aai / src / main / java / org / onap / policy / aai / RelatedToProperty.java
index 2f8acf6..ca126d1 100644 (file)
@@ -1,8 +1,8 @@
-/*-
+/*
  * ============LICENSE_START=======================================================
  * aai
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 
 package org.onap.policy.aai;
 
-import java.io.Serializable;
-import java.util.LinkedList;
-import java.util.List;
-
 import com.google.gson.annotations.SerializedName;
 
+import java.io.Serializable;
+
 public class RelatedToProperty implements Serializable {
-  
-       /**
-        * 
-        */
-       private static final long serialVersionUID = 2088088164920423658L;
-       @SerializedName("related-to-property")
-       public List<RelatedToPropertyItem> relatedTo = new LinkedList<RelatedToPropertyItem>();
-
-       public RelatedToProperty() {
-       }
-}
+    private static final long serialVersionUID = 5644372985092588638L;
 
\ No newline at end of file
+    @SerializedName("property-key")
+    private String propertyKey;
+    @SerializedName("property-value")
+    private String propertyValue;
+
+    public String getPropertyKey() {
+        return propertyKey;
+    }
+
+    public String getPropertyValue() {
+        return propertyValue;
+    }
+
+    public void setPropertyKey(String propertyKey) {
+        this.propertyKey = propertyKey;
+    }
+
+    public void setPropertyValue(String propertyValue) {
+        this.propertyValue = propertyValue;
+    }
+}