@Override
      public void write(org.apache.thrift.protocol.TProtocol oprot, notifyAboutMagic_args struct) throws org.apache.thrift.TException {
        struct.validate();

        oprot.writeStructBegin(STRUCT_DESC);
        if (struct.commands != null) {
          oprot.writeFieldBegin(COMMANDS_FIELD_DESC);
          {
            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.commands.size()));
            for (java.lang.String _iter103 : struct.commands)
            {
              oprot.writeString(_iter103);
            }
            oprot.writeListEnd();
          }
          oprot.writeFieldEnd();
        }
        oprot.writeFieldBegin(IS_AUTO_MAGIC_FIELD_DESC);
        oprot.writeBool(struct.isAutoMagic);
        oprot.writeFieldEnd();
        oprot.writeFieldStop();
        oprot.writeStructEnd();
      }
@Override
      public void write(org.apache.thrift.protocol.TProtocol oprot, notifyAboutMagic_args struct)