From: Thugutla sailakshmi Date: Tue, 13 Aug 2019 11:12:14 +0000 (+0530) Subject: Move this variable to comply with Java Code Conventions X-Git-Tag: 5.0.1~42^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F08%2F93408%2F1;p=vid.git Move this variable to comply with Java Code Conventions move the variable to comply with java code convenrions Issue-ID: VID-561 Change-Id: I11a671d8be20429c3e53fd98d54330b982564f93 Signed-off-by: Thugutla sailakshmi --- diff --git a/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetNetworkCollectionDetails/Vlan.java b/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetNetworkCollectionDetails/Vlan.java index 8d19ad4a7..008f916ca 100644 --- a/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetNetworkCollectionDetails/Vlan.java +++ b/vid-app-common/src/main/java/org/onap/vid/aai/model/AaiGetNetworkCollectionDetails/Vlan.java @@ -3,6 +3,7 @@ * VID * ================================================================================ * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2019 IBM. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,7 +27,16 @@ import org.onap.vid.aai.model.interfaces.AaiModelWithRelationships; @JsonIgnoreProperties(ignoreUnknown = true) public class Vlan implements AaiModelWithRelationships { + + @JsonProperty("vlan-interface") + private final String vlanInterface; + @JsonProperty("vlan-id-inner") + private final String vlanIdInner; + + @JsonProperty("relationship-list") + public final RelationshipList relationshipList; + public Vlan( @JsonProperty("vlan-interface") String vlanInterface, @JsonProperty("vlan-id-inner") String vlanIdInner, @@ -36,14 +46,7 @@ public class Vlan implements AaiModelWithRelationships { this.relationshipList = relationshipList; } - @JsonProperty("vlan-interface") - private final String vlanInterface; - - @JsonProperty("vlan-id-inner") - private final String vlanIdInner; - - @JsonProperty("relationship-list") - public final RelationshipList relationshipList; + public String getVlanInterface() { return vlanInterface;