2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.openecomp.sdcrests.vendorlicense.types;
23 import org.openecomp.sdc.vendorlicense.dao.types.LicenseKeyType;
24 import org.openecomp.sdc.vendorlicense.dao.types.OperationalScope;
26 import javax.validation.Valid;
27 import javax.validation.constraints.NotNull;
28 import javax.validation.constraints.Size;
30 public class LicenseKeyGroupRequestDto {
36 private String description;
38 private LicenseKeyType type;
41 private MultiChoiceOrOtherDto<OperationalScope> operationalScope;
43 public String getName() {
47 public void setName(String name) {
51 public String getDescription() {
55 public void setDescription(String description) {
56 this.description = description;
59 public LicenseKeyType getType() {
63 public void setType(LicenseKeyType type) {
67 public MultiChoiceOrOtherDto<OperationalScope> getOperationalScope() {
68 return operationalScope;
71 public void setOperationalScope(MultiChoiceOrOtherDto<OperationalScope> operationalScope) {
72 this.operationalScope = operationalScope;