2 * Copyright (c) 2017 Inocybe Technologies and others. All rights reserved.
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
8 package org.opendaylight.netconf.sal.restconf.impl.jmx;
11 private Delete delete;
19 public Delete getDelete() {
23 public void setDelete(Delete delete) {
27 public Post getPost() {
31 public void setPost(Post post) {
39 public void setGet(Get get) {
47 public void setPut(Put put) {
52 public int hashCode() {
53 return java.util.Objects.hash(delete, post, get, put);
58 public boolean equals(Object obj) {
62 if (obj == null || getClass() != obj.getClass()) {
65 final Config that = (Config) obj;
66 if (!java.util.Objects.equals(delete, that.delete)) {
70 if (!java.util.Objects.equals(post, that.post)) {
74 if (!java.util.Objects.equals(get, that.get)) {
78 return java.util.Objects.equals(put, that.put);