com.kintone.client.api.app.GetAppCustomizePreviewResponseBody 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.KintoneResponseBody;
import com.kintone.client.model.app.CustomizeBody;
import com.kintone.client.model.app.CustomizeScope;
/**
* A response object for Get App Customize Preview API.
*/
public final class GetAppCustomizePreviewResponseBody implements KintoneResponseBody {
/**
* The scope of customization *
*/
private final CustomizeScope scope;
/**
* An object containing data of JavaScript and CSS files for the desktop.
*/
private final CustomizeBody desktop;
/**
* An object containing data of JavaScript and CSS files for the mobile.
*/
private final CustomizeBody mobile;
/**
* The revision number of the app settings.
*/
private final long revision;
@java.beans.ConstructorProperties({"scope", "desktop", "mobile", "revision"})
@java.lang.SuppressWarnings("all")
public GetAppCustomizePreviewResponseBody(final CustomizeScope scope, final CustomizeBody desktop, final CustomizeBody mobile, final long revision) {
this.scope = scope;
this.desktop = desktop;
this.mobile = mobile;
this.revision = revision;
}
/**
* The scope of customization *
*/
@java.lang.SuppressWarnings("all")
public CustomizeScope getScope() {
return this.scope;
}
/**
* An object containing data of JavaScript and CSS files for the desktop.
*/
@java.lang.SuppressWarnings("all")
public CustomizeBody getDesktop() {
return this.desktop;
}
/**
* An object containing data of JavaScript and CSS files for the mobile.
*/
@java.lang.SuppressWarnings("all")
public CustomizeBody getMobile() {
return this.mobile;
}
/**
* The revision number of the app settings.
*/
@java.lang.SuppressWarnings("all")
public long getRevision() {
return this.revision;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof GetAppCustomizePreviewResponseBody)) return false;
final GetAppCustomizePreviewResponseBody other = (GetAppCustomizePreviewResponseBody) o;
if (this.getRevision() != other.getRevision()) return false;
final java.lang.Object this$scope = this.getScope();
final java.lang.Object other$scope = other.getScope();
if (this$scope == null ? other$scope != null : !this$scope.equals(other$scope)) return false;
final java.lang.Object this$desktop = this.getDesktop();
final java.lang.Object other$desktop = other.getDesktop();
if (this$desktop == null ? other$desktop != null : !this$desktop.equals(other$desktop)) return false;
final java.lang.Object this$mobile = this.getMobile();
final java.lang.Object other$mobile = other.getMobile();
if (this$mobile == null ? other$mobile != null : !this$mobile.equals(other$mobile)) return false;
return true;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int PRIME = 59;
int result = 1;
final long $revision = this.getRevision();
result = result * PRIME + (int) ($revision >>> 32 ^ $revision);
final java.lang.Object $scope = this.getScope();
result = result * PRIME + ($scope == null ? 43 : $scope.hashCode());
final java.lang.Object $desktop = this.getDesktop();
result = result * PRIME + ($desktop == null ? 43 : $desktop.hashCode());
final java.lang.Object $mobile = this.getMobile();
result = result * PRIME + ($mobile == null ? 43 : $mobile.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "GetAppCustomizePreviewResponseBody(scope=" + this.getScope() + ", desktop=" + this.getDesktop() + ", mobile=" + this.getMobile() + ", revision=" + this.getRevision() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy