
com.kintone.client.api.app.DeployAppRequest Maven / Gradle / Ivy
// Generated by delombok at Fri Jan 21 13:34:53 JST 2022
package com.kintone.client.api.app;
import com.kintone.client.api.KintoneRequest;
import com.kintone.client.model.app.DeployApp;
import java.util.List;
/**
* A request object for Deploy App API.
*/
public class DeployAppRequest implements KintoneRequest {
/**
* The list of Apps to deploy the pre-live settings to the live Apps (required).
*/
private List apps;
/**
* Specify "true" to cancel all changes made to the pre-live settings (optional).
*/
private Boolean revert;
@java.lang.SuppressWarnings("all")
public DeployAppRequest() {
}
/**
* The list of Apps to deploy the pre-live settings to the live Apps (required).
*/
@java.lang.SuppressWarnings("all")
public List getApps() {
return this.apps;
}
/**
* Specify "true" to cancel all changes made to the pre-live settings (optional).
*/
@java.lang.SuppressWarnings("all")
public Boolean getRevert() {
return this.revert;
}
/**
* The list of Apps to deploy the pre-live settings to the live Apps (required).
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public DeployAppRequest setApps(final List apps) {
this.apps = apps;
return this;
}
/**
* Specify "true" to cancel all changes made to the pre-live settings (optional).
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public DeployAppRequest setRevert(final Boolean revert) {
this.revert = revert;
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 DeployAppRequest)) return false;
final DeployAppRequest other = (DeployAppRequest) o;
if (!other.canEqual((java.lang.Object) this)) return false;
final java.lang.Object this$revert = this.getRevert();
final java.lang.Object other$revert = other.getRevert();
if (this$revert == null ? other$revert != null : !this$revert.equals(other$revert)) return false;
final java.lang.Object this$apps = this.getApps();
final java.lang.Object other$apps = other.getApps();
if (this$apps == null ? other$apps != null : !this$apps.equals(other$apps)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof DeployAppRequest;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $revert = this.getRevert();
result = result * PRIME + ($revert == null ? 43 : $revert.hashCode());
final java.lang.Object $apps = this.getApps();
result = result * PRIME + ($apps == null ? 43 : $apps.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "DeployAppRequest(apps=" + this.getApps() + ", revert=" + this.getRevert() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy