added in fix to use old volume group name for
[so.git] / bpmn / so-bpmn-tasks / src / main / java / org / onap / so / client / sniro / beans / Candidate.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.so.client.sniro.beans;
22
23 import java.io.Serializable;
24 import java.util.List;
25 import org.onap.so.bpmn.servicedecomposition.homingobjects.CandidateType;
26 import com.fasterxml.jackson.annotation.JsonProperty;
27
28 public class Candidate implements Serializable {
29
30     private static final long serialVersionUID = -5474502255533410907L;
31
32     @JsonProperty("identifierType")
33     private CandidateType identifierType;
34     @JsonProperty("identifiers")
35     private List<String> identifiers;
36     @JsonProperty("cloudOwner")
37     private String cloudOwner;
38
39     public Candidate() {}
40
41     public Candidate(CandidateType identifierType, List<String> identifiers, String cloudOwner) {
42         this.identifierType = identifierType;
43         this.identifiers = identifiers;
44         this.cloudOwner = cloudOwner;
45     }
46
47     public CandidateType getIdentifierType() {
48         return identifierType;
49     }
50
51     public void setIdentifierType(CandidateType identifierType) {
52         this.identifierType = identifierType;
53     }
54
55     public List<String> getIdentifiers() {
56         return identifiers;
57     }
58
59     public void setIdentifiers(List<String> identifiers) {
60         this.identifiers = identifiers;
61     }
62
63     public String getCloudOwner() {
64         return cloudOwner;
65     }
66
67     public void setCloudOwner(String cloudOwner) {
68         this.cloudOwner = cloudOwner;
69     }
70
71 }