All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.rapaio.jupyter.kernel.message.messages.CustomCommClose Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy