write method
Writes the objects out to the oprot
protocol.
Implementation
write(TProtocol oprot) {
validate();
oprot.writeStructBegin(_STRUCT_DESC);
if (this.part_list != null) {
oprot.writeFieldBegin(_PART_LIST_FIELD_DESC);
{
oprot.writeListBegin(new TList(TType.I32, this.part_list?.length));
for (var elem151 in this.part_list ?? []) {
oprot.writeI32(elem151);
}
oprot.writeListEnd();
}
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}