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

org.fisco.bcos.sdk.channel.model.ChannelProtocol Maven / Gradle / Ivy

The newest version!
package org.fisco.bcos.sdk.channel.model;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class ChannelProtocol {
    private int protocol;

    private String nodeVersion;

    @JsonIgnore private EnumChannelProtocolVersion EnumProtocol;

    public String getNodeVersion() {
        return nodeVersion;
    }

    public void setNodeVersion(String nodeVersion) {
        this.nodeVersion = nodeVersion;
    }

    public int getProtocol() {
        return protocol;
    }

    public void setProtocol(int protocol) {
        this.protocol = protocol;
    }

    @JsonIgnore
    public EnumChannelProtocolVersion getEnumProtocol() {
        return EnumProtocol;
    }

    public void setEnumProtocol(EnumChannelProtocolVersion enumProtocol) {
        EnumProtocol = enumProtocol;
    }

    @Override
    public String toString() {
        return "ChannelProtocol [protocol="
                + protocol
                + ", nodeVersion="
                + nodeVersion
                + ", EnumProtocol="
                + EnumProtocol
                + "]";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy