com.basistech.rosette.apimodel.NameDeduplicationResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rosette-api-all Show documentation
Show all versions of rosette-api-all Show documentation
Babel Street Analytics API all modules combined
The newest version!
// Generated by delombok at Fri Nov 15 11:56:46 CST 2024
/*
* Copyright 2017 Basis Technology Corp.
*
* Licensed 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 com.basistech.rosette.apimodel;
import com.basistech.rosette.annotations.JacksonMixin;
import java.util.List;
/**
* Response data model for the deduplication of a list of names
*/
@JacksonMixin
public class NameDeduplicationResponse extends Response {
/**
*/
private final List results;
@SuppressWarnings("all")
NameDeduplicationResponse(final List results) {
this.results = results;
}
@SuppressWarnings("all")
public static class NameDeduplicationResponseBuilder {
@SuppressWarnings("all")
private List results;
@SuppressWarnings("all")
NameDeduplicationResponseBuilder() {
}
/**
* @return {@code this}.
*/
@SuppressWarnings("all")
public NameDeduplicationResponse.NameDeduplicationResponseBuilder results(final List results) {
this.results = results;
return this;
}
@SuppressWarnings("all")
public NameDeduplicationResponse build() {
return new NameDeduplicationResponse(this.results);
}
@Override
@SuppressWarnings("all")
public String toString() {
return "NameDeduplicationResponse.NameDeduplicationResponseBuilder(results=" + this.results + ")";
}
}
@SuppressWarnings("all")
public static NameDeduplicationResponse.NameDeduplicationResponseBuilder builder() {
return new NameDeduplicationResponse.NameDeduplicationResponseBuilder();
}
/**
* @return name deduplication results
*/
@SuppressWarnings("all")
public List getResults() {
return this.results;
}
@Override
@SuppressWarnings("all")
public boolean equals(final Object o) {
if (o == this) return true;
if (!(o instanceof NameDeduplicationResponse)) return false;
final NameDeduplicationResponse other = (NameDeduplicationResponse) o;
if (!other.canEqual((Object) this)) return false;
if (!super.equals(o)) return false;
final Object this$results = this.getResults();
final Object other$results = other.getResults();
if (this$results == null ? other$results != null : !this$results.equals(other$results)) return false;
return true;
}
@SuppressWarnings("all")
protected boolean canEqual(final Object other) {
return other instanceof NameDeduplicationResponse;
}
@Override
@SuppressWarnings("all")
public int hashCode() {
final int PRIME = 59;
int result = super.hashCode();
final Object $results = this.getResults();
result = result * PRIME + ($results == null ? 43 : $results.hashCode());
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy