write method
Writes the objects out to the oprot
protocol.
Implementation
write(TProtocol oprot) {
validate();
oprot.writeStructBegin(_STRUCT_DESC);
if (this.result != null) {
oprot.writeFieldBegin(_RESULT_FIELD_DESC);
this.result?.write(oprot);
oprot.writeFieldEnd();
}
if (isSetDsts()) {
if (this.dsts != null) {
oprot.writeFieldBegin(_DSTS_FIELD_DESC);
this.dsts?.write(oprot);
oprot.writeFieldEnd();
}
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}