Annotate all serialVersionUID with @Serial
[netconf.git] / apps / netconf-topology-singleton / src / main / java / org / opendaylight / netconf / topology / singleton / messages / netconf / GetConfigWithFieldsRequest.java
1 /*
2  * Copyright © 2020 FRINX s.r.o. 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 com.google.common.collect.ImmutableList;
11 import java.io.Serial;
12 import java.util.List;
13 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
14
15 public class GetConfigWithFieldsRequest extends GetConfigRequest {
16     @Serial
17     private static final long serialVersionUID = 1L;
18
19     private final List<YangInstanceIdentifier> fields;
20
21     public GetConfigWithFieldsRequest(final YangInstanceIdentifier path, final List<YangInstanceIdentifier> fields) {
22         super(path);
23         this.fields = ImmutableList.copyOf(fields);
24     }
25
26     public List<YangInstanceIdentifier> getFields() {
27         return fields;
28     }
29 }