com.kintone.client.api.space.DeleteSpaceRequest Maven / Gradle / Ivy
// Generated by delombok at Fri Jan 21 13:34:53 JST 2022
package com.kintone.client.api.space;
import com.kintone.client.api.KintoneRequest;
/**
* A request object for Delete Space API.
*/
public class DeleteSpaceRequest implements KintoneRequest {
/**
* The Space ID (required).
*/
private Long id;
@java.lang.SuppressWarnings("all")
public DeleteSpaceRequest() {
}
/**
* The Space ID (required).
*/
@java.lang.SuppressWarnings("all")
public Long getId() {
return this.id;
}
/**
* The Space ID (required).
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public DeleteSpaceRequest setId(final Long id) {
this.id = id;
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 DeleteSpaceRequest)) return false;
final DeleteSpaceRequest other = (DeleteSpaceRequest) o;
if (!other.canEqual((java.lang.Object) this)) return false;
final java.lang.Object this$id = this.getId();
final java.lang.Object other$id = other.getId();
if (this$id == null ? other$id != null : !this$id.equals(other$id)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof DeleteSpaceRequest;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $id = this.getId();
result = result * PRIME + ($id == null ? 43 : $id.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "DeleteSpaceRequest(id=" + this.getId() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy