
com.kintone.client.model.app.field.RelatedApp Maven / Gradle / Ivy
// Generated by delombok at Fri Jan 21 13:34:53 JST 2022
package com.kintone.client.model.app.field;
/**
* An object containing data of a related App.
*/
public class RelatedApp {
/**
* The App ID of the related App.
*/
private Long app;
/**
* The App Code of the related App.
*/
private String code;
@java.lang.SuppressWarnings("all")
public RelatedApp() {
}
/**
* The App ID of the related App.
*/
@java.lang.SuppressWarnings("all")
public Long getApp() {
return this.app;
}
/**
* The App Code of the related App.
*/
@java.lang.SuppressWarnings("all")
public String getCode() {
return this.code;
}
/**
* The App ID of the related App.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public RelatedApp setApp(final Long app) {
this.app = app;
return this;
}
/**
* The App Code of the related App.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public RelatedApp setCode(final String code) {
this.code = code;
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 RelatedApp)) return false;
final RelatedApp other = (RelatedApp) o;
if (!other.canEqual((java.lang.Object) this)) return false;
final java.lang.Object this$app = this.getApp();
final java.lang.Object other$app = other.getApp();
if (this$app == null ? other$app != null : !this$app.equals(other$app)) return false;
final java.lang.Object this$code = this.getCode();
final java.lang.Object other$code = other.getCode();
if (this$code == null ? other$code != null : !this$code.equals(other$code)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof RelatedApp;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $app = this.getApp();
result = result * PRIME + ($app == null ? 43 : $app.hashCode());
final java.lang.Object $code = this.getCode();
result = result * PRIME + ($code == null ? 43 : $code.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "RelatedApp(app=" + this.getApp() + ", code=" + this.getCode() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy