Add AaiSerializer
[dcaegen2/analytics/tca-gen2.git] / dcae-analytics / dcae-analytics-tca-model / src / main / java / org / onap / dcae / analytics / tca / model / facade / Aai.java
1 /*
2  * ==================================================================================
3  * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
4  * Copyright (C) 2021 Samsung Electronics Intellectual Property. All rights reserved.
5  * ==================================================================================
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  *      http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  * ============LICENSE_END===========================================================
18  *
19  */
20
21 package org.onap.dcae.analytics.tca.model.facade;
22
23 import com.fasterxml.jackson.databind.annotation.JsonSerialize;
24 import lombok.Data;
25 import lombok.EqualsAndHashCode;
26 import org.onap.dcae.analytics.model.common.BaseDynamicPropertiesProvider;
27 import org.onap.dcae.analytics.tca.model.util.json.serializer.AaiSerializer;
28
29 /**
30  * @author Rajiv Singla
31  */
32 @Data
33 @EqualsAndHashCode(callSuper = true)
34 @JsonSerialize(using = AaiSerializer.class)
35 public class Aai extends BaseDynamicPropertiesProvider implements TcaFacadeModel {
36
37     private static final long serialVersionUID = 1L;
38
39     private String genericVNFName;
40
41     private String genericServerName;
42
43 }