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

org.rapaio.jupyter.kernel.message.messages.CustomCommOpen 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 CustomCommOpen(
        @SerializedName("comm_id") String commId,
        @SerializedName("target_name") String targetName,
        @JsonAdapter(IdentityJsonElementAdapter.class) JsonObject data) implements ContentType {

    @Override
    public MessageType type() {
        return MessageType.CUSTOM_COMM_OPEN;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy