write method
Writes the objects out to the oprot
protocol.
Implementation
write(TProtocol oprot) {
validate();
oprot.writeStructBegin(_STRUCT_DESC);
if (this.prop != null) {
oprot.writeFieldBegin(_PROP_FIELD_DESC);
oprot.writeBinary(this.prop);
oprot.writeFieldEnd();
}
oprot.writeFieldBegin(_DIRECTION_FIELD_DESC);
oprot.writeI32(this.direction);
oprot.writeFieldEnd();
oprot.writeFieldStop();
oprot.writeStructEnd();
}