com.recombee.api_client.bindings.Group Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-client Show documentation
Show all versions of api-client Show documentation
A client library for easy use of the Recombee recommendation API
package com.recombee.api_client.bindings;
/*
This file is auto-generated, do not edit
*/
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import java.util.Map;
import java.util.Date;
public class Group extends RecombeeBinding {
/**
* Id of the group
*/
protected String groupId;
public Group () {}
public Group (String groupId) {
this.groupId = groupId;
}
public Group (Map jsonObject) {
this.groupId = (String) jsonObject.get("groupId");
}
public String getGroupId() {
return this.groupId;
}
@Override
public int hashCode() {
return new HashCodeBuilder(17, 31).
append(this.groupId).
toHashCode();
}
@Override
public boolean equals(Object obj) {
if (!(obj instanceof Group))
return false;
if (obj == this)
return true;
Group rhs = (Group) obj;
return new EqualsBuilder().
append(this.groupId, rhs.groupId).
isEquals();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy