
com.kintone.client.model.app.DeployApp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kintone-java-client Show documentation
Show all versions of kintone-java-client Show documentation
API client library for Kintone REST APIs on Java.
// Generated by delombok at Fri Jan 21 13:34:53 JST 2022
package com.kintone.client.model.app;
/**
* An information of the App to deploy the pre-live settings to the live Apps.
*/
public class DeployApp {
/**
* The App ID (required).
*/
private Long app;
/**
* Specify the revision number of the settings that will be deployed (optional).
*/
private Long revision;
@java.lang.SuppressWarnings("all")
public DeployApp() {
}
/**
* The App ID (required).
*/
@java.lang.SuppressWarnings("all")
public Long getApp() {
return this.app;
}
/**
* Specify the revision number of the settings that will be deployed (optional).
*/
@java.lang.SuppressWarnings("all")
public Long getRevision() {
return this.revision;
}
/**
* The App ID (required).
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public DeployApp setApp(final Long app) {
this.app = app;
return this;
}
/**
* Specify the revision number of the settings that will be deployed (optional).
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public DeployApp setRevision(final Long revision) {
this.revision = revision;
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 DeployApp)) return false;
final DeployApp other = (DeployApp) 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$revision = this.getRevision();
final java.lang.Object other$revision = other.getRevision();
if (this$revision == null ? other$revision != null : !this$revision.equals(other$revision)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof DeployApp;
}
@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 $revision = this.getRevision();
result = result * PRIME + ($revision == null ? 43 : $revision.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "DeployApp(app=" + this.getApp() + ", revision=" + this.getRevision() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy