pl.grzeslowski.jsupla.protocol.api.encoders.dsc.ChannelStateEncoder Maven / Gradle / Ivy
package pl.grzeslowski.jsupla.protocol.api.encoders.dsc;
import lombok.val;
import pl.grzeslowski.jsupla.protocol.api.encoders.PrimitiveEncoder;
import pl.grzeslowski.jsupla.protocol.api.structs.dsc.ChannelState;
import static pl.grzeslowski.jsupla.protocol.api.JavaConsts.*;
import static pl.grzeslowski.jsupla.protocol.api.consts.ProtoConsts.*;
@javax.annotation.Generated(value="Struct original name: TDSC_ChannelState", date = "2024-08-03T11:49:42.058Z[Etc/UTC]")
@lombok.NoArgsConstructor(access = lombok.AccessLevel.PRIVATE)
public class ChannelStateEncoder implements pl.grzeslowski.jsupla.protocol.api.encoders.dsc.DeviceServerClientEncoder {
public static final ChannelStateEncoder INSTANCE = new ChannelStateEncoder();
@Override
public byte[] encode(ChannelState proto) {
throw new java.lang.UnsupportedOperationException("Do not support encoding structs with unions!");
//return bytes;
}
}