/*
 * Copyright 2010-2014 Ning, Inc.
 * Copyright 2014-2020 Groupon, Inc
 * Copyright 2020-2020 Equinix, Inc
 * Copyright 2014-2020 The Billing Project, LLC
 *
 * The Billing Project licenses this file to you under the Apache License, version 2.0
 * (the "License"); you may not use this file except in compliance with the
 * License.  You may obtain a copy of the License at:
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
 * License for the specific language governing permissions and limitations
 * under the License.
 */

package org.killbill.billing.client.model;


import java.util.List;

import javax.annotation.Nullable;

import org.killbill.billing.client.model.gen.AuditLog;

public abstract class KillBillObject {

    protected List<AuditLog> auditLogs;

    public KillBillObject() {
        this(null);
    }

    public KillBillObject(@Nullable final List<AuditLog> auditLogs) {
        this.auditLogs = auditLogs;
    }

    public List<AuditLog> getAuditLogs() {
        return auditLogs;
    }

    public void setAuditLogs(final List<AuditLog> auditLogs) {
        this.auditLogs = auditLogs;
    }
}

@@ -819,16 +819,42 @@
 il.List;
+%0Aimport java.util.Objects;
 %0A%0Aimport
@@ -1369,11 +1369,421 @@
 s;%0A    %7D
+%0A%0A    @Override%0A    public boolean equals(final Object o) %7B%0A        if (this == o) %7B%0A            return true;%0A        %7D%0A        if (!(o instanceof KillBillObject)) %7B%0A            return false;%0A        %7D%0A        final KillBillObject that = (KillBillObject) o;%0A        return Objects.equals(auditLogs, that.auditLogs);%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        return Objects.hash(auditLogs);%0A    %7D
 %0A%7D%0A

add equals/hashCode