From 54dea77c944614cd7a67a096a141f6edbfbeae2d Mon Sep 17 00:00:00 2001 From: Benjamin Reed Date: Fri, 23 Feb 2024 13:03:58 -0500 Subject: [PATCH] ayfkm? --- .../velocloud/client/v1/VelocloudApiCustomerClientV1.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/v1/src/main/java/org/opennms/velocloud/client/v1/VelocloudApiCustomerClientV1.java b/client/v1/src/main/java/org/opennms/velocloud/client/v1/VelocloudApiCustomerClientV1.java index 51cc6b8..e010b6b 100644 --- a/client/v1/src/main/java/org/opennms/velocloud/client/v1/VelocloudApiCustomerClientV1.java +++ b/client/v1/src/main/java/org/opennms/velocloud/client/v1/VelocloudApiCustomerClientV1.java @@ -394,9 +394,9 @@ public Optional getTunnelState(final String dataKey) throws VelocloudApi .withId(tunnel.getId()) .withDataKey(tunnel.getDataKey()) .withState(tunnel.getState().getValue()) - .withLink(tunnel.getData().getLink()) - .withName(tunnel.getData().getName()) - .withDestination(tunnel.getData().getDestination() != null ? tunnel.getData().getDestination().toLowerCase() : null) + .withLink(tunnel.getMonitoringGetEnterpriseEdgeNvsTunnelStatusResultItemData().getLink()) + .withName(tunnel.getMonitoringGetEnterpriseEdgeNvsTunnelStatusResultItemData().getName()) + .withDestination(tunnel.getMonitoringGetEnterpriseEdgeNvsTunnelStatusResultItemData().getDestination() != null ? tunnel.getMonitoringGetEnterpriseEdgeNvsTunnelStatusResultItemData().getDestination().toLowerCase() : null) .build()) .findFirst(); }