public void Write(TProtocol oprot)
{
TStruct struc = new TStruct("Pathname");
oprot.WriteStructBegin(struc);
TField field = new TField();
if (pathname != null && __isset.pathname)
{
field.Name = "Pathname";
field.Type = TType.String;
field.ID = -1;
oprot.WriteFieldBegin(field);
oprot.WriteString(pathname);
oprot.WriteFieldEnd();
}
oprot.WriteFieldStop();
oprot.WriteStructEnd();
}