/*- * ============LICENSE_START======================================================= * 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. * See the License for the specific language governing permissions and * limitations under the License. * ============LICENSE_END========================================================= */ package org.onap.so.adapters.vnfrest; import java.util.HashMap; import java.util.Map; import javax.xml.bind.annotation.XmlRootElement; import org.onap.so.entity.MsoRequest; import com.fasterxml.jackson.annotation.JsonRootName; @JsonRootName("createVolumeGroupRequest") @XmlRootElement(name = "createVolumeGroupRequest") public class CreateVolumeGroupRequest extends VfRequestCommon { private String cloudSiteId; private String tenantId; private String volumeGroupName; private String volumeGroupId; private String vnfType; private String vnfVersion; private String vfModuleType; private String modelCustomizationUuid; private Map volumeGroupParams = new HashMap<>(); private Boolean failIfExists; private Boolean enableBridge; private Boolean suppressBackout; private MsoRequest msoRequest = new MsoRequest(); public CreateVolumeGroupRequest() { super(); } public String getCloudSiteId() { return cloudSiteId; } public void setCloudSiteId(String cloudSiteId) { this.cloudSiteId = cloudSiteId; } public String getTenantId() { return tenantId; } public void setTenantId(String tenantId) { this.tenantId = tenantId; } public String getVnfType() { return vnfType; } public void setVnfType(String vnfType) { this.vnfType = vnfType; } public String getVnfVersion() { return vnfVersion; } public void setVnfVersion(String vnfVersion) { this.vnfVersion = vnfVersion; } public String getVfModuleType() { return vfModuleType; } public void setVfModuleType(String vfModuleType) { this.vfModuleType = vfModuleType; } public Map getVolumeGroupParams() { return volumeGroupParams; } public void setVolumeGroupParams(Map volumeGroupParams) { this.volumeGroupParams = volumeGroupParams; } public String getVolumeGroupName() { return volumeGroupName; } public void setVolumeGroupName(String volumeGroupName) { this.volumeGroupName = volumeGroupName; } public String getVolumeGroupId() { return volumeGroupId; } public String getModelCustomizationUuid() { return this.modelCustomizationUuid; } public void setModelCustomizationUuid(String modelCustomizationUuid) { this.modelCustomizationUuid = modelCustomizationUuid; } public void setVolumeGroupId(String volumeGroupId) { this.volumeGroupId = volumeGroupId; } public Boolean getFailIfExists() { return failIfExists; } public void setFailIfExists(Boolean failIfExists) { this.failIfExists = failIfExists; } public Boolean getSuppressBackout() { return suppressBackout; } public void setSuppressBackout(Boolean suppressBackout) { this.suppressBackout = suppressBackout; } public MsoRequest getMsoRequest() { return msoRequest; } public void setMsoRequest(MsoRequest msoRequest) { this.msoRequest = msoRequest; } public Boolean getEnableBridge() { return enableBridge; } public void setEnableBridge(Boolean enableBridge) { this.enableBridge = enableBridge; } }