public override string ToString()
        {
            StringBuilder __sb = new StringBuilder("MAccelerationConstraint(");

            __sb.Append(", ParentObjectID: ");
            __sb.Append(ParentObjectID);
            if (ParentToConstraint != null && __isset.ParentToConstraint)
            {
                __sb.Append(", ParentToConstraint: ");
                __sb.Append(ParentToConstraint == null ? "<null>" : ParentToConstraint.ToString());
            }
            if (TranslationalAcceleration != null && __isset.TranslationalAcceleration)
            {
                __sb.Append(", TranslationalAcceleration: ");
                __sb.Append(TranslationalAcceleration == null ? "<null>" : TranslationalAcceleration.ToString());
            }
            if (RotationalAcceleration != null && __isset.RotationalAcceleration)
            {
                __sb.Append(", RotationalAcceleration: ");
                __sb.Append(RotationalAcceleration == null ? "<null>" : RotationalAcceleration.ToString());
            }
            if (__isset.WeightingFactor)
            {
                __sb.Append(", WeightingFactor: ");
                __sb.Append(WeightingFactor);
            }
            __sb.Append(")");
            return(__sb.ToString());
        }