7f019bcf40d0c20c1f701c9f55d7e3aa3e9cfd46
[so.git] /
1 /***
2  * Copyright (C) 2019 Verizon. All Rights Reserved Licensed under the Apache License, Version 2.0 (the "License"); you
3  * may not use this file except in compliance with the License. You may obtain a copy of the License at
4  *
5  * http://www.apache.org/licenses/LICENSE-2.0
6  *
7  * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
8  * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
9  * specific language governing permissions and limitations under the License.
10  */
11
12 package org.onap.so.adapters.vfc.model;
13
14 import java.util.List;
15
16 public class AffinityOrAntiAffinityRule {
17     private String vnfdId;
18     private List<String> vnfProfileId;
19     private List<String> vnfInstanceId;
20
21     private enum affinityOrAntiAffiinty {
22         AFFINITY, ANTI_AFFIINTY
23     };
24     private enum scope {
25         NFVI_POP, ZONE, ZONE_GROUP, NFVI_NODE
26     };
27
28     public String getVnfdId() {
29         return vnfdId;
30     }
31
32     public void setVnfdId(String vnfdId) {
33         this.vnfdId = vnfdId;
34     }
35
36     public List<String> getVnfProfileId() {
37         return vnfProfileId;
38     }
39
40     public void setVnfProfileId(List<String> vnfProfileId) {
41         this.vnfProfileId = vnfProfileId;
42     }
43
44     public List<String> getVnfInstanceId() {
45         return vnfInstanceId;
46     }
47
48     public void setVnfInstanceId(List<String> vnfInstanceId) {
49         this.vnfInstanceId = vnfInstanceId;
50     }
51 }