97eca6529ad6c2658cbbd7326229300437421545
[vfc/nfvo/catalog.git] /
1 /**\r
2  *     Copyright (C) 2016 ZTE, Inc. and others. All rights reserved. (ZTE)\r
3  *\r
4  *     Licensed under the Apache License, Version 2.0 (the "License");\r
5  *     you may not use this file except in compliance with the License.\r
6  *     You may obtain a copy of the License at\r
7  *\r
8  *             http://www.apache.org/licenses/LICENSE-2.0\r
9  *\r
10  *     Unless required by applicable law or agreed to in writing, software\r
11  *     distributed under the License is distributed on an "AS IS" BASIS,\r
12  *     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13  *     See the License for the specific language governing permissions and\r
14  *     limitations under the License.\r
15  */\r
16 package org.openo.orchestrator.nfv.catalog.model.parser.yaml.entity;\r
17 \r
18 import java.util.List;\r
19 \r
20 public class ParseYamlRequestParemeter {\r
21     private String path = "E:\\NFVO\\130. yaml2xml\\0. tosca-parser\\sample\\ag-vnfd-floatingIp.zip";\r
22     \r
23     private List<Extension> extensionList;\r
24     \r
25     public String getPath() {\r
26         return path;\r
27     }\r
28 \r
29     public void setPath(String path) {\r
30         this.path = path;\r
31     }\r
32 \r
33     public List<Extension> getExtensionList() {\r
34         return extensionList;\r
35     }\r
36 \r
37     public void setExtensionList(List<Extension> extensionList) {\r
38         this.extensionList = extensionList;\r
39     }\r
40 \r
41     public Extension createExtension(){\r
42         return new Extension();\r
43     }\r
44     \r
45     public class Extension {\r
46         private String name;\r
47         private String value;\r
48         public String getName() {\r
49             return name;\r
50         }\r
51         public void setName(String name) {\r
52             this.name = name;\r
53         }\r
54         public String getValue() {\r
55             return value;\r
56         }\r
57         public void setValue(String value) {\r
58             this.value = value;\r
59         }\r
60     }\r
61 }\r