write method
Writes the objects out to the oprot
protocol.
Implementation
write(TProtocol oprot) {
validate();
oprot.writeStructBegin(_STRUCT_DESC);
if (this.username != null) {
oprot.writeFieldBegin(_USERNAME_FIELD_DESC);
oprot.writeBinary(this.username);
oprot.writeFieldEnd();
}
if (this.password != null) {
oprot.writeFieldBegin(_PASSWORD_FIELD_DESC);
oprot.writeBinary(this.password);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}