Merge "Remove unneeded param type definition"
[so.git] / adapters / mso-adapters-rest-interface / src / main / java / org / openecomp / mso / adapters / vnfrest / UpdateVolumeGroupRequest.java
index 50c60b3..983e816 100644 (file)
@@ -1,15 +1,15 @@
 /*-
  * ============LICENSE_START=======================================================
- * OPENECOMP - MSO
+ * ONAP - SO
  * ================================================================================
  * Copyright (C) 2017 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.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -26,14 +26,12 @@ import java.util.Map;
 
 import javax.xml.bind.annotation.XmlRootElement;
 
-import org.codehaus.jackson.map.annotate.JsonRootName;
-import org.jboss.resteasy.annotations.providers.NoJackson;
-
 import org.openecomp.mso.entity.MsoRequest;
 
+import com.fasterxml.jackson.annotation.JsonRootName;
+
 @JsonRootName("updateVolumeGroupRequest")
 @XmlRootElement(name = "updateVolumeGroupRequest")
-@NoJackson
 public class UpdateVolumeGroupRequest extends VfRequestCommon {
        private String cloudSiteId;
        private String tenantId;
@@ -42,7 +40,8 @@ public class UpdateVolumeGroupRequest extends VfRequestCommon {
        private String vnfType;
        private String vnfVersion;
        private String vfModuleType;
-       private Map<String,String> volumeGroupParams = new HashMap<String, String>();
+       private String modelCustomizationUuid;
+       private Map<String,String> volumeGroupParams = new HashMap<>();
        private MsoRequest msoRequest = new MsoRequest();
 
        public UpdateVolumeGroupRequest() {
@@ -105,6 +104,14 @@ public class UpdateVolumeGroupRequest extends VfRequestCommon {
                this.vfModuleType = vfModuleType;
        }
 
+       public String getModelCustomizationUuid() {
+               return this.modelCustomizationUuid;
+       }
+
+       public void setModelCustomizationUuid(String modelCustomizationUuid) {
+               this.modelCustomizationUuid = modelCustomizationUuid;
+       }
+
        public Map<String, String> getVolumeGroupParams() {
                return volumeGroupParams;
        }