Write this object to the given output protocol and return self.

        :type oprot: thryft.protocol._output_protocol._OutputProtocol
        :rtype: pastpy.gen.database.impl.dbf.dbf_database_configuration.DbfDatabaseConfiguration

def write(self, oprot):
        '''
        Write this object to the given output protocol and return self.

        :type oprot: thryft.protocol._output_protocol._OutputProtocol
        :rtype: pastpy.gen.database.impl.dbf.dbf_database_configuration.DbfDatabaseConfiguration
        '''

        oprot.write_struct_begin('DbfDatabaseConfiguration')

        if self.pp_images_dir_path is not None:
            oprot.write_field_begin(name='pp_images_dir_path', type=11, id=None)
            oprot.write_string(self.pp_images_dir_path)
            oprot.write_field_end()

        if self.pp_install_dir_path is not None:
            oprot.write_field_begin(name='pp_install_dir_path', type=11, id=None)
            oprot.write_string(self.pp_install_dir_path)
            oprot.write_field_end()

        if self.pp_objects_dbf_file_path is not None:
            oprot.write_field_begin(name='pp_objects_dbf_file_path', type=11, id=None)
            oprot.write_string(self.pp_objects_dbf_file_path)
            oprot.write_field_end()

        oprot.write_field_stop()

        oprot.write_struct_end()

        return self