org.rapaio.jupyter.kernel.message.messages.CustomCommClose Maven / Gradle / Ivy
package org.rapaio.jupyter.kernel.message.messages;
import org.rapaio.jupyter.kernel.message.ContentType;
import org.rapaio.jupyter.kernel.message.adapters.IdentityJsonElementAdapter;
import org.rapaio.jupyter.kernel.message.MessageType;
import com.google.gson.JsonObject;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
public record CustomCommClose(
@SerializedName("comm_id") String commId,
@JsonAdapter(IdentityJsonElementAdapter.class) JsonObject data) implements ContentType {
@Override
public MessageType type() {
return MessageType.CUSTOM_COMM_CLOSE;
}
}