Annotate all serialVersionUID with @Serial
[netconf.git] / apps / netconf-topology-singleton / src / main / java / org / opendaylight / netconf / topology / singleton / messages / netconf / GetRequest.java
1 /*
2  * Copyright (c) 2020 PANTHEON.tech, s.r.o. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.netconf.topology.singleton.messages.netconf;
9
10 import java.io.Serial;
11 import org.opendaylight.netconf.topology.singleton.messages.transactions.ReadActorMessage;
12 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
13
14 public class GetRequest implements ReadActorMessage {
15     @Serial
16     private static final long serialVersionUID = 1L;
17
18     private final YangInstanceIdentifier path;
19
20     public GetRequest(final YangInstanceIdentifier path) {
21         this.path = path;
22     }
23
24     public YangInstanceIdentifier getPath() {
25         return path;
26     }
27 }