AT&T 1712 and 1802 release code
[so.git] / common / src / main / java / org / openecomp / mso / client / policy / entities / DictionaryJson.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
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
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.mso.client.policy.entities;\r
22 \r
23 import java.util.ArrayList;\r
24 import java.util.List;\r
25 import com.fasterxml.jackson.annotation.JsonInclude;\r
26 import com.fasterxml.jackson.annotation.JsonProperty;\r
27 import com.fasterxml.jackson.annotation.JsonPropertyOrder;\r
28 \r
29 @JsonInclude(JsonInclude.Include.NON_NULL)\r
30 @JsonPropertyOrder({\r
31 "DictionaryDatas"\r
32 })\r
33 public class DictionaryJson {\r
34 \r
35 @JsonProperty("DictionaryDatas")\r
36 private List<DictionaryData> dictionaryDatas = new ArrayList<DictionaryData>();\r
37 \r
38 @JsonProperty("DictionaryDatas")\r
39 public List<DictionaryData> getDictionaryDatas() {\r
40 return dictionaryDatas;\r
41  }\r
42 \r
43 @JsonProperty("DictionaryDatas")\r
44 public void setDictionaryDatas(List<DictionaryData> dictionaryDatas) {\r
45 this.dictionaryDatas = dictionaryDatas;\r
46  }\r
47 \r
48 public DictionaryJson withDictionaryDatas(List<DictionaryData> dictionaryDatas) {\r
49 this.dictionaryDatas = dictionaryDatas;\r
50 return this;\r
51  }\r
52 \r
53 }