com.cx.restclient.dto.Team Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cx-client-common Show documentation
Show all versions of cx-client-common Show documentation
Web client for interaction with Checkmarx SAST, SCA and OSA products
The newest version!
package com.cx.restclient.dto;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
/**
* Created by Galn on 14/02/2018.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class Team {
public String id;
public String fullName;
public Team() {
}
public Team(String id, String fullName) {
this.id = id;
this.fullName = fullName;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (!(o instanceof Team)) return false;
Team team = (Team) o;
if (!getId().equals(team.getId())) return false;
return getFullName().equals(team.getFullName());
}
@Override
public int hashCode() {
int result = getId().hashCode();
result = 31 * result + getFullName().hashCode();
return result;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getFullName() {
return fullName;
}
public void setFullName(String fullName) {
this.fullName = fullName;
}
}