7b16a2f3ebfc9fec29cf2b5af26aa1f8e62f9924
[optf/cmso.git] /
1 /*******************************************************************************
2  *
3  * Copyright © 2019 AT&T Intellectual Property.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
6  * in compliance with the License. You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software distributed under the License
11  * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12  * or implied. See the License for the specific language governing permissions and limitations under
13  * the License.
14  *
15  *
16  * Unless otherwise specified, all documentation contained herein is licensed under the Creative
17  * Commons License, Attribution 4.0 Intl. (the "License"); you may not use this documentation except
18  * in compliance with the License. You may obtain a copy of the License at
19  *
20  * https://creativecommons.org/licenses/by/4.0/
21  *
22  * Unless required by applicable law or agreed to in writing, documentation distributed under the
23  * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
24  * express or implied. See the License for the specific language governing permissions and
25  * limitations under the License.
26  ******************************************************************************/
27
28 package org.onap.optf.cmso.optimizer.clients.common.models;
29
30 import io.swagger.annotations.ApiModel;
31 import io.swagger.annotations.ApiModelProperty;
32 import java.io.Serializable;
33 import java.util.ArrayList;
34 import java.util.List;
35 import org.onap.optf.cmso.optimizer.service.rs.models.NameValue;
36
37 @ApiModel(value = "Element Critera", description = "Element criteria for retrieving topology.")
38 public class ElementCriteria implements Serializable {
39     private static final long serialVersionUID = 1L;
40
41     @ApiModelProperty(value = "Element id unique to the request.")
42     private String elementId;
43
44     @ApiModelProperty(value = "Implementation specific element data.")
45     public List<NameValue> elementData = new ArrayList<>();
46
47     public String getElementId() {
48         return elementId;
49     }
50
51     public void setElementId(String elementId) {
52         this.elementId = elementId;
53     }
54
55     public List<NameValue> getElementData() {
56         return elementData;
57     }
58
59     public void setElementData(List<NameValue> elementData) {
60         this.elementData = elementData;
61     }
62
63 }