Added oparent to sdc main
[sdc.git] / test-apis-ci / src / main / java / org / openecomp / sdc / ci / tests / datatypes / LicensingData.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 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.openecomp.sdc.ci.tests.datatypes;
22 import java.util.List;
23
24 public class LicensingData {
25     private String licenseAgreement;
26     private List<String> featureGroups = null;
27
28     public LicensingData() {
29     }
30
31     public LicensingData(String licenseAgreement, List<String> featureGroups) {
32         this.licenseAgreement = licenseAgreement;
33         this.featureGroups = featureGroups;
34     }
35
36     public String getLicenseAgreement() {
37         return licenseAgreement;
38     }
39
40     public void setLicenseAgreement(String licenseAgreement) {
41         this.licenseAgreement = licenseAgreement;
42     }
43
44     public List<String> getFeatureGroups() {
45         return featureGroups;
46     }
47
48     public void setFeatureGroups(List<String> featureGroups) {
49         this.featureGroups = featureGroups;
50     }
51
52     @Override
53     public String toString() {
54         return "LicensingData{" +
55                 "licenseAgreement='" + licenseAgreement + '\'' +
56                 ", featureGroups=" + featureGroups +
57                 '}';
58     }
59 }