com.yahoo.athenz.zms.User Maven / Gradle / Ivy
//
// This file generated by rdl 1.5.2. Do not modify!
//
package com.yahoo.athenz.zms;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.yahoo.rdl.*;
//
// User - The representation for a user
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class User {
public String name;
public User setName(String name) {
this.name = name;
return this;
}
public String getName() {
return name;
}
@Override
public boolean equals(Object another) {
if (this != another) {
if (another == null || another.getClass() != User.class) {
return false;
}
User a = (User) another;
if (name == null ? a.name != null : !name.equals(a.name)) {
return false;
}
}
return true;
}
}