com.kintone.client.model.app.AppPresetIcon Maven / Gradle / Ivy
// Generated by delombok at Fri Jan 21 13:34:53 JST 2022
package com.kintone.client.model.app;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
/**
* An object that contain information of preset App icon.
*/
@JsonIgnoreProperties(value = "type", allowGetters = true)
public class AppPresetIcon implements AppIcon {
/**
* The key identifier of the icon.
*/
private String key;
/**
* {@inheritDoc}
*/
@Override
public AppIconType getType() {
return AppIconType.PRESET;
}
@java.lang.SuppressWarnings("all")
public AppPresetIcon() {
}
/**
* The key identifier of the icon.
*/
@java.lang.SuppressWarnings("all")
public String getKey() {
return this.key;
}
/**
* The key identifier of the icon.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public AppPresetIcon setKey(final String key) {
this.key = key;
return this;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof AppPresetIcon)) return false;
final AppPresetIcon other = (AppPresetIcon) o;
if (!other.canEqual((java.lang.Object) this)) return false;
final java.lang.Object this$key = this.getKey();
final java.lang.Object other$key = other.getKey();
if (this$key == null ? other$key != null : !this$key.equals(other$key)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof AppPresetIcon;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $key = this.getKey();
result = result * PRIME + ($key == null ? 43 : $key.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "AppPresetIcon(key=" + this.getKey() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy