Bump versions to 4.0.0-SNAPSHOT
[netconf.git] / restconf / restconf-nb-bierman02 / src / main / java / org / opendaylight / netconf / sal / restconf / impl / jmx / Delete.java
1 /*
2  * Copyright (c) 2017 Inocybe Technologies 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.sal.restconf.impl.jmx;
9
10 import java.math.BigInteger;
11
12 public class Delete {
13     private BigInteger successfulResponses;
14
15     private BigInteger receivedRequests;
16
17     private BigInteger failedResponses;
18
19     public BigInteger getSuccessfulResponses() {
20         return successfulResponses;
21     }
22
23     public void setSuccessfulResponses(BigInteger successfulResponses) {
24         this.successfulResponses = successfulResponses;
25     }
26
27     public BigInteger getReceivedRequests() {
28         return receivedRequests;
29     }
30
31     public void setReceivedRequests(BigInteger receivedRequests) {
32         this.receivedRequests = receivedRequests;
33     }
34
35     public BigInteger getFailedResponses() {
36         return failedResponses;
37     }
38
39     public void setFailedResponses(BigInteger failedResponses) {
40         this.failedResponses = failedResponses;
41     }
42
43     @Override
44     public int hashCode() {
45         return java.util.Objects.hash(successfulResponses, receivedRequests, failedResponses);
46
47     }
48
49     @Override
50     public boolean equals(Object obj) {
51         if (this == obj) {
52             return true;
53         }
54         if (obj == null || getClass() != obj.getClass()) {
55             return false;
56         }
57         final Delete that = (Delete) obj;
58         if (!java.util.Objects.equals(successfulResponses, that.successfulResponses)) {
59             return false;
60         }
61
62         if (!java.util.Objects.equals(receivedRequests, that.receivedRequests)) {
63             return false;
64         }
65
66         return java.util.Objects.equals(failedResponses, that.failedResponses);
67
68     }
69 }