
io.serialized.client.reaction.ReactionRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of serialized-client Show documentation
Show all versions of serialized-client Show documentation
Java Client for Serialized APIs
package io.serialized.client.reaction;
import java.util.UUID;
public class ReactionRequest {
public final String type;
public final UUID tenantId;
private ReactionRequest(Builder builder) {
this.type = builder.type;
this.tenantId = builder.tenantId;
}
public boolean hasTenantId() {
return tenantId != null;
}
public static class Builder {
private final String type;
private UUID tenantId;
public Builder(String type) {
this.type = type;
}
public Builder withTenantId(UUID tenantId) {
this.tenantId = tenantId;
return this;
}
public ReactionRequest build() {
return new ReactionRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy